0 errors | 0 warnings | 1 note
- This is a new release.
In response to the previous review, we made the following changes.
-
DESCRIPTION(software names): In the title and description, package, API, and software names are now in single quotes, with correct spelling and case (for example'Excel','sf','lintr'), as required by the CRAN guide. -
.Rddocumentation (\valueand\arguments): We added@returnssections (rendered as\value{...}) for exported functions that were missing them, describing the class or structure of the output and what it means; for functions that exist only for side effects we document explicitly that there is no return value. For the%>%pipe operator we added@paramand@returnsinR/utils-pipe.R. -
Examples (
\dontrun/\donttest): We replaced\dontrun{}with\donttest{}for examples that need not be fully excluded from checking, in line with CRAN policy. We keep\donttest{}where an example depends on the network, runtime, or an interactive session. -
Console output (
print/cat): We reduced use ofprint()/cat()for incidental informational output: for example,ipak()usesmessage()to suggest install commands when a package is not installed and returns a summarydata.frameinvisibly, whileadd_gitignore()usesmessage()when showing the contents of an existing.gitignore. The fileR/setup_lintr.Ris no longer part of the submitted package source. -
installed.packages(): We removed calls toinstalled.packages(). InR/ipak.R, the installed check usesnzchar(system.file(package = ...)). Ininst/xlsx-examples.R, required packages are verified withrequireNamespace(..., quietly = TRUE)beforestop()with instructions for manual installation. -
Installing packages in functions, examples, and vignettes:
ipak()no longer runsinstall.packages()orremotes::install_github(); it only loads what is already installed and suggests commands viamessage()for the user to run outside the function. The script ininst/xlsx-examples.Ronly loads packages that are already present and stops with a clear message if a dependency is missing, without installing anything during execution. -
Local checks:
R CMD checkwas run locally (including--as-cran) with no errors, warnings, or notes.