-
Notifications
You must be signed in to change notification settings - Fork 225
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 data(name, package) to code export #150
Comments
Hello, Good idea, I've implemented option 2 (easier). You have to re-install esquisse and datamods from GitHub : remotes::install_github("dreamRs/datamods")
remotes::install_github("dreamRs/esquisse") I'll plan a release on CRAN next week. Best, Victor |
Thank you very much! After the update of `reshape2::tips` %>% filter(day %in% c("Sun", "Sat")) I assume this has something to do with the implementation of this feature since datasets from the global environment are filtered correctly. Another thing I noticed is that there are backticks ( |
Ah yes thanks, should be solved if you re-install both packages (esquisse and datamods). This was caused by the fact that even if the data is not specified in the displayed code, the executed code contains a call to Victor |
Works like a charm now. Thanks a lot for your efforts! |
Hello. Let me first say thank you for this fantastic package. I'll use this package soon for a datviz course and would like to suggest a small, but significant improvement.
When datasets are loaded from packages, the R code export does not contain any lines to load the dataset in the environment. It would be very useful for beginners if you could add a line like
data(name, package)
orpackage::name
here, so the generated code can be run without any setup operations. Exampleor
The text was updated successfully, but these errors were encountered: