You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are references describing the methods in your package, please
add these in the description field of your DESCRIPTION file in the form
authors (year) doi:...
authors (year, ISBN:...)
or if those are not available: https:...
with no space after 'doi:', 'https:' and angle brackets for
auto-linking. (If you want to add a title as well please put it in
quotes: "Title")
For more details: https://contributor.r-project.org/cran-cookbook/description_issues.html#references
\dontrun{} should only be used if the example really cannot be executed
(e.g. because of missing additional software, missing API keys, ...) by
the user. That's why wrapping examples in \dontrun{} adds the comment
("# Not run:") as a warning for the user. Does not seem necessary.
Please replace \dontrun with \donttest.
Please unwrap the examples if they are executable in < 5 sec, or replace
dontrun{} with \donttest{}.
Please never wrap examples is if(FALSE).
For more details: https://contributor.r-project.org/cran-cookbook/general_issues.html#structuring-of-examples
You are using installed.packages() in your code. As mentioned in the
notes of installed.packages() help page, this can be very slow.
Therefore do not use installed.packages().
"This needs to read several files per installed package, which will be
slow on Windows and on some network-mounted file systems. It will be
slow when thousands of packages are installed, so do not use it to find
out if a named package is installed (use find.package or system.file)
nor to find out if a package is usable (call requireNamespace or require
and check the return value) nor to find details of a small number of
packages (use packageDescription)." [installed.packages() help page]
-> R/tool-session-package-installed.R; R/btw-package.R
For more details: https://contributor.r-project.org/cran-cookbook/code_issues.html#calling-installed.packages
Activity
simonpcouch commentedon Oct 23, 2025
it's lit
gadenbuie commentedon Oct 30, 2025