CRAN Package Check Results for Package amber

Last updated on 2019-10-31 00:50:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 9.53 55.42 64.95 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.5 7.51 41.97 49.48 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.5 102.41 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.5 102.24 NOTE
r-devel-windows-ix86+x86_64 0.1.5 25.00 117.00 142.00 NOTE
r-patched-linux-x86_64 0.1.5 8.18 54.04 62.22 ERROR
r-patched-solaris-x86 0.1.5 117.90 ERROR
r-release-linux-x86_64 0.1.5 7.70 54.19 61.89 ERROR
r-release-windows-ix86+x86_64 0.1.5 20.00 121.00 141.00 NOTE
r-release-osx-x86_64 0.1.5 NOTE
r-oldrel-windows-ix86+x86_64 0.1.5 14.00 131.00 145.00 NOTE
r-oldrel-osx-x86_64 0.1.5 NOTE

Check Details

Version: 0.1.5
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: intFun.coast
    > ### Title: Reproject coastline
    > ### Aliases: intFun.coast
    > ### Keywords: internal
    >
    > ### ** Examples
    >
    >
    > my.xlim <- c(-171, -23)
    > my.ylim <- c(32, 75)
    > my.projection='+proj=ob_tran +o_proj=longlat +o_lon_p=83. +o_lat_p=42.5 +lon_0=263.'
    > shp.filename = system.file('extdata/ne_110m_land/ne_110m_land.shp', package = 'amber')
    > land <- intFun.coast(my.xlim, my.ylim, my.projection, shp.filename)
    Warning in RGEOSUnaryPredFunc(spgeom, byid, "rgeos_isvalid") :
     Ring Self-intersection at or near point -132.71000788000001 54.040009320000003
    x[i, ] is invalid
    Warning in rgeos::gIntersection(x[i, ], y, byid = TRUE, drop_lower_td = TRUE) :
     Invalid objects found; consider using set_RGEOS_CheckValidity(2L)
    Error in RGEOSBinTopoFunc(spgeom1, spgeom2, byid, id, drop_lower_td, unaryUnion_if_byid_false, :
     TopologyException: Input geom 0 is invalid: Ring Self-intersection at or near point -132.71000788000001 54.040009320000003 at -132.71000788000001 54.040009320000003
    Calls: intFun.coast ... .cropSpatialPolygons -> <Anonymous> -> RGEOSBinTopoFunc
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.5
Check: installed package size
Result: NOTE
     installed size is 10.8Mb
     sub-directories of 1Mb or more:
     extdata 10.3Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, 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.5
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘rgeos’
     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.5
Check: examples
Result: ERROR
    Running examples in ‘amber-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: scores.fluxnet.nc
    > ### Title: Scores for FLUXNET reference data in NetCDF format
    > ### Aliases: scores.fluxnet.nc
    >
    > ### ** Examples
    >
    >
    > library(amber)
    > library(doParallel)
    Loading required package: foreach
    Loading required package: iterators
    Loading required package: parallel
    > library(foreach)
    > library(ncdf4)
    > library(parallel)
    > library(raster)
    Loading required package: sp
    > long.name <- 'Gross primary productivity'
    > nc.mod <- system.file('extdata/modelRegular', 'gpp_monthly.nc', package = 'amber')
    > nc.ref <- system.file('extdata/referenceRegular', 'gpp_FLUXNET.nc', package = 'amber')
    > mod.id <- 'CLASSIC' # define a model experiment ID
    > ref.id <- 'FLUXNET' # give reference dataset a name
    > unit.conv.mod <- 86400*1000 # optional unit conversion for model data
    > unit.conv.ref <- 86400*1000 # optional unit conversion for reference data
    > variable.unit <- 'gC m$^{-2}$ day$^{-1}$' # unit after conversion (LaTeX notation)
    > score.weights <- c(1,2,1,1,1) # score weights of S_bias, S_rmse, S_phase, S_iav, S_dist
    > # global plot
    > scores.fluxnet.nc(long.name, nc.mod, nc.ref, mod.id, ref.id, unit.conv.mod,
    + unit.conv.ref, variable.unit, score.weights)
    Error in R_nc4_open: NetCDF: HDF error
    Error in ncdf4::nc_open(nc.ref) :
     Error in nc_open trying to open file /home/ripley/R/Lib32/amber/extdata/referenceRegular/gpp_FLUXNET.nc
    Calls: scores.fluxnet.nc -> <Anonymous>
    Execution halted
Flavor: r-patched-solaris-x86