fixHadesPackagesInLockFile: Fix HADES packages in lock file

View source: R/EnvironmentSnapshot.R

fixHadesPackagesInLockFileR Documentation

Fix HADES packages in lock file

Description

For all HADES packages that must be installed from GitHub, ensures the lock file points to the git tag corresponding to the installed version. If no corresponding tag exists, a warning is raised.

Usage

fixHadesPackagesInLockFile(
  lockFile = "renv.lock",
  ohdsiGitHubPackages = getOhdsiGitHubPackages()
)

Arguments

lockFile

The name of the lock file to fix.

ohdsiGitHubPackages

Names of R packages that need to be installed from the OHDSI GitHub.

Value

Returns nothing. Fixes the lock file.


OHDSI/OhdsiRTools documentation built on June 7, 2022, 12:20 p.m.