Skip to content

Commit

Permalink
maptools removed, apparently we dont actually use it
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed May 21, 2015
1 parent ab3f69e commit 9b8cffd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Expand Up @@ -34,7 +34,6 @@ Imports:
sp,
rgdal,
rgeos,
maptools,
XML,
data.table,
jsonlite
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Expand Up @@ -81,7 +81,6 @@ export(type_summ)
import(XML)
import(ggplot2)
import(httr)
import(maptools)
import(rgdal)
import(sp)
importFrom(data.table,rbindlist)
Expand Down
4 changes: 1 addition & 3 deletions R/seaice.r
Expand Up @@ -98,14 +98,12 @@ seaiceeurls <- function(yr=NULL, mo=NULL, pole=NULL)
}

#' Function to read shapefiles
#' @import maptools
#' @param x A url
#' @param storepath Path to store data in
#' @return An object of class sp
#' @export
#' @keywords internal
readshpfile <- function(x, storepath=NULL)
{
readshpfile <- function(x, storepath=NULL) {
filename <- strsplit(x, '/')[[1]][length(strsplit(x, '/')[[1]])]
filename_noending <- strsplit(filename, "\\.")[[1]][[1]]
if(is.null(storepath)){ storepath <- tempdir() }
Expand Down

0 comments on commit 9b8cffd

Please sign in to comment.