CRAN Package Check Results for Package MapGAM

Last updated on 2024-05-03 16:54:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3 14.84 114.71 129.55 NOTE
r-devel-linux-x86_64-fedora-clang 1.3 159.39 NOTE
r-devel-linux-x86_64-fedora-gcc 1.3 159.00 NOTE
r-devel-windows-x86_64 1.3 13.00 104.00 117.00 NOTE
r-patched-linux-x86_64 1.3 15.40 108.28 123.68 NOTE
r-release-linux-x86_64 1.3 14.80 112.29 127.09 NOTE
r-release-macos-arm64 1.3 46.00 NOTE
r-release-windows-x86_64 1.3 12.00 100.00 112.00 ERROR
r-oldrel-macos-arm64 1.3 56.00 OK
r-oldrel-macos-x86_64 1.3 130.00 OK
r-oldrel-windows-x86_64 1.3 16.00 125.00 141.00 OK

Check Details

Version: 1.3
Check: Rd files
Result: NOTE checkRd: (-1) MapGAM-package.Rd:28: Lost braces 28 | Bai L, Gillen DL, Bartell SM, Vieira VM. \doi{10.32614/RJ-2020-001}{Mapping smoothed spatial effect estimates from individual-level data: MapGAM}. The R Journal 2020, 12:32-48. | ^ checkRd: (-1) MapGAM-package.Rd:32: Lost braces 32 | Kelsall J, Diggle P. \doi{10.1111/1467-9876.00128}{Spatial variation in risk of disease: a nonparametric binary regression approach}. J Roy Stat Soc C-App 1998, 47:559-573. | ^ checkRd: (-1) MapGAM-package.Rd:34: Lost braces 34 | Tang IW, Bartell SM, Vieira VM. \doi{10.1016/j.sste.2023.100584}{Unmatched Spatially Stratified Controls: A simulation study examining efficiency and precision using spatially-diverse controls and generalized additive models}. Spatial and Spatio-temporal Epidemiology 2023, 45:100584. | ^ checkRd: (-1) MapGAM-package.Rd:36: Lost braces 36 | Vieira V, Webster T, Weinberg J, Aschengrau A, Ozonoff D. \doi{10.1186/1476-069X-4-11}{Spatial analysis of lung, colorectal, and breast cancer on Cape Cod: An application of generalized additive models to case-control data}. Environmental Health 2005, 4:11. | ^ checkRd: (-1) MapGAM-package.Rd:38: Lost braces 38 | Webster T, Vieira V, Weinberg J, Aschengrau A. \doi{10.1186/1476-072X-5-26}{Method for mapping population-based case-control studies using Generalized Additive Models}. International Journal of Health Geographics 2006, 5:26. | ^ checkRd: (-1) MapGAM-package.Rd:40: Lost braces 40 | Young RL, Weinberg J, Vieira V, Ozonoff A, Webster TF. \doi{10.1186/1476-072X-9-37}{A power comparison of generalized additive models and the spatial scan statistic in a case-control setting}. International Journal of Health Geographics 2010, 9:37. | ^ checkRd: (-1) modgam.Rd:108: Lost braces 108 | Bai L, Gillen DL, Bartell SM, Vieira VM. \doi{10.32614/RJ-2020-001}{Mapping smoothed spatial effect estimates from individual-level data: MapGAM}. The R Journal 2020, 12:32-48. | ^ checkRd: (-1) modgam.Rd:112-113: Lost braces 112 | Kelsall J, Diggle P. \doi{10.1111/1467-9876.00128}{Spatial variation in risk of disease: a nonparametric binary | ^ checkRd: (-1) modgam.Rd:115: Lost braces 115 | Vieira V, Webster T, Weinberg J, Aschengrau A, Ozonoff D. \doi{10.1186/1476-069X-4-11}{Spatial analysis of lung, colorectal, and breast cancer on Cape Cod: An application of generalized additive models to case-control data}. Environmental Health 2005, 4:11. | ^ checkRd: (-1) modgam.Rd:117: Lost braces 117 | Webster T, Vieira V, Weinberg J, Aschengrau A. \doi{10.1186/1476-072X-5-26}{Method for mapping population-based case-control studies using Generalized Additive Models}. International Journal of Health Geographics 2006, 5:26. | ^ checkRd: (-1) modgam.Rd:119: Lost braces 119 | Young RL, Weinberg J, Vieira V, Ozonoff A, Webster TF. \doi{10.1186/1476-072X-9-37}{A power comparison of generalized additive models and the spatial scan statistic in a case-control setting}. International Journal of Health Geographics 2010, 9:37. | ^ checkRd: (-1) sampcont.Rd:74: Lost braces 74 | Tang IW, Bartell SM, Vieira VM. \doi{10.1016/j.sste.2023.100584}{Unmatched Spatially Stratified Controls: A simulation study examining efficiency and precision using spatially-diverse controls and generalized additive models}. Spatial and Spatio-temporal Epidemiology 2023, 45:100584. | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64

Version: 1.3
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.12.1, GDAL 3.8.4, PROJ 9.3.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", : URL 'https://raw.githubusercontent.com/mgimond/Spatial/main/Data/Income_schooling.zip': status was 'SSL connect error' 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 Flavor: r-release-windows-x86_64