Commit 62f3a48a authored by Blodgett, David L.'s avatar Blodgett, David L.

remove reference to tidyverse in suggests update to get rid of test warnings

parent b8f0e2ed
......@@ -12,7 +12,7 @@ BugReports: https://github.com/USGS-R/ncdfgeom/issues
Imports: RNetCDF, ncmeta, sf, dplyr, methods
Depends:
R (>= 3.0)
Suggests: testthat, knitr, rmarkdown, pkgdown, tidyverse, sp, geoknife, ncdf4, jsonlite
Suggests: testthat, knitr, rmarkdown, pkgdown, sp, geoknife, ncdf4, jsonlite
License: CC0
LazyData: TRUE
Encoding: UTF-8
......
......@@ -38,9 +38,9 @@ write_attribute_data <- function(nc_file, att_data, instance_dim_name = "instanc
nc <- open.nc(nc_file, write = TRUE)
} else if(overwrite == TRUE) {
unlink(nc_file)
nc <- create.nc(nc_file, large = TRUE)
nc <- create.nc(nc_file, format = "classic4")
} else {
nc <- create.nc(nc_file, large = TRUE)
nc <- create.nc(nc_file, format = "classic4")
}
n <- nrow(att_data)
......
......@@ -376,7 +376,7 @@ init_ncdf <- function(nc_file, x_vals, y_vals, node_dim_name) {
if(file.exists(nc_file)) {
nc <- open.nc(nc_file, write = TRUE)
} else {
nc <- create.nc(nc_file, large = TRUE)
nc <- create.nc(nc_file, format = "classic4")
}
try(dim.def.nc(nc, node_dim_name, length(x_vals), unlim = FALSE), silent = TRUE)
......
......@@ -129,7 +129,7 @@ write_timeseries_dsg = function(nc_file, instance_names, lats, lons, times, data
return(nc_file)
} else {
nc <- create.nc(nc_file, large = TRUE)
nc <- create.nc(nc_file, format = "offset64")
dim.def.nc(nc, pkg.env$instance_dim_name, n, unlim = FALSE)
dim.def.nc(nc, pkg.env$time_dim_name, nt, unlim=FALSE)
......
......@@ -48,11 +48,11 @@ When on CRAN, the package will be installed with the typical install.packages me
install.packages("ncdfgeom")
```
For this demo, we'll use `sf`, `tidyverse`, and `ncdfgeom`.
For this demo, we'll use `sf`, `dplyr`, and `ncdfgeom`.
```{r libs, message=FALSE, warning=FALSE}
library(sf)
library(tidyverse)
library(dplyr)
library(ncdfgeom)
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment