Skip to content

Latest commit

 

History

History
87 lines (59 loc) · 3.16 KB

File metadata and controls

87 lines (59 loc) · 3.16 KB

R CMD check results

0 errors | 0 warnings | 0 notes

Reviewer comments

This is a resubmission in response to the review by Konstanze Lauseker.

Writing to home filespace

All functions that previously defaulted to path = "." now use path = NULL as the default parameter. The following functions were updated:

  • use_zzz()
  • add_global_rbuildignore()
  • news_md_check(), news_md_show(), news_md_add_entry()
  • use_hexsticker(), use_workflow_version_update()
  • use_vendor(), use_multilanguage_readme()
  • package_lost_glue_brace(), package_print_and_cat()
  • package_func_call_explicit(), package_func_arg_explicit()
  • Internal helpers: vendor_declare_source_license(), vendor_create_r_file(), vendor_update_desc(), get_package_name()

All examples and tests write to tempdir() or tempfile() only, and all temporary files are properly cleaned up (using withr::local_tempdir(), withr::local_tempfile(), or on.exit(unlink(...))).

Test results

All 1129 tests pass with 0 failures (devtools::test()).


Previous responses (for historical reference)

R CMD check results (previous submission)

1. Description and Title

The Description no longer starts with wording similar to the Title. The single quotes around 'R' in the Title have been removed to be consistent with the Description text, which uses R without quotes.

2. Missing \value tags in .Rd files

Added @return roxygen documentation for is_dev_context(), imported_functions(), and current_packages() in R/vendor-pedant.R. man/current_packages.Rd now includes a \value section describing the return value of each exported function.

3. \dontrun{} replaced with \donttest{}

Replaced \dontrun{} with \donttest{} in all examples except for three functions that genuinely require external software or API keys:

  • browse_standalone() — requires GitHub API authentication
  • inquire_standalone() — queries the GitHub API
  • air_format() — requires the external air binary
  • news_md_check(), news_md_add_entry(), news_md_show(), check_pkgdown_reference, use_workflow_version_update(), use_zzz() - requires R package usethis

4. cat() replaced with message()

In R/14_detect_lost_glue_brace.R, the cat() call (and the adjacent cli::cli_text("")) has been replaced with message(), which is the recommended approach for informational messages that can be suppressed.

5. Writing to home filespace / getwd()

All functions that previously used getwd() (or the internal get_wd() helper) as a default path fallback now use path = "." as the default parameter value. Specifically:

  • news_md_add_entry(), news_md_check(), news_md_show(): changed path = NULL + getwd() fallback → path = "."
  • use_workflow_version_update(), use_hexsticker(): changed path = NULL + getwd() fallback → path = "."
  • create_standalone(): changed path = NULL + get_wd() fallback → path = "."
  • Internal get_wd() function: fallback changed from getwd() to "."

In examples and vignettes, tempdir() is used where file writing is needed.

Test results

All 675 tests pass with 0 failures (devtools::test()).