Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix R CMD CHK on 3.x R versions #320

Closed
mbjones opened this issue Mar 9, 2021 · 1 comment
Closed

Fix R CMD CHK on 3.x R versions #320

mbjones opened this issue Mar 9, 2021 · 1 comment

Comments

@mbjones
Copy link
Member

mbjones commented Mar 9, 2021

We are seeing failures in the tests for older versions of R on ubuntu through CI tests because the suggested package taxadb is not available. The error is: Error: Package suggested but not available: ‘taxadb’.

Discussing with @cboettig on slack, he said:

taxadb is just a Suggested package, requiring R 4.x would be too much. Uwe at CRAN suggested we switch taxadb from rappdirs to tools::R_user_dir() because it plays nicer with CRAN policies (but was only added to tools in R > 4.0)

adding a check for skipping those checks on earlier R versions would be best I think

So, the proposal is to skip those checks for now on CRAN. Alternatively, we could switch to using tools::R_user_dir() but only if we are willing to increase our minimum version to R > 4.0.

@cboettig
Copy link
Member

done in #321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants