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

Feature Request: Expose bytes publicly #680

Closed
slodge opened this issue Dec 4, 2020 · 1 comment
Closed

Feature Request: Expose bytes publicly #680

slodge opened this issue Dec 4, 2020 · 1 comment

Comments

@slodge
Copy link

slodge commented Dec 4, 2020

We've seen the small helper method bytes in

bytes <- function(x, digits = 3, ...) {
- it's a nice helper method to display a byte size.

Obviously it's not hard for us to copy, paste and MIT attribute this code, but (before we do) can I check whether there's any interest in adding bytes to the public API of httr? Happy to provide a roxygen block and maybe a few test cases as a PR

Thanks

Stuart

@hadley
Copy link
Member

hadley commented Oct 31, 2023

You might want to use https://github.com/r-lib/prettyunits instead 😄

@hadley hadley closed this as completed Oct 31, 2023
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

No branches or pull requests

2 participants