CRAN Package Check Results for Package yamlet

Last updated on 2023-09-30 00:56:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.10.32 11.97 189.52 201.49 OK
r-devel-linux-x86_64-debian-gcc 0.10.32 9.73 140.51 150.24 OK
r-devel-linux-x86_64-fedora-clang 0.10.32 202.24 ERROR
r-devel-linux-x86_64-fedora-gcc 0.10.32 258.48 OK
r-devel-windows-x86_64 0.10.32 15.00 164.00 179.00 ERROR
r-patched-linux-x86_64 0.10.32 24.09 181.49 205.58 OK
r-release-linux-x86_64 0.10.32 8.47 182.12 190.59 OK
r-release-macos-arm64 0.10.32 83.00 OK
r-release-macos-x86_64 0.10.32 164.00 OK
r-release-windows-x86_64 0.10.32 19.00 258.00 277.00 OK
r-oldrel-macos-arm64 0.10.32 71.00 OK
r-oldrel-macos-x86_64 0.10.32 92.00 OK
r-oldrel-windows-x86_64 0.10.32 20.00 196.00 216.00 OK

Check Details

Version: 0.10.32
Check: examples
Result: ERROR
    Running examples in ‘yamlet-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: as.data.frame.yamlet
    > ### Title: Coerce Yamlet to Data Frame
    > ### Aliases: as.data.frame.yamlet
    > ### Keywords: internal
    >
    > ### ** Examples
    >
    >
    > library(magrittr)
    >
    > file <- system.file(package = 'yamlet', 'extdata','quinidine.yaml')
    > file %>% read_yamlet %>% explicit_guide %>% as.data.frame
    Error in match.fun(test)(val, data = data[[i]], token = i, ...) :
     is.atomic(data) is not TRUE
    Calls: %>% ... explicit_guide -> explicit_guide.yamlet -> <Anonymous> -> stopifnot
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64

Version: 0.10.32
Check: tests
Result: ERROR
     Running ‘testthat.R’ [33s/33s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(yamlet)
    
     Attaching package: 'yamlet'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("yamlet")
     tibble [4 × 1] (S3: tbl_df/tbl/data.frame)
     $ RACE: 'dvec' chr [1:4] "WHITE" "WHITE" "WHITE" "WHITE"
     ..- attr(*, "label")= chr "Race"
     'dvec' int [1:4] 0 1 0 1
     - attr(*, "label")= chr "sex"
     - attr(*, "guide")=List of 2
     ..$ female: int 0
     ..$ male : int 1
     'dvec' int [1:4] 0 1 0 1
     - attr(*, "label")= chr "sex"
     - attr(*, "guide")=List of 2
     ..$ female: int 0
     ..$ male : int 1
     'dvec' num(0)
     List of 2
     $ : 'dvec' num 1
     $ : 'dvec' num 1
     blq: [ LOQ Y/N, [ 'No': 0, 'Yes': 1 ]]
     letters: [ Letters, [ a, b, c, NA ]]
     letters: [ Letters, [ a, b, c, 'NA' ]]
     [ FAIL 1 | WARN 1 | SKIP 2 | PASS 509 ]
    
     ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
     • empty test (2): 'test-yamlet.R:1340:1', 'test-yamlet.R:1345:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-yamlet.R:302:3'): explicit_guide recognizes encodings, units, formats, and codelists ──
     Error in `match.fun(test)(val, data = data[[i]], token = i, ...)`: is.atomic(data) is not TRUE
     Backtrace:
     ▆
     1. ├─"CONC: [ concentration, ng/mL ]" %>% as_yamlet %>% ... at test-yamlet.R:302:2
     2. ├─yamlet::explicit_guide(.)
     3. └─yamlet:::explicit_guide.yamlet(.)
     4. └─match.fun(test)(val, data = data[[i]], token = i, ...)
     5. └─base::stopifnot(is.atomic(data))
    
     [ FAIL 1 | WARN 1 | SKIP 2 | PASS 509 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.10.32
Check: tests
Result: ERROR
     Running 'testthat.R' [18s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(yamlet)
    
     Attaching package: 'yamlet'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("yamlet")
     tibble [4 × 1] (S3: tbl_df/tbl/data.frame)
     $ RACE: 'dvec' chr [1:4] "WHITE" "WHITE" "WHITE" "WHITE"
     ..- attr(*, "label")= chr "Race"
     'dvec' int [1:4] 0 1 0 1
     - attr(*, "label")= chr "sex"
     - attr(*, "guide")=List of 2
     ..$ female: int 0
     ..$ male : int 1
     'dvec' int [1:4] 0 1 0 1
     - attr(*, "label")= chr "sex"
     - attr(*, "guide")=List of 2
     ..$ female: int 0
     ..$ male : int 1
     'dvec' num(0)
     List of 2
     $ : 'dvec' num 1
     $ : 'dvec' num 1
     blq: [ LOQ Y/N, [ 'No': 0, 'Yes': 1 ]]
     letters: [ Letters, [ a, b, c, NA ]]
     letters: [ Letters, [ a, b, c, 'NA' ]]
     [ FAIL 1 | WARN 1 | SKIP 2 | PASS 509 ]
    
     ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
     • empty test (2): 'test-yamlet.R:1340:1', 'test-yamlet.R:1345:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-yamlet.R:302:3'): explicit_guide recognizes encodings, units, formats, and codelists ──
     Error in `match.fun(test)(val, data = data[[i]], token = i, ...)`: is.atomic(data) is not TRUE
     Backtrace:
     ▆
     1. ├─"CONC: [ concentration, ng/mL ]" %>% as_yamlet %>% ... at test-yamlet.R:302:2
     2. ├─yamlet::explicit_guide(.)
     3. └─yamlet:::explicit_guide.yamlet(.)
     4. └─match.fun(test)(val, data = data[[i]], token = i, ...)
     5. └─base::stopifnot(is.atomic(data))
    
     [ FAIL 1 | WARN 1 | SKIP 2 | PASS 509 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64