* using log directory 'd:/Rcompile/CRANpkg/local/4.1/yamlet.Rcheck' * using R version 4.1.3 (2022-03-10) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'yamlet/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'yamlet' version '0.10.20' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'yamlet' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [14s] OK * checking Rd files ... [3s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [67s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [25s] ERROR Running 'testthat.R' [24s] 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 x 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 6 | WARN 1 | SKIP 5 | PASS 483 ] == Skipped tests =============================================================== * empty test (2) * l10n_info()$`UTF-8` is not TRUE (3) == Failed tests ================================================================ -- Failure ('test-yamlet.R:710:1'): promote is stable -------------------------- ... %>% decorations(value) has changed from known value recorded in '068.rds'. Component "value": Component "guide": Component "event == 'dose'": 1 string mismatch Component "value": Component "guide": Component "event == 'conc'": 1 string mismatch Backtrace: x 1. \-testthat::expect_equal_to_reference(...) at test-yamlet.R:710:0 2. \-testthat::expect_known_value(..., update = update) -- Failure ('test-yamlet.R:714:1'): promote is stable -------------------------- x %>% filter(event == "dose") %>% decorations(value) has changed from known value recorded in '069.rds'. Component "value": Component "guide": 1 string mismatch Backtrace: x 1. \-testthat::expect_equal_to_reference(...) at test-yamlet.R:714:0 2. \-testthat::expect_known_value(..., update = update) -- Failure ('test-yamlet.R:718:1'): promote is stable -------------------------- x %>% filter(event == "dose") %>% decorations(value) has changed from known value recorded in '070.rds'. Component "value": Component "guide": 1 string mismatch Backtrace: x 1. \-testthat::expect_equal_to_reference(...) at test-yamlet.R:718:0 2. \-testthat::expect_known_value(..., update = update) -- Failure ('test-yamlet.R:722:1'): promote is stable -------------------------- x %>% filter(event == "conc") %>% decorations(value) has changed from known value recorded in '071.rds'. Component "value": Component "guide": 1 string mismatch Backtrace: x 1. \-testthat::expect_equal_to_reference(...) at test-yamlet.R:722:0 2. \-testthat::expect_known_value(..., update = update) -- Failure ('test-yamlet.R:726:1'): promote is stable -------------------------- x[x$event == "dose", ] %>% decorations(event, value) has changed from known value recorded in '072.rds'. Component "value": Component "guide": 1 string mismatch Backtrace: x 1. \-testthat::expect_equal_to_reference(...) at test-yamlet.R:726:0 2. \-testthat::expect_known_value(..., update = update) -- Failure ('test-yamlet.R:730:1'): promote is stable -------------------------- x[x$event == "conc", ] %>% decorations(event, value) has changed from known value recorded in '073.rds'. Component "value": Component "guide": 1 string mismatch Backtrace: x 1. \-testthat::expect_equal_to_reference(...) at test-yamlet.R:730:0 2. \-testthat::expect_known_value(..., update = update) [ FAIL 6 | WARN 1 | SKIP 5 | PASS 483 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [6s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR