Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Mar 23, 2024
1 parent e445799 commit 5e64c2a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
^.*\.Rproj$
^\.Rproj\.user$
^.*cache
^.*cache$
LICENSE
.travis.yml
.lintr
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ URL: https://doi-usgs.github.io/nhdplusTools/ https://github.com/doi-usgs/nhdplu
BugReports: https://github.com/doi-usgs/nhdplusTools/issues/
Depends:
R (>= 4.0)
Imports: hydroloom, dataRetrieval, dplyr, sf, units, magrittr, jsonlite, httr, xml2, R.utils, utils, tidyr, methods, maptiles, mapsf, fst, arrow, tools, zip, pbapply, memoise
Imports: hydroloom, dataRetrieval, dplyr, sf, units, magrittr, jsonlite, httr, xml2, R.utils, utils, tidyr, methods, maptiles, mapsf, fst, arrow, tools, zip, pbapply, memoise, digest
Suggests: testthat, knitr, rmarkdown, ggmap, ggplot2, lwgeom, gifski, leaflet, httptest, future, future.apply
License: CC0
Encoding: UTF-8
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export(subset_rpu)
export(subset_vpu)
importFrom(arrow,open_dataset)
importFrom(arrow,s3_bucket)
importFrom(digest,digest)
importFrom(dplyr,across)
importFrom(dplyr,all_of)
importFrom(dplyr,any_of)
Expand Down Expand Up @@ -131,6 +132,9 @@ importFrom(hydroloom,sort_network)
importFrom(hydroloom,st_compatibalize)
importFrom(jsonlite,fromJSON)
importFrom(magrittr,`%>%`)
importFrom(memoise,cache_filesystem)
importFrom(memoise,cache_memory)
importFrom(memoise,memoise)
importFrom(methods,as)
importFrom(methods,is)
importFrom(pbapply,pbapply)
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nhdplusTools 1.1.0
==========

This release has a significant consolodation of code to work with web services.
This release has a significant consolidation of code to work with web services.
It incorporates an ArcGIS REST service for the first time. It has very few
backward compatibility issues with previous versions and introduces new functions
and behavior.
Expand Down
2 changes: 2 additions & 0 deletions R/A_nhdplusTools.R
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ nhdplusTools_cache_settings <- function(mode = NULL, timeout = NULL) {
return(invisible(list(mode = current_mode, timeout = current_timeout)))
}

#' @importFrom memoise memoise cache_memory cache_filesystem
#' @importFrom digest digest
nhdplusTools_memoise_cache <- function() {
sys_memo_cache <- Sys.getenv("NHDPLUSTOOLS_MEMOISE_CACHE")
ses_memo_cache <- try(get("nhdpt_mem_cache", envir = nhdplusTools_env), silent = TRUE)
Expand Down

0 comments on commit 5e64c2a

Please sign in to comment.