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

20.3.2. inconsistent directory path for raw data ? #548

Open
youngroklee-ml opened this issue Dec 28, 2021 · 0 comments
Open

20.3.2. inconsistent directory path for raw data ? #548

youngroklee-ml opened this issue Dec 28, 2021 · 0 comments

Comments

@youngroklee-ml
Copy link

I guess the following paragraph in 20.3.2 (or page 295 in printed book) shows inconsistent paths for raw data:

If your app contains small reference datasets, put them in data or inst/extdata. We discussed usethis::use_data() above; alternatively, you can put raw data in inst/ext and load it with read.csv(system.file("exdata", "mydata.csv", package = "myApp")) or similar.

And I guess it is better to be written like below:

If your app contains small reference datasets, put them in data or inst/extdata. We discussed usethis::use_data() above; alternatively, you can put raw data in inst/extdata and load it with read.csv(system.file("extdata", "mydata.csv", package = "myApp")) or similar.

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

1 participant