* using log directory 'd:/Rcompile/CRANpkg/local/4.1/rlistings.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 'rlistings/DESCRIPTION' ... OK * this is package 'rlistings' version '0.2.1' * 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 'rlistings' 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 ... [6s] OK * checking Rd files ... [1s] 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 ... [16s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [186s] ERROR Running 'testthat.R' [186s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(rlistings) Loading required package: formatters Loading required package: tibble > library(testthat) > > testthat::test_check("rlistings", reporter = "check") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union [ FAIL 8 | WARN 0 | SKIP 0 | PASS 46 ] == Failed tests ================================================================ -- Failure ('test-paginate_listing.R:30:3'): pagination works vertically ------- `page1_result` not equal to `page1_expected`. 1/1 mismatches x[1]: "Unique Subject Identifier Age Continous Level Biomarker 1\n---------- x[1]: ---------------------------------------------------\nAB12345-BRA-1-id-134 x[1]: 47 6.5 \nAB12345-BRA-1-id-141 35 x[1]: 7.5 \n" y[1]: "Unique Subject Identifier Age Continous Level Biomarker 1\n—————————— y[1]: ———————————————————————————————————————————————————\nAB12345-BRA-1-id-134 y[1]: 47 6.5 \nAB12345-BRA-1-id-141 35 y[1]: 7.5 \n" -- Failure ('test-paginate_listing.R:34:3'): pagination works vertically ------- toString(matrix_form(pages_listings2[[1]])) not equal to `page1_expected`. 1/1 mismatches x[1]: "Unique Subject Identifier Age Continous Level Biomarker 1\n---------- x[1]: ---------------------------------------------------\nAB12345-BRA-1-id-134 x[1]: 47 6.5 \nAB12345-BRA-1-id-141 35 x[1]: 7.5 \n" y[1]: "Unique Subject Identifier Age Continous Level Biomarker 1\n—————————— y[1]: ———————————————————————————————————————————————————\nAB12345-BRA-1-id-134 y[1]: 47 6.5 \nAB12345-BRA-1-id-141 35 y[1]: 7.5 \n" -- Failure ('test-paginate_listing.R:45:3'): pagination works vertically ------- toString(matrix_form(pages_listings2[[6]])) not equal to `page6_expected`. 1/1 mismatches x[1]: "Unique Subject Identifier Age Categorical Level Biomarker 2\n-------- x[1]: -------------------------------------------------------\nAB12345-BRA-1-id- x[1]: 42 36 MEDIUM \nAB12345-BRA-1-id-65 x[1]: 25 MEDIUM \n" y[1]: "Unique Subject Identifier Age Categorical Level Biomarker 2\n———————— y[1]: ———————————————————————————————————————————————————————\nAB12345-BRA-1-id- y[1]: 42 36 MEDIUM \nAB12345-BRA-1-id-65 y[1]: 25 MEDIUM \n" -- Failure ('test-paginate_listing.R:77:3'): horizontal pagination with 0 or 1 key column specified works correctly -- `pg1_header` not equal to `pg1_header_expected`. 1/2 mismatches x[2]: "-------------------------------------------------------------" y[2]: "—————————————————————————————————————————————————————————————" -- Failure ('test-paginate_listing.R:78:3'): horizontal pagination with 0 or 1 key column specified works correctly -- `pg2_header` not equal to `pg2_header_expected`. 1/2 mismatches x[2]: "---------------------------------------------------------" y[2]: "—————————————————————————————————————————————————————————" -- Failure ('test-paginate_listing.R:107:3'): horizontal pagination with 0 or 1 key column specified works correctly -- `pg1_header2` not equal to `pg1_header2_expected`. 1/2 mismatches x[2]: "--------------------------------------------------" y[2]: "——————————————————————————————————————————————————" -- Failure ('test-paginate_listing.R:108:3'): horizontal pagination with 0 or 1 key column specified works correctly -- `pg2_header2` not equal to `pg2_header2_expected`. 1/2 mismatches x[2]: "----------------------------------------------" y[2]: "——————————————————————————————————————————————" -- Failure ('test-paginate_listing.R:109:3'): horizontal pagination with 0 or 1 key column specified works correctly -- `pg3_header2` not equal to `pg3_header2_expected`. 1/2 mismatches x[2]: "------------------------------------------------" y[2]: "————————————————————————————————————————————————" [ FAIL 8 | WARN 0 | SKIP 0 | PASS 46 ] 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 ... [1s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR