Skip to content

Commit

Permalink
remove getData
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Jul 8, 2024
1 parent dc59370 commit a887793
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
8 changes: 7 additions & 1 deletion R/getData.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
# Version 0.9
# October 2008


getData <- function(name='GADM', download=TRUE, path='', ...) {

stop("getData has been removed. Please use the geodata package instead.")

}


.getData <- function(name='GADM', download=TRUE, path='', ...) {

message("getData will stop working soon!\n.
Please use the geodata package instead.\n
Going to sleep for 15 seconds...")
Expand Down
14 changes: 3 additions & 11 deletions man/getData.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,15 @@
\title{Get geographic data }

\description{
This function has been deprecated. See the geodata package for access to more recent versions of the data available through this function, and for many other datasets.
This function has been deprecated and does not work anymore.
}

\usage{
getData(name, download=TRUE, path="", ...)
getData(...)
ccodes()
}

\arguments{
\item{name}{Data set name}
\item{download}{logical}
\item{path}{character}
\item{...}{Additional arguments}
\item{...}{arguments}
}

\value{
Raster* or Spatial*
}

\keyword{ spatial }

0 comments on commit a887793

Please sign in to comment.