diff --git a/R/get_additional_data.R b/R/get_additional_data.R index 6d224904..559bc096 100644 --- a/R/get_additional_data.R +++ b/R/get_additional_data.R @@ -8,9 +8,7 @@ #' #' @keywords internal #' @export -getAdditionalData <- function( - fileURL, - savePath = NULL) { +getAdditionalData <- function(fileURL, savePath = NULL) { lifecycle::deprecate_warn("1.0.0", "getAdditionalData()", "get_additional_data()") get_additional_data(fileURL, savePath = NULL) } @@ -28,7 +26,6 @@ getAdditionalData <- function( #' Large datasets may timeout. If so, you can increase the download time by updating the maximum timeout time in the code below. (Ex: increase from 300 to 1000) #' ```options(timeout = max(300, getOption("timeout")))``` #' -#' `r lifecycle::badge("deprecated")` #' @param fileURL URL of the file to be downloaded. #' @param savePath Folder directory and filename to save the downloaded and unzipped (if needed) file. File is saved only #' if this argument is not `NULL`. Optional. Default = `NULL`. @@ -55,9 +52,6 @@ getAdditionalData <- function( get_additional_data <- function( fileURL, savePath = NULL) { - lifecycle::deprecate_warn("1.0.0", "getAdditionalData()", "get_additional_data()") - - get_additional_data(fileURL, savePath = NULL) fileName <- basename(fileURL) tmpFileName <- file.path(tempdir(), fileName) diff --git a/man/get_additional_data.Rd b/man/get_additional_data.Rd index b62efbd8..7adba844 100644 --- a/man/get_additional_data.Rd +++ b/man/get_additional_data.Rd @@ -26,8 +26,6 @@ You can save the data into your chosen directory using the optional savePath arg Large datasets may timeout. If so, you can increase the download time by updating the maximum timeout time in the code below. (Ex: increase from 300 to 1000) \code{options(timeout = max(300, getOption("timeout")))} - -\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} } \examples{ \dontrun{