Last updated on 2026-06-09 21:54:35 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.3-1 | 10.87 | 99.09 | 109.96 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.3-1 | 7.63 | 75.92 | 83.55 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.3-1 | 20.00 | 169.45 | 189.45 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.3-1 | 19.00 | 151.22 | 170.22 | OK | |
| r-devel-windows-x86_64 | 1.3-1 | 12.00 | 118.00 | 130.00 | ERROR | |
| r-patched-linux-x86_64 | 1.3-1 | 11.08 | 92.67 | 103.75 | OK | |
| r-release-linux-x86_64 | 1.3-1 | 11.00 | 92.55 | 103.55 | OK | |
| r-release-macos-arm64 | 1.3-1 | 3.00 | 25.00 | 28.00 | OK | |
| r-release-macos-x86_64 | 1.3-1 | 8.00 | 98.00 | 106.00 | OK | |
| r-release-windows-x86_64 | 1.3-1 | 12.00 | 109.00 | 121.00 | OK | |
| r-oldrel-macos-arm64 | 1.3-1 | OK | ||||
| r-oldrel-macos-x86_64 | 1.3-1 | 7.00 | 83.00 | 90.00 | OK | |
| r-oldrel-windows-x86_64 | 1.3-1 | 18.00 | 143.00 | 161.00 | ERROR |
Version: 1.3-1
Check: examples
Result: ERROR
Running examples in 'MapGAM-Ex.R' failed
The error most likely occurred in:
> ### Name: trimdata
> ### Title: Trim a Data Set To Map Boundaries
> ### Aliases: trimdata
> ### Keywords: misc
>
> ### ** Examples
>
>
> # This example uses the "sf" package to read in an external ESRI shapefile for Maine
> if (require(sf)) {
+ # download example shapefile zip from github, and unzip
+ zippath <- paste(tempdir(),"Income_schooling.zip",sep="/")
+ download.file("https://github.com/mgimond/Spatial/raw/main/Data/Income_schooling.zip",
+ destfile = zippath, mode='wb')
+ unzip(zippath, exdir = tempdir())
+
+ # read shapefile into sf format
+ shppath <- paste(tempdir(),"Income_schooling.shp",sep="/")
+ basemap0 <- st_read(shppath)
+
+ # Create example data by randomly sampling within bounding box
+ rs <- st_bbox(basemap0) # get ranges of X and Y
+ MEdata <- data.frame(X=runif(300,rs[1],rs[3]), Y=runif(300,rs[2],rs[4]))
+ plot(basemap0["NAME"], reset=FALSE)
+ plot(st_as_sf(MEdata,coords=1:2), add=TRUE) # plot data in black
+
+ # trim data to basemap, and plot trimmed data with red X's
+ dME <- trimdata(MEdata, basemap0)
+ plot(st_as_sf(dME,coords=1:2), col="red", pch="X", add=TRUE)
+ dev.off() # clear map settings
+ }
Loading required package: sf
Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE
trying URL 'https://github.com/mgimond/Spatial/raw/main/Data/Income_schooling.zip'
Warning in download.file("https://github.com/mgimond/Spatial/raw/main/Data/Income_schooling.zip", :
cannot open URL 'https://github.com/mgimond/Spatial/raw/main/Data/Income_schooling.zip': HTTP status was '504 Gateway Timeout'
Error in download.file("https://github.com/mgimond/Spatial/raw/main/Data/Income_schooling.zip", :
cannot open URL 'https://github.com/mgimond/Spatial/raw/main/Data/Income_schooling.zip'
Execution halted
Flavors: r-devel-windows-x86_64, r-oldrel-windows-x86_64