improve package testing by simplifying and speeding up tests
add Github actions for code coverage
add note to readme about package installation in Linux as per package reviewer note
oceandatr 0.4.4
remove meth = “” arguments from examples and vignette now that terra::spatSample() has been fixed. Fixes #77
oceandatr 0.4.3
Add fuzzy matching for get_boundary() using base::agrep()
When no matches found for the name in get_boundary(), a selectable list of options is no longer presented as the behaviour of the pop-up list varied across OSes. Options are still printed to the console, but the user is asked to re-run the function with a correct name.
getboundary vignette updated to reflect above change
oceandatr 0.4.2
Add “Predicting fishing effort in Micronesia” vignette
oceandatr 0.4.1
Add Github actions for R-CMD-CHECK
Switch from ncdf4 to RNetCDF package for NetCDF file handling in get_bathymetry() because it supports OPeNDAP.
oceandatr 0.4.0
get_bathymetry() now downloads data in chunks direct to disk to allow download of large areas
fixed a minor issue in polygon_in_4326() to ensure geometry column is named geometry
Update readme file to list GEBCO 2026 as source and update bathymetry map
oceandatr 0.3.0
spatialgridr package functions (get_boundary(), get_grid(), and get_data_in_grid()) integrated into oceandatr
Dependency on spatialgridr removed
Speeded up tests and examples by downscaling cold_coral example data, and reducing number of bathymetry data tests and examples
oceandatr 0.2.6
Remove gfwr package dependency
Add gfw_ais() internal function for GFW API call. This is a simplified version of gfwr package functions.
Add geojsonsf and httr2 imports
oceandatr 0.2.5
Remove all data - this is now in the separate oceandatrsets package
Update data references to use oceandatrsets
Add oceandatrsets dependency
Use pak instead of remotes for Github install (remotes is superseded)
Use R-Universe for gfwr install
Remove some get_features() tests that take a long time and are repeating individual function tests
oceandatr 0.2.4
Switch to rerddap package for downloading Bio-Oracle data
Remove biooracler dependency
Add min_num_clusters argument to get_enviro_zones(), and ensure min and max num cluster arguments meet NbClust requirements, #70 by @jaseeverett
oceandatr 0.2.3
Robust function argument checks implemented with package checkmate
Removal of magrittr pipe and replacement with base R pipe, removal of dot operators
Simplification of code
bug fixes and documentation improvement
patches package scenario in prioritization vignette removed due to changes in prioritizr
oceandatr 0.2.2.0
get_bathymetry() now accesses latest GEBCO data (sub-ice) from the Natural Environment Research Council’s (NERC) Centre for Environmental Data Analysis (CEDA) using OPeNDAP.
get_bathymetry() argument resolution removed: CEDA server only 15 arc second resolution data
get_bathymetry() argument keep removed: bathymetry data is automatically saved