CRAN Package Check Results for Package rtop

Last updated on 2024-06-12 19:54:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6-9 13.38 210.87 224.25 OK
r-devel-linux-x86_64-debian-gcc 0.6-9 11.17 118.24 129.41 ERROR
r-devel-linux-x86_64-fedora-clang 0.6-9 264.58 OK
r-devel-linux-x86_64-fedora-gcc 0.6-9 251.15 OK
r-devel-windows-x86_64 0.6-9 14.00 150.00 164.00 OK
r-patched-linux-x86_64 0.6-9 17.70 198.13 215.83 OK
r-release-linux-x86_64 0.6-9 12.45 199.11 211.56 OK
r-release-macos-arm64 0.6-9 64.00 OK
r-release-macos-x86_64 0.6-9 109.00 OK
r-release-windows-x86_64 0.6-9 14.00 152.00 166.00 OK
r-oldrel-macos-arm64 0.6-9 89.00 OK
r-oldrel-macos-x86_64 0.6-9 155.00 OK
r-oldrel-windows-x86_64 0.6-9 18.00 181.00 199.00 OK

Check Details

Version: 0.6-9
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'intamap', 'reshape2' Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6-9
Check: examples
Result: ERROR Running examples in ‘rtop-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: useRtopWithIntamap > ### Title: Integrates the rtop package with the 'intamap' package > ### Aliases: useRtopWithIntamap > ### Keywords: plot > > ### ** Examples > > library(intamap) Error in library(intamap) : there is no package called ‘intamap’ Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6-9
Check: tests
Result: ERROR Running ‘rtop.R’ [10s/16s] Running ‘rtop_sf.R’ [37s/51s] Comparing ‘rtop_sf.Rout’ to ‘rtop_sf.Rout.save’ ... OK Running the tests in ‘tests/rtop.R’ failed. Complete output: > set.seed(1501) > #----------------------------- > ## IGNORE_RDIFF_BEGIN > library(rtop) > if (interactive()) options(error = recover) > # Read directly from shape-files in data directory > rpath = system.file("extdata",package="rtop") > library(sf) Linking to GEOS 3.12.1, GDAL 3.9.0, PROJ 9.4.1; sf_use_s2() is TRUE > observations = st_read(rpath, "observations") Reading layer `observations' from data source `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rtop/extdata' using driver `ESRI Shapefile' Simple feature collection with 57 features and 7 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: 392041.1 ymin: 454983.1 xmax: 512819.5 ymax: 543984.4 Projected CRS: Lambert_Conformal_Conic > predictionLocations = st_read(rpath, "predictionLocations") Reading layer `predictionLocations' from data source `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rtop/extdata' using driver `ESRI Shapefile' Simple feature collection with 235 features and 5 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: 393416.8 ymin: 454919.1 xmax: 519903.3 ymax: 543984.4 Projected CRS: Lambert_Conformal_Conic > ## IGNORE_RDIFF_END > > > observations = as(observations, "Spatial") > predictionLocations = as(predictionLocations, "Spatial") > #Finding a few prediction locations of them > > observations = observations[1:30,] > predictionLocations = predictionLocations[1:2,] > > observations$obs = observations$QSUMMER_OB/observations$AREASQKM > > # Setting some parameters > params = list(gDist = TRUE, cloud = FALSE, rresol = 25, hresol = 3, debug.level = -1) > # Build an object > rtopObj = createRtopObject(observations,predictionLocations, params = params, formulaString = "obs ~ 1" ) > # Fit a variogram (function also creates it) > rtopObj = rtopFitVariogram(rtopObj, iprint = -1) > print(rtopObj$variogramModel, 3) $model [1] "Ex1" $params [1] 2.51e-04 4.26e+05 0.00e+00 1.01e-05 9.23e-01 attr(,"class") [1] "rtopVariogramModel" attr(,"SSErr") [1] 0.557 attr(,"criterion") [1] 0.0981 > #rtopObj = checkVario(rtopObj) > rtopObj2 = rtopKrige(rtopObj, cv = TRUE) [1] "Sampling points from 30 areas" > > > print(attr(rtopObj2$varMatObs,"variogramModel"), 3) $model [1] "Ex1" $params [1] 2.51e-04 4.26e+05 0.00e+00 1.01e-05 9.23e-01 attr(,"class") [1] "rtopVariogramModel" attr(,"SSErr") [1] 0.557 attr(,"criterion") [1] 0.0981 > > rtopObj3 = rtopKrige(rtopObj) [1] "Sampling points from 30 areas" [1] "Sampling points from 2 areas" [1] "Creating prediction semivariance matrix. This can take some time." > > > varmat = varMat(observations, predictionLocations, variogramModel = rtopObj$variogramModel, + gDistEst = TRUE, gDistPred = TRUE, rresol = 25, hresol = 3) [1] "Sampling points from 30 areas" [1] "Sampled on average 54.2 points from 30 areas" [1] "Sampling points from 2 areas" [1] "Sampled on average 77 points from 2 areas" > > all.equal(varmat$varMatObs, rtopObj2$varMatObs) [1] TRUE > rtopObj4 = rtopKrige(rtopObj2) [1] "Sampling points from 2 areas" [1] "Creating prediction semivariance matrix. This can take some time." > > #debug(rtop:::rtopDisc.SpatialPolygons) > # rtopObj5 = rtopKrige(rtopObj, params = list(cnAreas = 5, cDlim = 10, nclus = 2)) > > print(summary(rtopObj2$predictions)) Length Class Mode 30 SpatialPolygonsDataFrame S4 > print(summary(rtopObj3$predictions)) Length Class Mode 2 SpatialPolygonsDataFrame S4 > print(summary(rtopObj4$predictions)) Length Class Mode 2 SpatialPolygonsDataFrame S4 > print(all.equal(rtopObj4$predictions, rtopObj3$predictions)) [1] TRUE > #spplot(rtopObj$predictions,col.regions = bpy.colors(), c("var1.pred","var1.var")) > > # Cross-validation > #spplot(rtopObj2$predictions,col.regions = bpy.colors(), c("observed","var1.pred")) > print(cor(rtopObj2$predictions$observed,rtopObj2$predictions$var1.pred)) [1] 0.1678744 > > > > > set.seed(1501) > library(intamap) Error in library(intamap) : there is no package called 'intamap' Execution halted Flavor: r-devel-linux-x86_64-debian-gcc