CRAN Package Check Results for Package recmap

Last updated on 2021-07-28 22:58:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.9 OK
r-devel-linux-x86_64-debian-gcc 1.0.9 19.55 126.32 145.87 OK
r-devel-linux-x86_64-fedora-clang 1.0.9 266.77 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.9 232.28 NOTE
r-devel-windows-x86_64 1.0.9 22.00 187.00 209.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.0.9 NOTE
r-patched-linux-x86_64 1.0.9 22.34 161.94 184.28 OK
r-patched-solaris-x86 1.0.9 261.80 NOTE
r-release-linux-x86_64 1.0.9 20.82 162.39 183.21 OK
r-release-macos-arm64 1.0.9 ERROR
r-release-macos-x86_64 1.0.9 NOTE
r-release-windows-ix86+x86_64 1.0.9 59.00 257.00 316.00 OK
r-oldrel-macos-x86_64 1.0.9 NOTE
r-oldrel-windows-ix86+x86_64 1.0.9 43.00 262.00 305.00 OK

Additional issues

M1mac

Check Details

Version: 1.0.9
Check: data for non-ASCII characters
Result: NOTE
     Note: found 1036 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.0.9
Check: examples
Result: ERROR
    Running examples in ‘recmap-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: recmapGA
    > ### Title: Genetic Algorithm Wrapper Function for recmap
    > ### Aliases: recmapGA
    >
    > ### ** Examples
    >
    >
    > ## The default fitnes function is currently defined as
    > function(idxOrder, Map, ...){
    +
    + Cartogram <- recmap(Map[idxOrder, ])
    + # a map region could not be placed;
    + # accept only feasible solutions!
    +
    + if (sum(Cartogram$topology.error == 100) > 0){return (0)}
    +
    + 1 / sum(Cartogram$relpos.error)
    + }
    function (idxOrder, Map, ...)
    {
     Cartogram <- recmap(Map[idxOrder, ])
     if (sum(Cartogram$topology.error == 100) > 0) {
     return(0)
     }
     1/sum(Cartogram$relpos.error)
    }
    >
    >
    > ## use Genetic Algorithms (GA >=3.0.0) as metaheuristic
    > set.seed(1)
    > res <- recmapGA(Map = checkerboard(4), pmutation = 0.25)
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a3 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : b4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : b4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : b4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : c1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : b4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : c1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : a1 could not be placed on the first attempt;
    Warning in recmap_(V, E) : d4 could not be placed on the first attempt;
    Error in gaperm_oxCrossover_Rcpp(object, parents) : index error
    Calls: recmapGA -> ga -> crossover -> gaperm_oxCrossover_Rcpp
    Execution halted
Flavor: r-release-macos-arm64

Version: 1.0.9
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-jss2711.R:9:3): reproducibility check for recmapGA using a 4x4 checkerboard (Figure 7) ──
     Error: index error
     Backtrace:
     █
     1. └─base::lapply(...) test-jss2711.R:9:2
     2. └─recmap:::FUN(X[[i]], ...)
     3. └─recmap::recmapGA(Map = checkerboard(4), pmutation = 0.25, parallel = FALSE) test-jss2711.R:13:4
     4. └─GA::ga(...)
     5. └─GA:::crossover(object, parents)
     6. └─GA:::gaperm_oxCrossover_Rcpp(object, parents)
    
     [ FAIL 1 | WARN 93 | SKIP 1 | PASS 23 ]
     Error: Test failures
     Execution halted
Flavor: r-release-macos-arm64

Version: 1.0.9
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘recmap.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Loading required package: GA
    Loading required package: foreach
    Loading required package: iterators
    Package 'GA' version 3.2.1
    Type 'citation("GA")' for citing this R package in publications.
    
    Attaching package: 'GA'
    
    The following object is masked from 'package:utils':
    
     de
    
    Loading required package: Rcpp
    Loading required package: sp
    Quitting from lines 201-207 (recmap.Rmd)
    Error: processing vignette 'recmap.Rmd' failed with diagnostics:
    index error
    --- failed re-building ‘recmap.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘recmap.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-macos-arm64