diff --git a/NEWS.md b/NEWS.md index e595730..513d12b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ # version 1.3 +* unit check coverage * R >= 3.6 * bluegreen-labs migration diff --git a/R/pr_dl_cmip5.r b/R/pr_dl_cmip5.r index f07e47d..27a8a5f 100644 --- a/R/pr_dl_cmip5.r +++ b/R/pr_dl_cmip5.r @@ -47,6 +47,10 @@ pr_dl_cmip5 <- function( variable = c("tasmin","tasmax","pr") ){ + # Provide feedback on scrapping the function + stop("This function has been deprecated and is replaced by instructions + in the vignette using the ecmwfr package!") + # data file list, on amazon S3 server (which is a bit more stable # than the GDDP ftp server) files = utils::read.table( diff --git a/tests/testthat/test_formatting_functions.R b/tests/testthat/test_formatting_functions.R index a48539a..567de20 100644 --- a/tests/testthat/test_formatting_functions.R +++ b/tests/testthat/test_formatting_functions.R @@ -77,4 +77,6 @@ test_that("test formatting functions",{ mustWork = TRUE)) expect_type(phenocam_data, "list") + # MODISTools formatting? + })