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

PROPOSAL: Use prettyunits::pretty_bytes to prettify logging for multipart suggestion in put_object #417

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mrkaye97
Copy link

@mrkaye97 mrkaye97 commented May 9, 2022

Closes #416

My editor stripped some whitespace -- it's really a one-line change + some docs. Review without whitespace

Please ensure the following before submitting a PR:

  • if suggesting code changes or improvements, open an issue first
  • for all but trivial changes (e.g., typo fixes), add your name to DESCRIPTION
  • for all but trivial changes (e.g., typo fixes), documentation your change in NEWS.md with a parenthetical reference to the issue number being addressed
  • if changing documentation, edit files in /R not /man and run devtools::document() to update documentation
  • add code or new test files to /tests for any new functionality or bug fix
  • make sure R CMD check runs without error before submitting the PR

@@ -247,7 +248,7 @@ function(
}

if (!is.na(size) && size > partsize)
message("File size is ", size, ", consider setting using multipart=TRUE")
message("File size is ", pretty_bytes(size), ", consider setting using multipart=TRUE")
Copy link
Author

Choose a reason for hiding this comment

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

This is the meat of it

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.

PROPOSAL: Use prettyunits::pretty_bytes to prettify put_object messaging
1 participant