CRAN Package Check Results for Package magclass

Last updated on 2020-02-27 07:49:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 5.7.0 15.67 84.81 100.48 ERROR
r-devel-linux-x86_64-debian-gcc 5.7.0 10.91 65.49 76.40 ERROR
r-devel-linux-x86_64-fedora-clang 5.7.0 120.51 OK
r-devel-linux-x86_64-fedora-gcc 5.7.0 120.60 OK
r-devel-windows-ix86+x86_64 5.7.0 18.00 94.00 112.00 OK
r-devel-windows-ix86+x86_64-gcc8 5.7.0 21.00 102.00 123.00 OK
r-patched-linux-x86_64 5.7.0 11.02 79.41 90.43 OK
r-patched-solaris-x86 5.7.0 151.50 OK
r-release-linux-x86_64 5.7.0 11.07 78.85 89.92 OK
r-release-windows-ix86+x86_64 5.7.0 16.00 93.00 109.00 OK
r-release-osx-x86_64 5.7.0 OK
r-oldrel-windows-ix86+x86_64 5.7.0 15.00 84.00 99.00 OK
r-oldrel-osx-x86_64 5.7.0 OK

Check Details

Version: 5.7.0
Check: examples
Result: ERROR
    Running examples in 'magclass-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: convergence
    > ### Title: convergence
    > ### Aliases: convergence
    >
    > ### ** Examples
    >
    >
    > data(population_magpie)
    > population <- add_columns(population_magpie,"MIX")
    > population[,,"MIX"]<-convergence(population[,,"A2"],population[,,"B1"])
    Error in dimnames(x) <- `*vtmp*` :
     length of 'dimnames' [3] not equal to array extent
    Calls: [<- -> [<- -> .local -> magpie_expand
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 5.7.0
Check: tests
Result: ERROR
     Running 'testthat.R' [3s/4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(magclass)
    
     Attaching package: 'magclass'
    
     The following object is masked from 'package:grid':
    
     getNames
    
     >
     > test_check("magclass")
     -- 1. Error: partial expansion (@test-magpie_expand.R#13) ---------------------
     'dimnames' applied to non-array
     Backtrace:
     1. magclass::magpie_expand(e, d)
     2. magclass:::magpie_expand_dim(x, ref, dim = i)
    
     -- 2. Failure: expansion with unusual set names (@test-magpie_expand.R#33) ----
     `ff` not identical to magpie_expand(g, ff).
     Attributes: < Component "dim": Mean absolute difference: 1 >
     Attributes: < Component "dimnames": Component "data": target is NULL, current is character >
     Numeric: lengths (0, 1) differ
    
     -- 3. Failure: subdimension order (@test-magpie_expand.R#42) ------------------
     getItems(magpie_expand(i, h), 3) not identical to `names`.
     target is NULL, current is character
    
     -- 4. Failure: subdimension order (@test-magpie_expand.R#47) ------------------
     getItems(xx, 3) not identical to getItems(magpie_expand(y, xx), 3).
     target is NULL, current is character
    
     -- 5. Error: read/write do not affect content (@test-readwritemagpie.R#11) ----
     the dims contain missing values
     Backtrace:
     1. magclass::read.magpie(tmpfile)
     2. base::array(...)
    
     == testthat results ===========================================================
     [ OK: 18 | SKIPPED: 1 | WARNINGS: 1 | FAILED: 5 ]
     1. Error: partial expansion (@test-magpie_expand.R#13)
     2. Failure: expansion with unusual set names (@test-magpie_expand.R#33)
     3. Failure: subdimension order (@test-magpie_expand.R#42)
     4. Failure: subdimension order (@test-magpie_expand.R#47)
     5. Error: read/write do not affect content (@test-readwritemagpie.R#11)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 5.7.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'magclass-concept.Rmd' using rmarkdown
    
    Attaching package: 'magclass'
    
    The following object is masked from 'package:grid':
    
     getNames
    
    --- finished re-building 'magclass-concept.Rmd'
    
    --- re-building 'magclass-expansion.Rmd' using rmarkdown
    --- finished re-building 'magclass-expansion.Rmd'
    
    --- re-building 'magclass.Rmd' using rmarkdown
    Quitting from lines 197-198 (magclass.Rmd)
    Error: processing vignette 'magclass.Rmd' failed with diagnostics:
    Invalid dimension(s) specified
    --- failed re-building 'magclass.Rmd'
    
    SUMMARY: processing the following file failed:
     'magclass.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 5.7.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(magclass)
    
     Attaching package: 'magclass'
    
     The following object is masked from 'package:grid':
    
     getNames
    
     >
     > test_check("magclass")
     ── 1. Error: partial expansion (@test-magpie_expand.R#13) ─────────────────────
     'dimnames' applied to non-array
     Backtrace:
     1. magclass::magpie_expand(e, d)
     2. magclass:::magpie_expand_dim(x, ref, dim = i)
    
     ── 2. Failure: expansion with unusual set names (@test-magpie_expand.R#33) ────
     `ff` not identical to magpie_expand(g, ff).
     Attributes: < Component "dim": Mean absolute difference: 1 >
     Attributes: < Component "dimnames": Component "data": target is NULL, current is character >
     Numeric: lengths (0, 1) differ
    
     ── 3. Failure: subdimension order (@test-magpie_expand.R#42) ──────────────────
     getItems(magpie_expand(i, h), 3) not identical to `names`.
     target is NULL, current is character
    
     ── 4. Failure: subdimension order (@test-magpie_expand.R#47) ──────────────────
     getItems(xx, 3) not identical to getItems(magpie_expand(y, xx), 3).
     target is NULL, current is character
    
     ── 5. Error: read/write do not affect content (@test-readwritemagpie.R#11) ────
     the dims contain missing values
     Backtrace:
     1. magclass::read.magpie(tmpfile)
     2. base::array(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 18 | SKIPPED: 1 | WARNINGS: 1 | FAILED: 5 ]
     1. Error: partial expansion (@test-magpie_expand.R#13)
     2. Failure: expansion with unusual set names (@test-magpie_expand.R#33)
     3. Failure: subdimension order (@test-magpie_expand.R#42)
     4. Failure: subdimension order (@test-magpie_expand.R#47)
     5. Error: read/write do not affect content (@test-readwritemagpie.R#11)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc