CRAN Package Check Results for Package amber

Last updated on 2020-03-23 06:48:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.6 12.42 76.43 88.85 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.6 8.87 58.96 67.83 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.6 104.47 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.6 99.66 ERROR
r-devel-windows-ix86+x86_64 0.1.6 20.00 84.00 104.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.1.6 22.00 117.00 139.00 NOTE
r-patched-linux-x86_64 0.1.6 7.32 89.44 96.76 OK
r-patched-solaris-x86 0.1.6 133.60 ERROR
r-release-linux-x86_64 0.1.6 8.76 88.87 97.63 OK
r-release-windows-ix86+x86_64 0.1.6 18.00 113.00 131.00 NOTE
r-release-osx-x86_64 0.1.6 NOTE
r-oldrel-windows-ix86+x86_64 0.1.6 14.00 103.00 117.00 NOTE
r-oldrel-osx-x86_64 0.1.6 NOTE

Check Details

Version: 0.1.6
Check: examples
Result: ERROR
    Running examples in 'amber-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plotNc
    > ### Title: Plots the time-mean of a variable stored in NetCDF model output
    > ### on a regular grid
    > ### Aliases: plotNc
    >
    > ### ** Examples
    >
    >
    > library(amber)
    > library(ncdf4)
    > library(raster)
    Loading required package: sp
    >
    > long.name <- 'Gross primary productivity'
    > nc.mod <- system.file('extdata/modelRegular', 'gpp_monthly.nc', package = 'amber')
    > mod.id <- 'CLASSIC' # define a model experiment ID
    > unit.conv.mod <- 86400*1000 # optional unit conversion for model data
    > variable.unit <- 'gC m$^{-2}$ day$^{-1}$' # unit after conversion (LaTeX notation)
    > timePeriod <- c('1980-01', '2017-12')
    > outlier.factor <- 1
    >
    > plotNc(long.name, nc.mod, mod.id, unit.conv.mod, variable.unit, timePeriod, outlier.factor)
    Warning in .local(x, ...) :
     this does not look like an appropriate object for this function
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: plotNc -> plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.6
Check: installed package size
Result: NOTE
     installed size is 12.2Mb
     sub-directories of 1Mb or more:
     extdata 11.7Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.1.6
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘rgdal’
     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.1.6
Check: examples
Result: ERROR
    Running examples in ‘amber-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plotNc
    > ### Title: Plots the time-mean of a variable stored in NetCDF model output
    > ### on a regular grid
    > ### Aliases: plotNc
    >
    > ### ** Examples
    >
    >
    > library(amber)
    > library(ncdf4)
    > library(raster)
    Loading required package: sp
    >
    > long.name <- 'Gross primary productivity'
    > nc.mod <- system.file('extdata/modelRegular', 'gpp_monthly.nc', package = 'amber')
    > mod.id <- 'CLASSIC' # define a model experiment ID
    > unit.conv.mod <- 86400*1000 # optional unit conversion for model data
    > variable.unit <- 'gC m$^{-2}$ day$^{-1}$' # unit after conversion (LaTeX notation)
    > timePeriod <- c('1980-01', '2017-12')
    > outlier.factor <- 1
    >
    > plotNc(long.name, nc.mod, mod.id, unit.conv.mod, variable.unit, timePeriod, outlier.factor)
    Warning in .local(x, ...) :
     this does not look like an appropriate object for this function
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: plotNc -> plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86