Skip to content

Releases: openpharma/staged.dependencies

v0.3.1

03 Aug 12:43
1ab184a
Compare
Choose a tag to compare
  • 0.3.1

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

13 Jul 12:06
194b3e9
Compare
Choose a tag to compare
  • Support subdirectories in configuration.
  • Remove renv files and clean the project in that regard.

What's Changed

New Contributors

Full Changelog: v0.2.7...v0.3.0

v0.2.7

30 Jun 15:05
669f45a
Compare
Choose a tag to compare
  • 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.

v0.2.6

08 Jun 10:18
fbf6cfc
Compare
Choose a tag to compare
  • Fixed bug whereby renv did not recognize internal dependencies already installed.

v0.2.5

16 May 07:27
45558fe
Compare
Choose a tag to compare
  • Use renv::install to install external dependencies if inside an renv environment so that the renv cache is used
  • Added renv_files element into dependency_structure object to capture (in JSON) the renv.lock files from internal dependencies for future processing. The renv_profile argument to dependency_table allows you to choose which renv profile to include if not using the default one.

v0.2.4

15 Nov 15:49
Compare
Choose a tag to compare

Bugfixes

  • Fixed error where package actions (i.e. check, build) were skipped.

v0.2.3

10 Nov 13:30
7995d54
Compare
Choose a tag to compare

Breaking changes

  • Soft deprecated direction = c("upstream", "downstream"), now use direction = "all".
  • dry_install and dry_install_and_check arguments have both been renamed dry.
  • dependency_packages, downstream_packages and packages_to_process arguments have all been renamed package_list.
  • local_repos argument to dependency_table defaults to NULL if project_type is "repo@host".
  • install_deps_app now takes projects from remote rather than local directory, which allows different ref to be used. See example for more details. It also does not allow local_repos argument.
  • Removed upgrade staged.dependencies package addin.

New feature and improvements

  • staged.dependencies can handle only having access to part of the internal dependency graph.
  • install_deps_app allows repo, host and ref 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.

Other improvements

  • Added a NEWS.md file to track changes to the package.
  • upgrade argument of remotes::install_deps to choose whether to install external dependencies is now exposed (and default is never). For example, setting upgrade to always 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.

Bugfixes

  • Allow a remote other than origin.
  • install_external_deps argument to install_deps_app is now respected.
  • Fix bug when calling check_downstream after install_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.