CRAN Package Check Results for Package RavenR

Last updated on 2021-05-24 07:50:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.9 20.29 184.38 204.67 OK
r-devel-linux-x86_64-debian-gcc 2.0.9 13.73 136.73 150.46 OK
r-devel-linux-x86_64-fedora-clang 2.0.9 252.15 NOTE
r-devel-linux-x86_64-fedora-gcc 2.0.9 235.17 NOTE
r-devel-windows-x86_64 2.0.9 30.00 193.00 223.00 OK
r-devel-windows-x86_64-gcc10-UCRT 2.0.9 NOTE
r-patched-linux-x86_64 2.0.9 22.01 172.30 194.31 OK
r-patched-solaris-x86 2.0.9 322.30 ERROR
r-release-linux-x86_64 2.0.9 15.98 171.12 187.10 OK
r-release-macos-x86_64 2.0.9 NOTE
r-release-windows-ix86+x86_64 2.0.9 30.00 193.00 223.00 OK
r-oldrel-macos-x86_64 2.0.9 ERROR
r-oldrel-windows-ix86+x86_64 2.0.9 27.00 159.00 186.00 OK

Check Details

Version: 2.0.9
Check: package dependencies
Result: NOTE
    Imports includes 23 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.0.9
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘lifecycle’ ‘rgdal’ ‘rgeos’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-x86_64

Version: 2.0.9
Check: examples
Result: ERROR
    Running examples in ‘RavenR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: rvn_gen_gridweights
    > ### Title: Generate Raven grid weights from shapefile
    > ### Aliases: rvn_gen_gridweights
    >
    > ### ** Examples
    >
    >
    > # load example rvh file
    > nith <- system.file("extdata",'Nith.rvh', package = "RavenR")
    > rvh <- rvn_rvh_read(nith)
    >
    > # adjust HRU shapefile to one per subbasin for demonstration
    > rvh$HRUtable <- rvh$HRUtable[c(1,6,15,25),]
    > rvh$HRUtable$Area <- rvh$SBtable$Area
    > rvh$HRUtable$ID <- rvh$HRUtable$SBID
    >
    > # define HRU shapefile path (use subbasin shapefile for example)
    > hrushpfile <- system.file("extdata","Nith_shapefile_sample.shp",package = "RavenR")
    >
    > # get grid shapefile from netcdf file
    > nithnc <- system.file("extdata/Nith_era5_sample.nc", package="RavenR")
    > gridshp <- rvn_netcdf_to_gridshp(ncfile=nithnc, projID=26917)
    >
    > # calculate gridweights
    > gw <- rvn_gen_gridweights(hrushpfile, gridshp,
    + gridIDcol = 'GridIDs', HRUIDcol = "subID")
    Error in rvn_gen_gridweights(hrushpfile, gridshp, gridIDcol = "GridIDs", :
     The projections of the HRU and grid shapefiles need to be the same (checked with raster::crs() ), please reproject the shapefiles accordingly.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 2.0.9
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-oldrel-macos-x86_64