Hi Jernej,

The check errors you get are for older releases of R (3.3.2 and 3.3.3). The 
issue arises from your requirement in DESCRIPTION that the version of stats 
should be 3.4.0. Therefore, the solution to your problem depends on whether you 
really need this requirement on the version of stats or not: if you don't, 
simply lower the requirements to whatever you need; if you do, then this check 
error is valid, in the sense that you don't want users to use your package if 
they don't have the appropriate version of the stats package.


Note that if the latter applies, you should probably change your requirement on 
the version of R itself: currently you're requiring 3.1, which clashes with 
you're requiring 3.4 for stats.


Best,

Max

________________________________
From: R-package-devel <r-package-devel-boun...@r-project.org> on behalf of 
Jernej Jev�enak <jernej.jevse...@gmail.com>
Sent: July 20, 2017 2:01:31 AM
To: r-package-devel@r-project.org
Subject: [R-pkg-devel] Package required and available but unsuitable version: 
'stats'

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

Reply via email to