From 2fe8fdef45f843cfb1316fecb443ac30a0ed8a42 Mon Sep 17 00:00:00 2001 From: Elliot Murphy Date: Fri, 30 Aug 2024 10:38:45 -0400 Subject: [PATCH] simplify capturing R dependencies message (#1099) don't mention renv as this is confusing Signed-off-by: Elliot Murphy --- R/bundlePackage.R | 2 +- tests/testthat/_snaps/bundlePackage.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/bundlePackage.R b/R/bundlePackage.R index 1672440b..312e659b 100644 --- a/R/bundlePackage.R +++ b/R/bundlePackage.R @@ -61,7 +61,7 @@ computePackageDependencies <- function(bundleDir, # from the bundle (retaining the renv.lock). removeRenv(bundleDir, lockfile = FALSE) } else { - taskStart(quiet, "Capturing R dependencies with renv") + taskStart(quiet, "Capturing R dependencies") # TODO: give user option to choose between implicit and explicit deps <- snapshotRenvDependencies(bundleDir, extraPackages, quiet = quiet, verbose = verbose) } diff --git a/tests/testthat/_snaps/bundlePackage.md b/tests/testthat/_snaps/bundlePackage.md index f383e09e..ffe301a8 100644 --- a/tests/testthat/_snaps/bundlePackage.md +++ b/tests/testthat/_snaps/bundlePackage.md @@ -3,7 +3,7 @@ Code pkgs <- bundlePackages(app_dir) Message - i Capturing R dependencies with renv + i Capturing R dependencies v Found 2 dependencies # can snapshot deps with packrat (option) @@ -43,7 +43,7 @@ Code . <- bundlePackages(app_dir) Message - i Capturing R dependencies with renv + i Capturing R dependencies v Found 1 dependency Condition Error: