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

Add verbose option to writeManifest() #468

Merged
merged 5 commits into from May 20, 2021
Merged

Conversation

andrie
Copy link
Member

@andrie andrie commented Nov 26, 2020

Add verbose = FALSE argument to writeManifest(), and pass this through to createAppManifest(), in order to benefit from improved verbose logging in packrat.

R/bundle.R Outdated
@@ -937,13 +957,15 @@ performPackratSnapshot <- function(bundleDir) {
}

# generate a snapshot
suppressMessages(
# suppressMessages(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented out? Do we want to see these messages even if verbose is turned off?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in latest commit

R/bundle.R Outdated
@@ -853,6 +869,7 @@ addPackratSnapshot <- function(bundleDir, implicit_dependencies = c()) {
# rethrow error so we still halt deployment
stop(e)
})
# if (verbose) logger(" - done performing packrat snapshot")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and elsewhere -- it is not clear why this code is commented out; please either uncomment it or remove it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in latest commit

Merge branch 'master' into andrie-verbose-manifest

# Conflicts:
#	R/bundle.R
@jmcphers jmcphers merged commit d77ef01 into master May 20, 2021
@aronatkins aronatkins deleted the andrie-verbose-manifest branch March 10, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants