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
Conversation
R/bundle.R
Outdated
@@ -937,13 +957,15 @@ performPackratSnapshot <- function(bundleDir) { | |||
} | |||
|
|||
# generate a snapshot | |||
suppressMessages( | |||
# suppressMessages( |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
0b36ada
to
fff5edd
Compare
Add
verbose = FALSE
argument to writeManifest(), and pass this through to createAppManifest(), in order to benefit from improved verbose logging in packrat.