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
write_csv documentation examples #635
Comments
+1 |
Using tempfiles in the example avoids polluting the users' working directory when the examples are run. |
+1 for examples. even if they polute. |
I'll take this! |
FYI, not sure how simplistic/complex you would like the examples to be, but it might be a good idea to utilize the |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
It would be really nice to have some clearer documentation with write_csv that you could do a simple example like this::
write_csv(wine, "wine.csv") where the function writes "wine.csv" to you default working directory, unless otherwise specified. Currently the documentation makes it sound like you specify only a file path, with no file name, and then no confirmation is outputted stating it was successful.
On a side note, are the examples in the documentation intended to be a MWE/ or a unit test? As I am 1000% for unit testing code, some of these examples seem more like that style, and less concise, clear and brief examples. I'd love to help with providing some, but I'm not sure if this is a roxygen thing when you make documentation for a package. Thanks for such a great package!
The text was updated successfully, but these errors were encountered: