CRAN Package submission - R CMD Checks

2020-07-18 10:20发布

I was building a package that I wanted to submit to CRAN. I completed R CMD checks (using devtools::check()) and ensured that I fix all errors, warnings and notes before I build my package (devtools::build) and then submit the resulting tar.gz file to CRAN.

However, apparently, the package failed the R CMD checks at CRAN (There was one note and one error, as per their mail). Now my question was, why wasn't this picked up when I ran the checks at my end?

To provide some specifics - One of the notes was regarding the usage of a few functions from stats package. I hadn't specifically imported these functions in my namespace.

While this seems to be an easy enough fix, it's mildly irritating (I would have ideally expected to find this while I was running my checks)

How can I avoid such situations in the future?

Thanks!

标签: r cran
0条回答
登录 后发表回答