Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify capturing R dependencies message #1099

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/bundlePackage.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/bundlePackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand Down
Loading