convert_pipe() and package_convert_pipe() to switch pipe operators
between the tidyverse pipe %>% and the base pipe |>. Strings, comments,
and raw strings are left unchanged, as are the placeholder pipe %<>% and
the exposition pipe %$%.rename_func() gains a num_to_word argument that expands digit
abbreviations in function names into words, defaulting to
c("for" = 4, "to" = 2). With the default mapping list2env() becomes
list_to_env() and wait4result() becomes wait_for_result(), and the
expanded words are formatted following the style argument, e.g.
list2env() becomes listToEnv() under style = "camelCase". The argument
accepts a named vector, NULL, or FALSE; any other input is an error. Only
digit runs present in the mapping are expanded, so identifiers such as
scale_x_log10() are left untouched.make_func_call_explicit(), package_func_call_explicit(), and
add_double_colons() no longer truncate function names that contain digits.
Function calls such as r2dtable() and scale_x_log10() were matched only
from their longest digit-free suffix (r2dtable() was treated as dtable()),
which either produced invalid namespacing or triggered a spurious
"Couldn't find packages exporting" warning.starwars from dplyr will be
detected.make_func_arg_explicit() and
package_func_arg_explicit(): large files are now planned several times
faster, because the parse table is indexed once and child nodes are looked up
in constant time instead of being rescanned for every node. Planning a whole
package therefore no longer grows quadratically with its size.convert_int_literals() and package_convert_int_literals() no longer
rewrite the exponent of a numeric literal such as 1e-3 / 1E-3, which
previously produced invalid code like 1e-3L.check_air_installed() now offers to install air in interactive sessions
when it is missing, skipping the prompt during tests. On macOS it now uses
the official installer script instead of Homebrew or uv.loaded [12.34 ms])
instead of showing a progress spinner, and the same template is used by
use_zzz().badge_to_readme() to insert a Markdown badge into the badges block of
README.Rmd or README.md.GLOBAL_RBUILDIGNORE_PATTERN and PERMISSIVE_LICENSE
constants for customizing package-maintenance workflows.add_global_gitgnore() now correctly updates a package specified with an
absolute path.use_vendor() now adds only people with an aut or cre role to
Authors@R.package_convert_int_literals() now skips automatically generated
RcppExports.R files, which should not be edited manually.add_global_rbuildignore() now supports supplying custom patterns and
replacing its default pattern set.use_vendor() records vendored-code authors as contributors and copyright
holders, rather than package authors.detect_* and package_* functions.R-CMD-check.yaml succeeds
for a push to main or master, and syncs the exact checked commit.convert_int_literals(), package_convert_int_literals(), and
convert_func_syntax() now forward ... to rlang::check_dots_empty0().
Previously the call was made without ..., so the documented "... must be
empty" check was a no-op and extra arguments were silently ignored.use_bugreports() — sets the BugReports field of a package's
DESCRIPTION file, defaulting to the GitHub issues page detected from
the git remote.use_url() — sets the URL field of a package's DESCRIPTION
file, defaulting to the GitHub repository detected from the git remote,
with an optional pkgdown website URL.make_func_call_explicit() (and add_double_colons()) no longer add ::
to function calls inside comments or roxygen2 documentation. Comments
(including #' roxygen2 lines and trailing comments) are now left
untouched.colorful_cli.use_zzz with a spinner loading animation.open_cffinit() — opens the CFF initializer in a browser to generate
CITATION.cff files.standalone-purrr in standalone-args_to_func.R.add_changelog_in_standalone().filter_args_for_func() in
standalone-args_to_func.R.convert_nonascii_code()use_vendor() to make it fully comply standalone header formatAdded use_workflow_test_branch(), which can create a test branch for maintaining R pkg. This branch will sync
Added convert_noascii_code() to convert non-ascii code to ascii code, complying with CRAN requirements
add_changelog_in_standalone(): Fixed a bug when retrieving Changelog badgeFixed dots checking error in browse_standalone()
Fixed .gitignore not found error in vendor-pkgdev.R, this bug is from source code of pkgdev
add_changelog_in_standalone() when modifying vendor-*.Ruse_r_v4.1.0()path = "." to path = NULL because of CRAN requirementsuse_vendor(). Relevant files are also updated.%||% function in use_zzz()make_func_arg_explicit() when resolving complex R syntaxMade use_zzz() compatible with usethis
Added cov ignorance in use_zzz()
convert_func_syntax()Changed default file name created by use_zzz() to
Bug fix in use_workflow_version_update()
make check_pkgdown_reference() easy to copy
Fixed lints
Added package_*, some package-wise functions
Added make_func_arg_explicit()
Imported add_global_gitignore from pkgdev, under license MIT
Added add_global_rbuildignore() to supplement .Rbuildignore with common build-exclusion patterns
Added use_vendor(),use_multilanguage_readme()
use_workflow_version_update()render_rmd()Added use_zzz() for easier zzz.R management
Bump verion to v0.1
Added basic color support to news_md_show()
Added dependency, description and nocov tag in create_standalone()
Fixed pattern detection of detect_lost_glue_brace() when resolving contexts with more than one lines. Added more detailed info in output
Add more options for changelog type in NEWS.md
Add more tests
Added browse_standalone() to inquire all available standalone R files across github
Added rename_func to change the naming style of functions
detect_lost_glue_braceMade news_md_add_entry vectorized
Made inquire_standalone more explicit
Made use_hexsticker operate on README.Rmd. Added detect_lost_glue_brace