use_pipe now defaults to FALSE. The native
pipe operator |> (available since R 4.1.0) is
recommended instead of the magrittr pipe %>%."travis", "circle", and
"appveyor" have been removed. Only
"gh-actions" (GitHub Actions) is supported.copyright_holder parameter
(matching usethis >= 2.0).use_renv and use_targets now default to
TRUE — projects are workflow-oriented by default.open_proj now defaults to FALSE — open the
.Rproj file manually after creation to avoid RStudio
session conflicts.orcid parameter for including the author’s ORCID iD
in CITATION.cff.data-raw/ for documenting data provenance (source, license,
download date, DOI).ci = "gh-actions".use_git parameter to initialize a local git
repository without creating a GitHub repo.use_renv = TRUE (default) initializes renv with
lockfile and .Rprofile bootstrap for dependency management (using
snapshot.type = "explicit").use_targets = TRUE (default) adds a
_targets.R pipeline template for reproducible workflow
management.use_docker parameter to add a
Dockerfile template for reproducible computational
environments.match.arg() for
add_license and ci parameters."my_project") are now accepted — the R package name
is auto-sanitized (e.g. my.project in DESCRIPTION). New
helper sanitize_pkg_name()._targets.R template with
tar_source(), numbered steps matching the official targets
manual, and format = "file" example.create_package() from triggering RStudio’s
“switch project?” dialog by deferring .Rproj file
creation.use_git() interactive prompts (commit
confirmation, session restart) via
rlang_interactive = FALSE.restart = FALSE to renv::init() to
prevent RStudio session restart during project creation.setwd handling: setwd = FALSE
in RStudio (avoids project switch dialog), setwd = TRUE
outside RStudio (required for usethis functions under R CMD check).create_package() failures in
terminal/Rscript sessions are caught with tryCatch and fall
back to manual package structure creation.renv::init() to prevent rstudioapi and other
packages from becoming unavailable.@param add_license
documentation.@param ci incorrectly documented as “Logical” (is
Character).github,
private.repo).@details referencing old parameter name
github.Maintainer field (already specified
via Authors@R).LazyData: true (package contains no data)./blob/master/ to
/blob/main/.use_apl2_license() replaced
with use_apache_license(), name parameter
replaced with copyright_holder.switch() instead of repeated
if statements.on.exit().create_proj() function.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.