CRAN Package Check Results for Package diseasemapping

Last updated on 2020-04-30 07:48:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.6 6.67 84.62 91.29 NOTE
r-devel-linux-x86_64-debian-gcc 1.4.6 4.66 64.07 68.73 NOTE
r-devel-linux-x86_64-fedora-clang 1.4.6 104.58 ERROR
r-devel-linux-x86_64-fedora-gcc 1.4.6 134.66 ERROR
r-devel-windows-ix86+x86_64 1.4.6 16.00 104.00 120.00 OK
r-patched-linux-x86_64 1.4.6 5.28 84.49 89.77 NOTE
r-patched-solaris-x86 1.4.6 162.40 NOTE
r-release-linux-x86_64 1.4.6 6.44 83.72 90.16 NOTE
r-release-osx-x86_64 1.4.6 NOTE
r-release-windows-ix86+x86_64 1.4.6 11.00 104.00 115.00 OK
r-oldrel-osx-x86_64 1.4.6 NOTE
r-oldrel-windows-ix86+x86_64 1.4.6 9.00 113.00 122.00 OK

Check Details

Version: 1.4.6
Check: package dependencies
Result: NOTE
    Package which this enhances but not available for checking: 'INLA'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.4.6
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘mapmisc’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.4.6
Check: examples
Result: ERROR
    Running examples in ‘diseasemapping-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: kentucky
    > ### Title: Larynx cancer cases and population in Kentucky
    > ### Aliases: kentucky kentuckyTract larynx larynxRates
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > data('kentucky')
    >
    > head(larynx)
     County Cases sex age
    1 Hickman 2 M NA
    2 Caldwell 3 M NA
    3 Anderson 3 M NA
    4 Marion 3 M NA
    5 Wayne 4 M NA
    6 Lincoln 3 M NA
    > 10^5*larynxRates[paste(c("M","F"), 50, sep="_")]
    M_50 F_50
     9.9 2.3
    >
    >
    > kentucky2 = getSMR(kentucky, larynxRates, larynx,
    + regionCode="County")
    >
    > names(kentucky2)
     [1] "County" "M.0" "F.0" "M.5" "F.5"
     [6] "M.10" "F.10" "M.15" "F.15" "M.20"
    [11] "F.20" "M.25" "F.25" "M.30" "F.30"
    [16] "M.35" "F.35" "M.40" "F.40" "M.45"
    [21] "F.45" "M.50" "F.50" "M.55" "F.55"
    [26] "M.60" "F.60" "M.65" "F.65" "M.70"
    [31] "F.70" "M.75" "F.75" "M.80" "F.80"
    [36] "M.85" "F.85" "poverty" "expected" "logExpected"
    [41] "observed" "SMR"
    > length(kentucky2)
    [1] 120
    >
    > data('kentuckyTract')
    > length(kentuckyTract)
    [1] 994
    >
    > if(require('mapmisc', quietly=TRUE)) {
    + mycol = colourScale(kentucky2$SMR,
    + breaks=10, dec=-log10(0.5), style='quantile')
    + map.new(kentucky2)
    + plot(kentucky2, col=mycol$plot, border='#00000040',add=TRUE)
    + legendBreaks('topright', mycol)
    + } else {
    + plot(kentucky2)
    + }
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called ‘mapmisc’
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc