CRAN Package Check Results for Package SDMtune

Last updated on 2021-10-27 07:56:21 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.5 72.80 314.91 387.71 OK
r-devel-linux-x86_64-debian-gcc 1.1.5 61.24 231.48 292.72 OK
r-devel-linux-x86_64-fedora-clang 1.1.5 483.26 OK
r-devel-linux-x86_64-fedora-gcc 1.1.5 461.45 OK
r-devel-windows-x86_64 1.1.5 108.00 380.00 488.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.1.5 OK
r-patched-linux-x86_64 1.1.5 75.09 300.61 375.70 OK
r-patched-solaris-x86 1.1.5 590.00 OK
r-release-linux-x86_64 1.1.5 67.93 302.87 370.80 OK
r-release-macos-arm64 1.1.5 OK
r-release-macos-x86_64 1.1.5 OK
r-release-windows-ix86+x86_64 1.1.5 101.00 530.00 631.00 OK
r-oldrel-macos-x86_64 1.1.5 OK
r-oldrel-windows-ix86+x86_64 1.1.5 116.00 350.00 466.00 ERROR

Check Details

Version: 1.1.5
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [28s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(SDMtune)
    
     _____ ____ __ ___ __
     / ___/ / __ \ / |/ // /_ __ __ ____ ___
     \__ \ / / / // /|_/ // __// / / // __ \ / _ \
     ___/ // /_/ // / / // /_ / /_/ // / / // __/
     /____//_____//_/ /_/ \__/ \__,_//_/ /_/ \___/ version 1.1.5
    
     To cite this package in publications type: citation("SDMtune").
     >
     > test_check("SDMtune")
     == Skipped tests ===============================================================
     * On CRAN (31)
    
     == Failed tests ================================================================
     -- Error (test-plotPA.R:10:3): The values are correct and the file is saved with correct format --
     Error in `(function (classes, fdef, mtable)
     {
     methods <- .findInheritedMethods(classes, fdef, mtable)
     if (length(methods) == 1L)
     return(methods[[1L]])
     else if (length(methods) == 0L) {
     cnames <- paste0("\"", vapply(classes, as.character,
     ""), "\"", collapse = ", ")
     stop(gettextf("unable to find an inherited method for function %s for signature %s",
     sQuote(fdef@generic), sQuote(cnames)), domain = NA)
     }
     else stop("Internal error in finding inherited methods; didn't return a unique method",
     domain = NA)
     })(list(structure("RasterLayer", package = "raster"), "integer"),
     new("standardGeneric", .Data = function (object, cell, ...)
     standardGeneric("xyFromCell"), generic = structure("xyFromCell", package = "terra"),
     package = "terra", group = list(), valueClass = character(0),
     signature = c("object", "cell"), default = NULL, skeleton = (function (object,
     cell, ...)
     stop("invalid call in method dispatch to 'xyFromCell' (no default method)",
     domain = NA))(object, cell, ...)), <environment>)`: unable to find an inherited method for function 'xyFromCell' for signature '"RasterLayer", "integer"'
     Backtrace:
     x
     1. \-SDMtune::plotPA(map, th = 0.8, filename = file, format = "ascii") test-plotPA.R:10:2
     2. +-rasterVis::gplot(pa, maxpixels = maxpixels)
     3. \-rasterVis::gplot(pa, maxpixels = maxpixels)
     4. \-rasterVis:::.local(x, ...)
     5. \-rasterVis:::.gplot(x, ...)
     6. \-terra::xyFromCell(x, seq_len(ncell(x)))
     7. \-(function (classes, fdef, mtable) ...
     -- Error (test-plotPred.R:9:3): The values are correct -------------------------
     Error in `(function (classes, fdef, mtable)
     {
     methods <- .findInheritedMethods(classes, fdef, mtable)
     if (length(methods) == 1L)
     return(methods[[1L]])
     else if (length(methods) == 0L) {
     cnames <- paste0("\"", vapply(classes, as.character,
     ""), "\"", collapse = ", ")
     stop(gettextf("unable to find an inherited method for function %s for signature %s",
     sQuote(fdef@generic), sQuote(cnames)), domain = NA)
     }
     else stop("Internal error in finding inherited methods; didn't return a unique method",
     domain = NA)
     })(list(structure("RasterLayer", package = "raster"), "integer"),
     new("standardGeneric", .Data = function (object, cell, ...)
     standardGeneric("xyFromCell"), generic = structure("xyFromCell", package = "terra"),
     package = "terra", group = list(), valueClass = character(0),
     signature = c("object", "cell"), default = NULL, skeleton = (function (object,
     cell, ...)
     stop("invalid call in method dispatch to 'xyFromCell' (no default method)",
     domain = NA))(object, cell, ...)), <environment>)`: unable to find an inherited method for function 'xyFromCell' for signature '"RasterLayer", "integer"'
     Backtrace:
     x
     1. \-SDMtune::plotPred(map) test-plotPred.R:9:2
     2. +-rasterVis::gplot(map, maxpixels = maxpixels)
     3. \-rasterVis::gplot(map, maxpixels = maxpixels)
     4. \-rasterVis:::.local(x, ...)
     5. \-rasterVis:::.gplot(x, ...)
     6. \-terra::xyFromCell(x, seq_len(ncell(x)))
     7. \-(function (classes, fdef, mtable) ...
    
     [ FAIL 2 | WARN 82 | SKIP 31 | PASS 357 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.1.5
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [29s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(SDMtune)
    
     _____ ____ __ ___ __
     / ___/ / __ \ / |/ // /_ __ __ ____ ___
     \__ \ / / / // /|_/ // __// / / // __ \ / _ \
     ___/ // /_/ // / / // /_ / /_/ // / / // __/
     /____//_____//_/ /_/ \__/ \__,_//_/ /_/ \___/ version 1.1.5
    
     To cite this package in publications type: citation("SDMtune").
     >
     > test_check("SDMtune")
     == Skipped tests ===============================================================
     * On CRAN (31)
    
     == Failed tests ================================================================
     -- Error (test-plotPA.R:10:3): The values are correct and the file is saved with correct format --
     Error in `(function (classes, fdef, mtable)
     {
     methods <- .findInheritedMethods(classes, fdef, mtable)
     if (length(methods) == 1L)
     return(methods[[1L]])
     else if (length(methods) == 0L) {
     cnames <- paste0("\"", vapply(classes, as.character,
     ""), "\"", collapse = ", ")
     stop(gettextf("unable to find an inherited method for function %s for signature %s",
     sQuote(fdef@generic), sQuote(cnames)), domain = NA)
     }
     else stop("Internal error in finding inherited methods; didn't return a unique method",
     domain = NA)
     })(list(structure("RasterLayer", package = "raster"), "integer"),
     new("standardGeneric", .Data = function (object, cell, ...)
     standardGeneric("xyFromCell"), generic = structure("xyFromCell", package = "terra"),
     package = "terra", group = list(), valueClass = character(0),
     signature = c("object", "cell"), default = NULL, skeleton = (function (object,
     cell, ...)
     stop("invalid call in method dispatch to 'xyFromCell' (no default method)",
     domain = NA))(object, cell, ...)), <environment>)`: unable to find an inherited method for function 'xyFromCell' for signature '"RasterLayer", "integer"'
     Backtrace:
     x
     1. \-SDMtune::plotPA(map, th = 0.8, filename = file, format = "ascii") test-plotPA.R:10:2
     2. +-rasterVis::gplot(pa, maxpixels = maxpixels)
     3. \-rasterVis::gplot(pa, maxpixels = maxpixels)
     4. \-rasterVis:::.local(x, ...)
     5. \-rasterVis:::.gplot(x, ...)
     6. \-terra::xyFromCell(x, seq_len(ncell(x)))
     7. \-(function (classes, fdef, mtable) ...
     -- Error (test-plotPred.R:9:3): The values are correct -------------------------
     Error in `(function (classes, fdef, mtable)
     {
     methods <- .findInheritedMethods(classes, fdef, mtable)
     if (length(methods) == 1L)
     return(methods[[1L]])
     else if (length(methods) == 0L) {
     cnames <- paste0("\"", vapply(classes, as.character,
     ""), "\"", collapse = ", ")
     stop(gettextf("unable to find an inherited method for function %s for signature %s",
     sQuote(fdef@generic), sQuote(cnames)), domain = NA)
     }
     else stop("Internal error in finding inherited methods; didn't return a unique method",
     domain = NA)
     })(list(structure("RasterLayer", package = "raster"), "integer"),
     new("standardGeneric", .Data = function (object, cell, ...)
     standardGeneric("xyFromCell"), generic = structure("xyFromCell", package = "terra"),
     package = "terra", group = list(), valueClass = character(0),
     signature = c("object", "cell"), default = NULL, skeleton = (function (object,
     cell, ...)
     stop("invalid call in method dispatch to 'xyFromCell' (no default method)",
     domain = NA))(object, cell, ...)), <environment>)`: unable to find an inherited method for function 'xyFromCell' for signature '"RasterLayer", "integer"'
     Backtrace:
     x
     1. \-SDMtune::plotPred(map) test-plotPred.R:9:2
     2. +-rasterVis::gplot(map, maxpixels = maxpixels)
     3. \-rasterVis::gplot(map, maxpixels = maxpixels)
     4. \-rasterVis:::.local(x, ...)
     5. \-rasterVis:::.gplot(x, ...)
     6. \-terra::xyFromCell(x, seq_len(ncell(x)))
     7. \-(function (classes, fdef, mtable) ...
    
     [ FAIL 2 | WARN 82 | SKIP 31 | PASS 357 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64