Reputation: 88
I recently submitted a package to CRAN and received the following errors.
WARNING: ignoring environment value of R_HOME
checking for code which exercises the package ... WARNING No examples, no tests, no vignettes
I ran R CMD check --as-cran using R 3.0.2 on OSX and the only note reported was 'New submission'. No warnings were reported.
Is there an alternate way to run all of the tests that CRAN will run on a package before submitting it?
Upvotes: 2
Views: 1513
Reputation: 365
There are several ways to test the package in different os.
devtools::check_rhub() # All os
devtools::check_win_devel() # windows
devtools::check_win_release() # windows
devtools::check_win_oldrelease() # windows
Or with continuous integration:
usethis::use_github_actions() # all os
usethis::use_travis() # osx and linux
usethis::use_appveyor() # windows
usethis::use_circleci()
There are way more, but these are the most famous.
Upvotes: 2
Reputation: 181
Yes. By using win builder
http://win-builder.r-project.org/upload.aspx
You just have to upload your source files and you will get the results in email within 5-10 minutes.
Note: Don't forget to mention your email in maintainer field
Upvotes: 0