[R-pkg-devel] Package required and available but unsuitable version: 'stats'

Dason Kurkiewicz dasonk at gmail.com
Thu Jul 20 17:54:49 CEST 2017

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

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

-Dason Kurkiewicz

On Jul 20, 2017 11:43 AM, "Jernej Jevšenak" <jernej.jevsenak at gmail.com>

> 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 at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list