Errors in running code in vignettes:
when running code in ‘get_3dhp_data.Rmd’
  ...
  universalreferenceid gnisid gnisidlabel featuretype featuretypelabel
1       07070004002889   <NA>        <NA>          10  Reachcode Start
2       07070004002889   <NA>        <NA>          11    Reachcode End
  edhuniqueid workunitid                   geometry
1        <NA>       <NA> POINT (-89.44179 43.48829)
2        <NA>       <NA> POINT (-89.43904 43.48568)



  When sourcing ‘get_3dhp_data.R’:
when running code in ‘get_data_overview.Rmd’
  ...
although coordinates are longitude/latitude, st_intersects assumes that they
are planar
Spherical geometry (s2) switched on

  When sourcing ‘get_data_overview.R’:
Error: error writing to connection
Execution halted
Error: write failed
Fatal error: error during cleanup

when running code in ‘indexing.Rmd’
  ...

> source(system.file("extdata/sample_data.R", package = "nhdplusTools"))
Error in curl::curl_fetch_disk(url, x$path, handle = handle): Failure writing output to destination
Request failed [ERROR]. Retrying in 1.1 seconds...
Error in curl::curl_fetch_disk(url, x$path, handle = handle): Failure writing output to destination
Request failed [ERROR]. Retrying in 1.6 seconds...

  When sourcing ‘indexing.R’:
Error: Failure writing output to destination
Execution halted
when running code in ‘nhdplusTools.Rmd’
  ...

> nrow(vaa)
[1] 2691339

> source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools"))
Cannot open data source /Users/urbanek/Library/Application Support/org.R-project.R/R/nhdplusTools/nhdpt_v_cache/03_sub.gpkg

  When sourcing ‘nhdplusTools.R’:
Error: Open failed.
Execution halted
when running code in ‘nhdplushr.Rmd’
  ...
> hr <- get_nhdplushr(work_dir, out_gpkg = hr_gpkg, 
+     proj = 3857)
Cannot open data source /Users/urbanek/Library/Application Support/org.R-project.R/R/nhdplusTools/hr_v_cache/hr_data.gpkg

  When sourcing ‘nhdplushr.R’:
Error: Open failed.
Execution halted
Error: write failed
Fatal error: error during cleanup

when running code in ‘plot_nhdplus.Rmd’
  ...
+     y = 43.09), coords = c("x", "y"), crs = 4326)

> plot_nhdplus(start_point)

  When sourcing ‘plot_nhdplus.R’:
Error: error writing to connection
Execution halted
Error: internal read error in PDF_endpage
Fatal error: error during cleanup


  ‘get_3dhp_data.Rmd’ using ‘UTF-8’... failed
  ‘get_data_overview.Rmd’ using ‘UTF-8’... failed
  ‘indexing.Rmd’ using ‘UTF-8’... failed
  ‘nhdplusTools.Rmd’ using ‘UTF-8’... failed
  ‘nhdplushr.Rmd’ using ‘UTF-8’... failed
  ‘plot_nhdplus.Rmd’ using ‘UTF-8’... failed