If you truly require stats>=3.4 you will need to also specify R>=3.4. If you don't require that version of stats then just remove the version specification.
You are getting errors only on r-oldrel which runs older versions of R so it doesn't have access to stats>=3.4. With a specification on the minimum version of R it would know not to run on those and you won't get the errors. -Dason Kurkiewicz On Jul 20, 2017 11:43 AM, "Jernej Jevšenak" <jernej.jevse...@gmail.com> wrote: > Hi, > > recently, my first R package dendroExtra > <https://cran.r-project.org/package=dendroExtra> was accepted on CRAN. I > still must fix one problem that is given by CRAN checks > <https://cran.r-project.org/web/checks/check_results_dendroExtra.html>. > > It says: Package required and available but unsuitable version: 'stats'. > > I see that probable I did not correctly import the stats package. If I > remove the 'stats' package, I get an error in R CMD check. Is there any > suggestion how to properly solve the issue? How to properly import stats > package? > > > Thank you for your help. > > > Bests, Jernej > > [[alternative HTML version deleted]] > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel