0 errors | 0 warnings | 0 notes
This is a resubmission. Version 0.1.12.
- Added
open_cffinit()— opens the CFF initializer in a browser to generateCITATION.cfffiles.
- Removed redundant dependency
standalone-purrrinstandalone-args_to_func.R. - Beautified the changelog format in standalone files created by
add_changelog_in_standalone(). - Added community files (CONTRIBUTING.md, SUPPORT.md, issue template).
- Added informative message when opening CFF initializer.
- Fixed an error in examples of
filter_args_for_func()instandalone-args_to_func.R.
All 1182 tests pass with 0 failures (devtools::test()).
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(...))).
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.
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.
Replaced \dontrun{} with \donttest{} in all examples except for three
functions that genuinely require external software or API keys:
browse_standalone()— requires GitHub API authenticationinquire_standalone()— queries the GitHub APIair_format()— requires the externalairbinarynews_md_check(),news_md_add_entry(),news_md_show(),check_pkgdown_reference,use_workflow_version_update(),use_zzz()- requires R packageusethis
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.
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(): changedpath = NULL+getwd()fallback →path = "."use_workflow_version_update(),use_hexsticker(): changedpath = NULL+getwd()fallback →path = "."create_standalone(): changedpath = NULL+get_wd()fallback →path = "."- Internal
get_wd()function: fallback changed fromgetwd()to"."
In examples and vignettes, tempdir() is used where file writing is needed.