Open dblodgett-usgs opened 5 months ago
Another option, if it's worth keeping the sizeable dog.ome sample is to use something like this https://github.com/DOI-USGS/nhdplusTools/blob/main/inst/extdata/utils.R which will pull data down from the repository for running examples.
Describe the bug The contents of .extdata don't play nice with R CMD check.
excerpt from check
To Reproduce Run > R CMD check
Expected behavior No notes.
I think we should replace the dog.ome with something smaller or subset it down to less than 1MB. We should also probably zip the contents of inst/extdata and unzip them as needed in examples. I wrote a demo data retriever here that does what I'm thinking.
https://github.com/DOI-USGS/rnz/blob/main/R/util.R#L12