Skip to content

Commit

Permalink
deal with ncdf suggests for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Jan 23, 2024
1 parent 6125ad6 commit a5fde17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Authors@R: c(person("David", "Blodgett", role = c("aut", "cre"),
Description: Tools to create time series and geometry 'NetCDF' files.
URL: https://code.usgs.gov/water/ncdfgeom
BugReports: https://github.com/DOI-USGS/ncdfgeom/issues
Imports: RNetCDF, ncmeta, sf, dplyr, methods, stars, areal, ncdf4
Imports: RNetCDF, ncmeta, sf, dplyr, methods, stars, areal
Depends:
R (>= 3.5)
Suggests: testthat, knitr, rmarkdown, pkgdown, jsonlite, zip
Suggests: testthat, knitr, rmarkdown, pkgdown, jsonlite, zip, ncdf4
License: CC0
Encoding: UTF-8
VignetteBuilder: knitr
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/helper-functions.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
testthat::skip_if_not(require(ncdf4))

library(RNetCDF)
library(ncdf4)
library(sf)

check_geom <- function(data, returndata) {
Expand Down

0 comments on commit a5fde17

Please sign in to comment.