Skip to content

Commit

Permalink
Preparing candidate release lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Mar 27, 2024
1 parent 7a47352 commit 3192db2
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 164 deletions.
4 changes: 2 additions & 2 deletions extras/Releasing/CreateRenvLockFile.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ remotes::install_github("ohdsi/OhdsiRTools")
packagesUtils <- c("keyring")
packagesForPlp <- c("lightgbm", "survminer", "parallel")
packagesForBulkImport <- c("aws.s3", "R.utils")
install.packages(c(packagesForPlp, packagesUtils))
install.packages(c(packagesForPlp, packagesUtils, packagesForBulkImport))

OhdsiRTools::createRenvLockFile(
rootPackage = "Hades",
mode = "description",
includeRootPackage = TRUE,
additionalRequiredPackages = c(packagesForPlp, packagesUtils, packagesForBulkImport)
)
# Manually fix remoteRef and remoteUserName of HADES entry
# Manually fix remoteRef and remoteUserName of HADES entry!!!!

renv::init()
2 changes: 1 addition & 1 deletion extras/Releasing/PackageCheckFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ checkPackage <- function(package, inCran) {
unlink(docDir, recursive = TRUE)
}
# devtools::check_built(path = sourcePath)
rcmdcheck::rcmdcheck(path = sourcePath, args = c("--no-manual", "--no-multiarch"), error_on = "warning")
rcmdcheck::rcmdcheck(path = sourcePath, args = c("--no-manual", "--no-multiarch", "--as-cran"), error_on = "warning")
}

getPackageDependenciesFromGitHub <- function(package) {
Expand Down
Loading

0 comments on commit 3192db2

Please sign in to comment.