- Added functions to set and remove general level of messaging as option variable
verbose_level_staged.deps
. - Added
argument_convention.R
with default parameter definitions.
- Replaced internal function that checks directory existence with assertion from
checkmate
when there is no prefix.
- Enhanced support of subdirectories for gitlab.
- Support subdirectories in configuration.
- Remove
renv
files and clean the project in that regard.
- Updated code for changes in
tidyselect 1.2.0
. - Fixed issue with storage directory being overwritten if set by user.
- Updated copying of config file so it doesn't fail if file already exists.
- Fixed a bug whereby the cache file for packages with compiled code was not reset after installation thereby
dependency_table
failed on a 2nd run.
- Fixed bug whereby
renv
did not recognize internal dependencies already installed.
- Added
renv_files
element intodependency_structure
object to capture (in JSON) the renv.lock files from internal dependencies for future processing. Therenv_profile
argument todependency_table
allows you to choose which renv profile to include if not using the default one. - Use
renv::install
to install external dependencies if inside anrenv
environment so that the renv cache is used
- Fixed error where package actions (i.e.
check
,build
) were skipped.
- Soft deprecated
direction = c("upstream", "downstream")
, now usedirection = "all"
. dry_install
anddry_install_and_check
arguments have both been renameddry
.dependency_packages
,downstream_packages
andpackages_to_process
arguments have all been renamedpackage_list
.local_repos
argument todependency_table
defaults toNULL
ifproject_type
is"repo@host"
.install_deps_app
now takes projects from remote rather than local directory, which allows differentref
to be used. See example for more details. It also does not allowlocal_repos
argument.- Removed upgrade staged.dependencies package addin.
staged.dependencies
can handle only having access to part of the internal dependency graph.install_deps_app
allowsrepo
,host
andref
to be configured by users.- Created addin to install current project's dependencies alongside current project.
get_all_external_dependencies
now returns the vector of external packages ordered by install order and the core R packages are not included.
- Added a
NEWS.md
file to track changes to the package. upgrade
argument ofremotes::install_deps
to choose whether to install external dependencies is now exposed (and default isnever
). For example, settingupgrade
toalways
will update all external dependencies giving an up-to-date environment.- Set default R CMD check args to be
--no-multiarch --with-keep.source --install-tests
.
- Allow a remote other than
origin
. install_external_deps
argument toinstall_deps_app
is now respected.- Fix bug when calling
check_downstream
afterinstall_deps
whereby incorrect error was shown saying sha has changed. - Fallback branch for repositories can now be specified and is not hard-coded as
main
. check_downstream
will not stop on first package error but will run on all expected packages and all failures are output.- More gracefully handles error in
install_deps_app
.