![]() This lets you continue package development on planes. If you want to skip the portion of a package check where R connects to CRAN (because you’re behind a proxy or you don’t have an internet connection) run rcmdcheck::rcmdcheck(repos = FALSE).Thank you to the #rstats Twitter for helping me out with this one! This partially hides the documentation from regular users, while still allowing interested users and developers to access it. Use the internal Roxygen tag for documented internal functions, that is, functions without an tag.After that first command, however, devtools::check() started documenting. This isn’t always obvious for a brand new package, so I found that I had to run devtools::document() initially. Running devtools::check() (as opposed to R CMD CHECK) will automatically run devtools::document() before the package check if devtools can see that you’re using Roxygen.For every call afterwards, that package has already been loaded. ![]() ![]() R loads the package on the first use of a double colon function, but doesn’t attach it.
0 Comments
Leave a Reply. |