NEWS.md
find_remotes()
now informs when using “r-universe” repositories.check_if_suggests_is_installed
in att_amend_desc()
allow not to check if suggested package is installed. (thanks to @yogat3ch)create_renv_for_prod()
dont look anymore for suggested packagesfind_remotes()
and set_remotes_to_desc()
now detects github, gitlab, git, bitbucket, local installations to add to the “Remotes:” part of the DESCRIPTION file (@MurielleDelmotte)att_from_qmds()
as an alias of att_from_rmds()
.att_amend_desc()
#52create_renv_for_dev()
and create_renv_for_prod()
function to create renv.lock
file based on development project (@VincentGuyader and @statnmap).att_from_rmds()
.att_amend_desc()
now saves file before processing\n
will not interfere with package discoveryatt_to_desc_from_is()
can now run with must.exist = FALSE
to be used to fill DESCRIPTION file during bookdown CI process. CI YAML files must be updated with this parameter.set_remotes_to_desc()
att_from_rscripts()
att_amend_desc(document = TRUE)
att_amend_desc()
att_from_namespace()
att_from_rmd()
Breaking changes * att_to_description()
deprecated in favor of att_amend_desc()
to be first in autocompletion list, as this is the most used function of this package. * att_from_rmd()
gets parameter inline = TRUE
by default to explore calls for packages in inline R code. * att_from_rmd()
and att_from_rmds()
are not anymore executed in separate R session by default. You must set inside_rmd = TRUE
to do so.
Minor * Add find_remotes()
to help fill Remotes field in DESCRIPTION * att_to_desc_from_is()
add parameter normalize
to avoid problem with {desc}. (See https://github.com/r-lib/desc/issues/80)
att_amend_desc()
is an alias for att_to_description()
att_desc_from_is()
amends DESCRIPTION file from imports/suggests vector of packagesatt_to_desc_from_pkg()
is an alias for att_to_description()
att_to_description()
shows packages added/removed from DESCRIPTIONatt_to_description()
deals with dependencies in tests/ directoryatt_from_rmds()
allows user defined regex to detect Rmd filesatt_from_rmd
adds a temporary encoding parameter as knitr::purl
will only deal with UTF-8 in the future. Parameter not added in att_from_rmds
.att_to_description
if {covr} is needed, should be added in parameter extra.suggests
att_to_description
has a parameter ‘dir.t’ to extract suggests dependencies from test directory Available by default
att_to_description
allows for ‘LinkingTo’ field in DESCRIPTION with a messageatt_from_rmd
now reads yaml headeratt_from_rmd
use purl
to extract R code in an other R session using system("Rscript -e ''")
att_from_rmd
: add warn
option to allow hide messages from purl()
att_to_description
accept parameter path
for package not being the current projectatt_to_description
no error if NAMESPACE is emptycreate_dependencies_file
filters base packages that cannot be installedatt_to_description
deals with Remote dependenciesatt_to_description
deals with Depends dependenciesatt_to_description
keeps versions of packages previously addedatt_to_description
removes option for automatic pkg versioncreate_dependencies_file
deals with github Remotesatt_from_rmds
now accept a vector of Rmd filenamesatt_to_description(add_version = TRUE)
adds version of package in DESCRIPTIONatt_to_description(pkg_ignore)
adds possibility to ignore some packagesinstall_from_description
to install all missing packages listed in the description fileatt_to_description
create_dependencies_file
to create a file listing all packages dependencies to install before your packagepkg::fun
calls in R scripts with att_from_functions
devtools::document()
before att_from_description