Skip to content

Commit b764663

Browse files
committed
deprecate update_station_list and remove test
1 parent dac37c1 commit b764663

File tree

3 files changed

+19
-49
lines changed

3 files changed

+19
-49
lines changed

R/update_station_list.R

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#' Download Latest isd-history.csv File and Update an Internal Database
2+
#'
3+
#' @description
4+
#' `r lifecycle::badge("deprecated")`
5+
#' This function was deprecated because I realised that it broke reproducibility
6+
#' and the handling of country inventories has changed and I did not want to
7+
#' introduce geospatial package dependencies for this package.
8+
#' @keywords internal
9+
update_station_list <- function() {
10+
lifecycle::deprecate_stop(
11+
when = "5.0.0",
12+
what = "update_station_list()",
13+
details = c(
14+
x = "This broke reproducibility by changing the local internal state of the package.",
15+
i = "It has been removed, there is no replacement function."
16+
)
17+
)
18+
}

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
"applicationCategory": "Tools",
368368
"isPartOf": "https://ropensci.org",
369369
"keywords": ["US-NCEI", "meteorological-data", "global-weather", "weather", "weather-data", "meteorology", "station-data", "surface-weather", "data-access", "US-NCDC", "r", "gsod", "ncdc", "weather-stations", "global-data", "ncei", "weather-information", "historical-weather", "historical-data", "daily-data", "daily-weather", "rstats", "r-package"],
370-
"fileSize": "3898.887KB",
370+
"fileSize": "3897.359KB",
371371
"citation": [
372372
{
373373
"@type": "SoftwareSourceCode",

tests/testthat/test-get_inventory.R

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)