CRAN Package Check Results for Package Rnightlights

Last updated on 2019-10-18 12:47:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.4 10.00 72.05 82.05 OK
r-devel-linux-x86_64-debian-gcc 0.2.4 7.09 56.17 63.26 OK
r-devel-linux-x86_64-fedora-clang 0.2.4 103.04 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.4 99.32 NOTE
r-devel-windows-ix86+x86_64 0.2.4 23.00 160.00 183.00 OK
r-patched-linux-x86_64 0.2.4 8.57 69.93 78.50 OK
r-patched-solaris-x86 0.2.4 131.20 ERROR
r-release-linux-x86_64 0.2.4 8.69 70.79 79.48 OK
r-release-windows-ix86+x86_64 0.2.4 14.00 117.00 131.00 OK
r-release-osx-x86_64 0.2.4 NOTE
r-oldrel-windows-ix86+x86_64 0.2.4 13.00 104.00 117.00 OK
r-oldrel-osx-x86_64 0.2.4 NOTE

Check Details

Version: 0.2.4
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘curl’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 0.2.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [23s/160s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(Rnightlights)
     2019-10-13 20:17:53: Creating data folder in temporary location /tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights
     2019-10-13 20:17:53: Data directory created /tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights
     2019-10-13 20:17:53: Rnightlights may require 3GB+. Run setupDataPath() to change the location
     >
     > ## force tests to be executed if in dev release which we define as
     > ## having a sub-release, eg 0.9.15.5 is one whereas 0.9.16 is not
     > if (length(strsplit(packageDescription("Rnightlights")$Version, "\\.")[[1]]) > 3) { # dev release, and
     + if (Sys.getenv("RunAllTests") != "no") { # if env.var not explicitly set to no
     + message("Setting \"RunAllTests\"=\"yes\" for development release\n")
     + Sys.setenv("RunAllTests"="yes")
     + }
     + }
     >
     > setup({
     + #set the dataPath to tempdir() to ensure a clean environment for tests
     + #thus forcing polygon and tile downloads and fresh raster
     + #clipping and data extraction
     + currDir <<- getNlDataPath()
     +
     + tempDir <<- tempdir()
     +
     + Rnightlights:::setNlDataPath(tempDir)
     + })
     2019-10-13 20:17:54: The directories are the same. Not changing
     >
     > test_check("Rnightlights")
     Loading required package: sp
     rgdal: version: 1.4-6, (SVN revision 841)
     Geospatial Data Abstraction Library extensions to R successfully loaded
     Loaded GDAL runtime: GDAL 2.2.4, released 2018/03/19
     Path to GDAL shared files: /usr/local/share/gdal
     GDAL binary built with GEOS: TRUE
     Loaded PROJ.4 runtime: Rel. 5.2.0, September 15th, 2018, [PJ_VERSION: 520]
     Path to PROJ.4 shared files: (autodetected)
     Linking to sp version: 1.3-1
    
     Attaching package: 'raster'
    
     The following object is masked from 'package:data.table':
    
     shift
    
     trying URL 'https://biogeo.ucdavis.edu/data/gadm3.6/shp/gadm36_STP_shp.zip'
     Content type 'application/zip' length 99696 bytes (97 KB)
     ==================================================
     downloaded 97 KB
    
     OGR data source with driver: ESRI Shapefile
     Source: "/tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights/polygons/POLY_STP_GADM-3.6-SHPZIP", layer: "gadm36_STP_0"
     with 1 features
     It has 2 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights/polygons/POLY_STP_GADM-3.6-SHPZIP", layer: "gadm36_STP_1"
     with 2 features
     It has 10 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights/polygons/POLY_STP_GADM-3.6-SHPZIP", layer: "gadm36_STP_2"
     with 7 features
     It has 13 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights/polygons/POLY_STP_GADM-3.6-SHPZIP", layer: "gadm36_STP_0"
     with 1 features
     It has 3 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights/polygons/POLY_STP_GADM-3.6-SHPZIP", layer: "gadm36_STP_1"
     with 2 features
     It has 11 fields
     OGR data source with driver: ESRI Shapefile
     Source: "/tmp/RtmpTBaWAb/working_dir/RtmpWMaWMo/.Rnightlights/polygons/POLY_STP_GADM-3.6-SHPZIP", layer: "gadm36_STP_2"
     with 7 features
     It has 14 fields
     trying URL 'https://www.ngdc.noaa.gov/eog/dmsp/downloadV4composites.html'
     downloaded 20 KB
    
     trying URL 'https://ngdc.noaa.gov/eog/viirs/download_ut_mos_tile_iframe.html'
     downloaded 230 KB
    
     trying URL 'https://eogdata.mines.edu/download_dnb_composites_iframe.html'
     ── 1. Error: nlUrls work (@test-nlurl.R#13) ───────────────────────────────────
     cannot open URL 'https://eogdata.mines.edu/download_dnb_composites_iframe.html'
     1: Rnightlights:::getNlUrlVIIRS(nlPeriod = "201204", tileNum = 1, nlType = "VIIRS.M") at testthat/test-nlurl.R:13
     2: utils::download.file(url = ntLtsIndexUrlVIIRS, destfile = ntLtsPageLocalName, method = "auto",
     extra = " -N --timestamping --no-use-server-timestamps")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 69 | SKIPPED: 1 | WARNINGS: 1 | FAILED: 1 ]
     1. Error: nlUrls work (@test-nlurl.R#13)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.2.4
Check: dependencies in R code
Result: NOTE
    No protocol specified
    No protocol specified
    Namespace in Imports field not imported from: ‘curl’
     All declared Imports should be used.
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64