Running ‘testthat.R’ [12s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library('testthat')
  > library('hddtools')
  Loading required package: rgdal
  Loading required package: sp
  rgdal: version: 1.2-5, (SVN revision 648)
   Geospatial Data Abstraction Library extensions to R successfully loaded
   Loaded GDAL runtime: GDAL 2.1.3, released 2017/20/01
   Path to GDAL shared files: /usr/local/share/gdal
   Loaded PROJ.4 runtime: Rel. 4.9.3, 15 August 2016, [PJ_VERSION: 493]
   Path to PROJ.4 shared files: (autodetected)
   Linking to sp version: 1.2-4 
  > 
  > test_check('hddtools')
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B43_V7/2012/3B43.120101.7.precipitation.accum'
  [1] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B43_V7/2012/3B43.120101.7.precipitation.accum"
  1. Error: Test TRMM function using dates in the past (@test-TRMM.R#15) ---------
  unable to find an inherited method for function 'extent' for signature '"NULL"'
  1: raster::extent(x) at testthat/test-TRMM.R:15
  2: (function (classes, fdef, mtable) 
     {
         methods <- .findInheritedMethods(classes, fdef, mtable)
         if (length(methods) == 1L) 
             return(methods[[1L]])
         else if (length(methods) == 0L) {
             cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", collapse = ", ")
             stop(gettextf("unable to find an inherited method for function %s for signature %s", 
                 sQuote(fdef@generic), sQuote(cnames)), domain = NA)
         }
         else stop("Internal error in finding inherited methods; didn't return a unique method", 
             domain = NA)
     })(list("NULL"), structure(function (x, ...) 
     standardGeneric("extent"), generic = structure("extent", package = "raster"), package = "raster", group = list(), valueClass = character(0), signature = "x", default = `\001NULL\001`, skeleton = (function (x, 
         ...) 
     stop("invalid call in method dispatch to 'extent' (no default method)", domain = NA))(x, 
         ...), class = structure("standardGeneric", package = "methods")), <environment>)
  3: stop(gettextf("unable to find an inherited method for function %s for signature %s", 
         sQuote(fdef@generic), sQuote(cnames)), domain = NA)
  
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.00z.7.precipitation.bin'
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.03z.7.precipitation.bin'
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.06z.7.precipitation.bin'
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.09z.7.precipitation.bin'
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.12z.7.precipitation.bin'
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.15z.7.precipitation.bin'
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.18z.7.precipitation.bin'
  trying URL 'ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.21z.7.precipitation.bin'
  [1] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.00z.7.precipitation.bin"
  [2] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.03z.7.precipitation.bin"
  [3] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.06z.7.precipitation.bin"
  [4] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.09z.7.precipitation.bin"
  [5] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.12z.7.precipitation.bin"
  [6] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.15z.7.precipitation.bin"
  [7] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.18z.7.precipitation.bin"
  [8] "ftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201201/3B42.120101.21z.7.precipitation.bin"
  2. Error: Test TRMM function using 3-hourly dates in the past (@test-TRMM.R#58) 
  unable to find an inherited method for function 'extent' for signature '"NULL"'
  1: raster::extent(x) at testthat/test-TRMM.R:58
  2: (function (classes, fdef, mtable) 
     {
         methods <- .findInheritedMethods(classes, fdef, mtable)
         if (length(methods) == 1L) 
             return(methods[[1L]])
         else if (length(methods) == 0L) {
             cnames <- paste0("\"", vapply(classes, as.character, ""), "\"", collapse = ", ")
             stop(gettextf("unable to find an inherited method for function %s for signature %s", 
                 sQuote(fdef@generic), sQuote(cnames)), domain = NA)
         }
         else stop("Internal error in finding inherited methods; didn't return a unique method", 
             domain = NA)
     })(list("NULL"), structure(function (x, ...) 
     standardGeneric("extent"), generic = structure("extent", package = "raster"), package = "raster", group = list(), valueClass = character(0), signature = "x", default = `\001NULL\001`, skeleton = (function (x, 
         ...) 
     stop("invalid call in method dispatch to 'extent' (no default method)", domain = NA))(x, 
         ...), class = structure("standardGeneric", package = "methods")), <environment>)
  3: stop(gettextf("unable to find an inherited method for function %s for signature %s", 
         sQuote(fdef@generic), sQuote(cnames)), domain = NA)
  
  trying URL 'ftp://ftp.bafg.de/pub/REFERATE/GRDC/ltdata/africa.zip'
  Content type 'unknown' length 2730333 bytes (2.6 MB)
  ==================================================
  testthat results ================================================================
  OK: 64 SKIPPED: 1 FAILED: 2
  1. Error: Test TRMM function using dates in the past (@test-TRMM.R#15) 
  2. Error: Test TRMM function using 3-hourly dates in the past (@test-TRMM.R#58) 
  
  Error: testthat unit tests failed
  Execution halted