CRAN Package Check Results for Package marindicators

Last updated on 2021-02-05 15:54:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 4.80 67.29 72.09 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 3.62 31.82 35.44 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 90.41 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 82.40 OK
r-devel-windows-ix86+x86_64 1.0.0 8.00 85.00 93.00 OK
r-patched-linux-x86_64 1.0.0 3.99 62.67 66.66 OK
r-patched-solaris-x86 1.0.0 112.10 OK
r-release-linux-x86_64 1.0.0 4.27 62.32 66.59 OK
r-release-macos-x86_64 1.0.0 OK
r-release-windows-ix86+x86_64 1.0.0 7.00 84.00 91.00 OK
r-oldrel-macos-x86_64 1.0.0 OK
r-oldrel-windows-ix86+x86_64 1.0.0 6.00 65.00 71.00 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in ‘marindicators-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: allBiodiversity
    > ### Title: Calculates all Biodiversity indicators
    > ### Aliases: allBiodiversity
    >
    > ### ** Examples
    >
    > data(X)
    >
    > # Calculate raw and standardized indicators
    > allBiodiversity(X = X, metric = "ABUNDANCE", groups = "ALL", TL.table = species.info,
    + percentiles = c(.25, 0.75), minTL = 0, years = c(2014:2019), raw = TRUE, std = TRUE)
    Error in xtfrm.data.frame(x) : cannot xtfrm data frames
    Calls: allBiodiversity ... lapply -> FUN -> as.vector -> xtfrm -> xtfrm.data.frame
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(marindicators)
     >
     > test_check("marindicators")
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_output.R:28:1): (code run outside of `test_that()`) ─────────────
     Error: cannot xtfrm data frames
     Backtrace:
     █
     1. └─marindicators::extractAll(...) test_output.R:28:0
     2. └─marindicators::allBiodiversity(...)
     3. └─marindicators::kemptonQ(...)
     4. ├─X.ij[order(X.ij[metric]), metric]
     5. ├─base::`[.data.frame`(X.ij, order(X.ij[metric]), metric)
     6. └─base::order(X.ij[metric])
     7. └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
     8. └─base:::FUN(X[[i]], ...)
     9. ├─base::as.vector(xtfrm(x))
     10. ├─base::xtfrm(x)
     11. └─base::xtfrm.data.frame(x)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘marindicators-vignette.Rmd’ using rmarkdown
    Quitting from lines 336-341 (marindicators-vignette.Rmd)
    Error: processing vignette ‘marindicators-vignette.Rmd’ failed with diagnostics:
    cannot xtfrm data frames
    --- failed re-building ‘marindicators-vignette.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘marindicators-vignette.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc