CRAN Package Check Results for Package MTA

Last updated on 2018-05-14 01:46:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 1.74 34.40 36.14 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 2.09 30.48 32.57 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 49.05 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 49.02 ERROR
r-devel-windows-ix86+x86_64 0.1.1 4.00 72.00 76.00 ERROR
r-patched-linux-x86_64 0.1.1 2.56 35.19 37.75 ERROR
r-patched-solaris-x86 0.1.1 81.20 ERROR
r-release-linux-x86_64 0.1.1 2.50 35.15 37.65 ERROR
r-release-windows-ix86+x86_64 0.1.1 4.00 72.00 76.00 ERROR
r-release-osx-x86_64 0.1.1 OK
r-oldrel-windows-ix86+x86_64 0.1.1 6.00 58.00 64.00 ERROR
r-oldrel-osx-x86_64 0.1.1 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘MTA-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: gdev
    > ### Title: General Deviation
    > ### Aliases: gdev
    >
    > ### ** Examples
    >
    > # load data
    > data("GrandParisMetropole")
    > # compute absolute global deviation
    > com$gdevabs <- gdev(x = com, var1 = "INC", var2 = "TH", type = "abs")
    > # compute relative global deviation
    > com$gdevrel <- gdev(x = com, var1 = "INC", var2 = "TH", type = "rel")
    >
    > # Deviations maps
    > if(require('cartography')){
    + # set graphical parameters
    + par(mar = c(0,0,1.2,0))
    + # set breaks
    + bks <- c(min(com$gdevrel),50,75,100,125,150,max(com$gdevrel))
    + cols <- carto.pal(pal1 = "blue.pal", n1 = 3,
    + pal2 = "wine.pal", n2 = 3)
    + # plot a choropleth map of the relative global deviation
    + choroLayer(spdf = com.spdf, df = com, var = "gdevrel",
    + legend.pos = "topleft",
    + legend.title.txt = "Relative Deviation",
    + breaks = bks, border = NA,
    + col = cols)
    + # add symbols proportional to the absolute general deviation
    + com$sign <- ifelse(test = com$gdevabs<0, yes = "negative", no = "positive")
    + propSymbolsTypoLayer(spdf = com.spdf, df = com, var = "gdevabs",var2 = "sign",
    + legend.var.pos = "left",legend.values.rnd = -2,
    + legend.var2.values.order = c("positive", "negative"),
    + legend.var.title.txt = "Absolute Deviation",
    + col = c("#ff000050","#0000ff50"),legend.var2.pos = "n",
    + legend.var.style = "e", inches = 0.2)
    + # add EPT boundaries
    + plot(ept.spdf, add=TRUE)
    + # add a layout
    + layoutLayer(title = "General Deviation (reference: Grand Paris Metropole)",
    + sources = "GEOFLA® 2015 v2.1, Apur, impots.gouv.fr",
    + north = TRUE,
    + author = "MTA")
    + }
    Loading required package: cartography
    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-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘MTA-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: gdev
    > ### Title: General Deviation
    > ### Aliases: gdev
    >
    > ### ** Examples
    >
    > # load data
    > data("GrandParisMetropole")
    > # compute absolute global deviation
    > com$gdevabs <- gdev(x = com, var1 = "INC", var2 = "TH", type = "abs")
    > # compute relative global deviation
    > com$gdevrel <- gdev(x = com, var1 = "INC", var2 = "TH", type = "rel")
    >
    > # Deviations maps
    > if(require('cartography')){
    + # set graphical parameters
    + par(mar = c(0,0,1.2,0))
    + # set breaks
    + bks <- c(min(com$gdevrel),50,75,100,125,150,max(com$gdevrel))
    + cols <- carto.pal(pal1 = "blue.pal", n1 = 3,
    + pal2 = "wine.pal", n2 = 3)
    + # plot a choropleth map of the relative global deviation
    + choroLayer(spdf = com.spdf, df = com, var = "gdevrel",
    + legend.pos = "topleft",
    + legend.title.txt = "Relative Deviation",
    + breaks = bks, border = NA,
    + col = cols)
    + # add symbols proportional to the absolute general deviation
    + com$sign <- ifelse(test = com$gdevabs<0, yes = "negative", no = "positive")
    + propSymbolsTypoLayer(spdf = com.spdf, df = com, var = "gdevabs",var2 = "sign",
    + legend.var.pos = "left",legend.values.rnd = -2,
    + legend.var2.values.order = c("positive", "negative"),
    + legend.var.title.txt = "Absolute Deviation",
    + col = c("#ff000050","#0000ff50"),legend.var2.pos = "n",
    + legend.var.style = "e", inches = 0.2)
    + # add EPT boundaries
    + plot(ept.spdf, add=TRUE)
    + # add a layout
    + layoutLayer(title = "General Deviation (reference: Grand Paris Metropole)",
    + sources = "GEOFLA® 2015 v2.1, Apur, impots.gouv.fr",
    + north = TRUE,
    + author = "MTA")
    + }
    Loading required package: cartography
    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, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.1
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 131-173 (MTA_Scenario.Rmd)
    Error: processing vignette 'MTA_Scenario.Rmd' failed with diagnostics:
    cannot coerce type 'S4' to vector of type 'double'
    Execution halted
Flavor: r-patched-solaris-x86