CRAN Package Check Results for Package gdm

Last updated on 2023-03-31 08:54:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.0-9.1 52.36 360.17 412.53 NOTE
r-devel-linux-x86_64-debian-gcc 1.5.0-9.1 39.10 275.20 314.30 NOTE
r-devel-linux-x86_64-fedora-clang 1.5.0-9.1 507.82 NOTE
r-devel-linux-x86_64-fedora-gcc 1.5.0-9.1 492.35 NOTE
r-devel-windows-x86_64 1.5.0-9.1 67.00 0.00 67.00 ERROR
r-patched-linux-x86_64 1.5.0-9.1 41.02 341.95 382.97 NOTE
r-release-linux-x86_64 1.5.0-9.1 44.31 340.48 384.79 OK
r-release-macos-arm64 1.5.0-9.1 104.00 OK
r-release-macos-x86_64 1.5.0-9.1 152.00 OK
r-release-windows-x86_64 1.5.0-9.1 68.00 363.00 431.00 NOTE
r-oldrel-macos-arm64 1.5.0-9.1 112.00 OK
r-oldrel-macos-x86_64 1.5.0-9.1 144.00 OK
r-oldrel-windows-ix86+x86_64 1.5.0-9.1 126.00 441.00 567.00 NOTE

Check Details

Version: 1.5.0-9.1
Check: C++ specification
Result: NOTE
     Specified C++11: please drop specification unless essential
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64

Version: 1.5.0-9.1
Check: installed package size
Result: NOTE
     installed size is 5.1Mb
     sub-directories of 1Mb or more:
     extdata 3.0Mb
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.5.0-9.1
Check: examples
Result: ERROR
    Running examples in 'gdm-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: formatsitepair
    > ### Title: Combines Biological and Environmental Data to Produce a
    > ### GDM-formatted Site-Pair Table
    > ### Aliases: formatsitepair
    > ### Keywords: gdm
    >
    > ### ** Examples
    >
    > ## tabular data
    > # start with the southwest data table
    > head(southwest)
     species site awcA phTotal sandA shcA solumDepth bio5 bio6
    1 spp1 1066 14.4725 546.1800 71.3250 178.8650 875.1725 31.43824 5.058823
    2 spp1 1026 16.2575 470.9950 68.8975 105.8400 928.4925 33.14412 4.852941
    3 spp1 1025 23.1375 459.7425 71.4700 88.3550 892.2275 32.84000 4.817143
    4 spp1 1026 16.2575 470.9950 68.8975 105.8400 928.4925 33.14412 4.852941
    5 spp1 1027 17.0175 489.3950 74.6775 147.2125 951.9050 33.17813 4.590625
    6 spp1 1047 17.3625 515.0825 75.7525 164.1875 981.4750 32.61579 4.676316
     bio15 bio18 bio19 Lat Long
    1 40.38235 0 132.6471 -32.99425 118.7573
    2 48.20588 0 140.2941 -32.04285 118.3495
    3 53.88571 43 145.0571 -31.99067 117.8260
    4 48.20588 0 140.2941 -32.04285 118.3495
    5 44.00000 0 135.6875 -32.09326 118.8736
    6 42.00000 0 134.0263 -32.54354 118.8157
    > sppData <- southwest[c(1,2,13,14)]
    > envTab <- southwest[c(2:ncol(southwest))]
    >
    > #########table type 1
    > ## site-species table without coordinates
    > testData1a <- reshape2::dcast(sppData, site~species)
    Using Long as value column: use value.var to override.
    Aggregation function missing: defaulting to length
    > ##site-species table with coordinates
    > coords <- unique(sppData[, 2:ncol(sppData)])
    > testData1b <- merge(testData1a, coords, by="site")
    > ## site-species, table-table
    > exFormat1a <- formatsitepair(testData1a, 1, siteColumn="site", XColumn="Long",
    + YColumn="Lat", predData=envTab)
    >
    > #' # next, let's try environmental raster data
    > ## not run
    > # rastFile <- system.file("./extdata/swBioclims.grd", package="gdm")
    > # envRast <- stack(rastFile)
    >
    > ## site-species, table-raster
    > ## not run
    > # exFormat1b <- formatsitepair(testData1b, 1, siteColumn="site", XColumn="Long",
    > # YColumn="Lat", predData=envRast)
    >
    > #########table type 2
    > ## site xy spp list, table-table
    > exFormat2a <- formatsitepair(sppData, 2, XColumn="Long", YColumn="Lat",
    + sppColumn="species", siteColumn="site", predData=envTab)
    Warning in formatsitepair(sppData, 2, XColumn = "Long", YColumn = "Lat", :
     No abundance column was specified, so the species data are
     assumed to be presences.
    Aggregation function missing: defaulting to length
    Error: cannot allocate vector of size 7 Kb
    Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.5.0-9.1
Check: PDF version of manual
Result: WARN
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
Flavor: r-devel-windows-x86_64

Version: 1.5.0-9.1
Check: PDF version of manual without index
Result: ERROR
    Re-running with no redirection of stdout/stderr.
Flavor: r-devel-windows-x86_64