CRAN Package Check Results for Package metR

Last updated on 2019-07-16 05:48:21 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 22.26 396.31 418.57 OK
r-devel-linux-x86_64-debian-gcc 0.4.0 19.03 406.72 425.75 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 399.36 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4.0 418.01 NOTE
r-devel-windows-ix86+x86_64 0.4.0 60.00 439.00 499.00 OK
r-patched-linux-x86_64 0.4.0 21.56 391.37 412.93 OK
r-patched-solaris-x86 0.4.0 483.90 ERROR
r-release-linux-x86_64 0.4.0 20.07 392.88 412.95 OK
r-release-windows-ix86+x86_64 0.4.0 41.00 335.00 376.00 OK
r-release-osx-x86_64 0.4.0 NOTE
r-oldrel-windows-ix86+x86_64 0.4.0 43.00 417.00 460.00 OK
r-oldrel-osx-x86_64 0.4.0 NOTE

Check Details

Version: 0.4.0
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, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.4.0
Check: installed package size
Result: NOTE
     installed size is 5.3Mb
     sub-directories of 1Mb or more:
     data 1.1Mb
     doc 2.7Mb
Flavor: r-patched-solaris-x86

Version: 0.4.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [54s/63s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(metR)
     > # library(vdiffr)
     >
     > test_check("metR")
     ── 1. Error: returns a data.table (@test_ReadNetCDF.R#6) ──────────────────────
     Error in nc_open trying to open file /home/ripley/R/Lib32/metR/extdata/temperature.nc
     1: expect_known_output(ReadNetCDF(file), "readnetcdf_default") at testthat/test_ReadNetCDF.R:6
     2: append(act, eval_with_output(object, print = print, width = width))
     3: eval_with_output(object, print = print, width = width)
     4: withr::with_output_sink(temp, withVisible(code))
     5: force(code)
     6: withVisible(code)
     7: ReadNetCDF(file)
     8: ncdf4::nc_open(file)
     9: stop(paste("Error in nc_open trying to open file", filename))
    
     ── 2. Error: subsetting works (@test_ReadNetCDF.R#11) ─────────────────────────
     Error in nc_open trying to open file /home/ripley/R/Lib32/metR/extdata/temperature.nc
     1: expect_known_output(ReadNetCDF(file, subset = list(lat = -90:20)), "readnetcdf_subset") at testthat/test_ReadNetCDF.R:11
     2: append(act, eval_with_output(object, print = print, width = width))
     3: eval_with_output(object, print = print, width = width)
     4: withr::with_output_sink(temp, withVisible(code))
     5: force(code)
     6: withVisible(code)
     7: ReadNetCDF(file, subset = list(lat = -90:20))
     8: ncdf4::nc_open(file)
     9: stop(paste("Error in nc_open trying to open file", filename))
    
     Error in R_nc4_open: NetCDF: HDF error
     ── 3. Error: naming works (@test_ReadNetCDF.R#17) ─────────────────────────────
     Error in nc_open trying to open file /home/ripley/R/Lib32/metR/extdata/temperature.nc
     1: expect_true({
     t <- ReadNetCDF(file, vars = c(air2 = "air"))
     "air2" %in% colnames(t)
     }) at testthat/test_ReadNetCDF.R:17
     2: quasi_label(enquo(object), label, arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: ReadNetCDF(file, vars = c(air2 = "air")) at testthat/test_ReadNetCDF.R:18
     5: ncdf4::nc_open(file)
     6: stop(paste("Error in nc_open trying to open file", filename))
    
     Error in R_nc4_open: NetCDF: HDF error
     ── 4. Error: different outs work (@test_ReadNetCDF.R#24) ──────────────────────
     Error in nc_open trying to open file /home/ripley/R/Lib32/metR/extdata/temperature.nc
     1: expect_s3_class(ReadNetCDF(file), "data.table") at testthat/test_ReadNetCDF.R:24
     2: quasi_label(enquo(object), arg = "object")
     3: eval_bare(get_expr(quo), get_env(quo))
     4: ReadNetCDF(file)
     5: ncdf4::nc_open(file)
     6: stop(paste("Error in nc_open trying to open file", filename))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 53 SKIPPED: 0 WARNINGS: 0 FAILED: 4
     1. Error: returns a data.table (@test_ReadNetCDF.R#6)
     2. Error: subsetting works (@test_ReadNetCDF.R#11)
     3. Error: naming works (@test_ReadNetCDF.R#17)
     4. Error: different outs work (@test_ReadNetCDF.R#24)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.4.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘Visualization-tools.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘Visualization-tools.Rmd’
    
    --- re-building ‘Working-with-data.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 32-40 (Working-with-data.Rmd)
    Error: processing vignette 'Working-with-data.Rmd' failed with diagnostics:
    Error in nc_open trying to open file /home/ripley/R/Lib32/metR/extdata/temperature.nc
    --- failed re-building ‘Working-with-data.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘Working-with-data.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86