- using R version 4.4.1 (2024-06-14)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘clitable/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘clitable’ version ‘0.1.0’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘clitable’ can be installed ... [2s/2s] OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... WARNING
Missing or unexported object: ‘datasets::penguins’
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [1s/2s] OK
- checking Rd files ... [0s/0s] 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 examples ... [0s/0s] ERROR
Running examples in ‘clitable-Ex.R’ failed
The error most likely occurred in:
> ### Name: cli_table
> ### Title: generates a text table
> ### Aliases: cli_table
>
> ### ** Examples
>
> df <- head(datasets::penguins, 20)
Error: 'penguins' is not an exported object from 'namespace:datasets'
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/3s] ERROR
Running ‘testthat.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> suppressPackageStartupMessages(library(clitable))
>
> test_check("clitable")
[36m── [39m [1mclitable border styles [22m [36m────────────────────────────────────────────────────── [39m
── [1m [1mstyle: single [1m [22m ──
┌────────────┬───────────┬────────────┬───────────┬───────┐
│Sepal.Length│Sepal.Width│Petal.Length│Petal.Width│Species│
├────────────┼───────────┼────────────┼───────────┼───────┤
│ 5.1 │ 3.5 │ 1.4 │ 0.2 │ setosa│
│ 4.9 │ 3.0 │ 1.4 │ 0.2 │ setosa│
│ 4.7 │ 3.2 │ 1.3 │ 0.2 │ setosa│
│ 4.6 │ 3.1 │ 1.5 │ 0.2 │ setosa│
│ 5.0 │ 3.6 │ 1.4 │ 0.2 │ setosa│
│ 5.4 │ 3.9 │ 1.7 │ 0.4 │ setosa│
└────────────┴───────────┴────────────┴───────────┴───────┘
┌───┬───┬───┬───┬──────┐
│5.1│3.5│1.4│0.2│setosa│
│4.9│3.0│1.4│0.2│setosa│
│4.7│3.2│1.3│0.2│setosa│
│4.6│3.1│1.5│0.2│setosa│
│5.0│3.6│1.4│0.2│setosa│
│5.4│3.9│1.7│0.4│setosa│
└───┴───┴───┴───┴──────┘
── [1m [1mstyle: double [1m [22m ──
╔════════════╦═══════════╦════════════╦═══════════╦═══════╗
║Sepal.Length║Sepal.Width║Petal.Length║Petal.Width║Species║
╠════════════╬═══════════╬════════════╬═══════════╬═══════╣
║ 5.1 ║ 3.5 ║ 1.4 ║ 0.2 ║ setosa║
║ 4.9 ║ 3.0 ║ 1.4 ║ 0.2 ║ setosa║
║ 4.7 ║ 3.2 ║ 1.3 ║ 0.2 ║ setosa║
║ 4.6 ║ 3.1 ║ 1.5 ║ 0.2 ║ setosa║
║ 5.0 ║ 3.6 ║ 1.4 ║ 0.2 ║ setosa║
║ 5.4 ║ 3.9 ║ 1.7 ║ 0.4 ║ setosa║
╚════════════╩═══════════╩════════════╩═══════════╩═══════╝
╔═══╦═══╦═══╦═══╦══════╗
║5.1║3.5║1.4║0.2║setosa║
║4.9║3.0║1.4║0.2║setosa║
║4.7║3.2║1.3║0.2║setosa║
║4.6║3.1║1.5║0.2║setosa║
║5.0║3.6║1.4║0.2║setosa║
║5.4║3.9║1.7║0.4║setosa║
╚═══╩═══╩═══╩═══╩══════╝
── [1m [1mstyle: single-double [1m [22m ──
╓────────────╥───────────╥────────────╥───────────╥───────╖
║Sepal.Length║Sepal.Width║Petal.Length║Petal.Width║Species║
╟────────────╫───────────╫────────────╫───────────╫───────╢
║ 5.1 ║ 3.5 ║ 1.4 ║ 0.2 ║ setosa║
║ 4.9 ║ 3.0 ║ 1.4 ║ 0.2 ║ setosa║
║ 4.7 ║ 3.2 ║ 1.3 ║ 0.2 ║ setosa║
║ 4.6 ║ 3.1 ║ 1.5 ║ 0.2 ║ setosa║
║ 5.0 ║ 3.6 ║ 1.4 ║ 0.2 ║ setosa║
║ 5.4 ║ 3.9 ║ 1.7 ║ 0.4 ║ setosa║
╙────────────╨───────────╨────────────╨───────────╨───────╜
╓───╥───╥───╥───╥──────╖
║5.1║3.5║1.4║0.2║setosa║
║4.9║3.0║1.4║0.2║setosa║
║4.7║3.2║1.3║0.2║setosa║
║4.6║3.1║1.5║0.2║setosa║
║5.0║3.6║1.4║0.2║setosa║
║5.4║3.9║1.7║0.4║setosa║
╙───╨───╨───╨───╨──────╜
── [1m [1mstyle: double-single [1m [22m ──
╒════════════╤═══════════╤════════════╤═══════════╤═══════╕
│Sepal.Length│Sepal.Width│Petal.Length│Petal.Width│Species│
╞════════════╪═══════════╪════════════╪═══════════╪═══════╡
│ 5.1 │ 3.5 │ 1.4 │ 0.2 │ setosa│
│ 4.9 │ 3.0 │ 1.4 │ 0.2 │ setosa│
│ 4.7 │ 3.2 │ 1.3 │ 0.2 │ setosa│
│ 4.6 │ 3.1 │ 1.5 │ 0.2 │ setosa│
│ 5.0 │ 3.6 │ 1.4 │ 0.2 │ setosa│
│ 5.4 │ 3.9 │ 1.7 │ 0.4 │ setosa│
╘════════════╧═══════════╧════════════╧═══════════╧═══════╛
╒═══╤═══╤═══╤═══╤══════╕
│5.1│3.5│1.4│0.2│setosa│
│4.9│3.0│1.4│0.2│setosa│
│4.7│3.2│1.3│0.2│setosa│
│4.6│3.1│1.5│0.2│setosa│
│5.0│3.6│1.4│0.2│setosa│
│5.4│3.9│1.7│0.4│setosa│
╘═══╧═══╧═══╧═══╧══════╛
── [1m [1mstyle: classic [1m [22m ──
+------------+-----------+------------+-----------+-------+
|Sepal.Length|Sepal.Width|Petal.Length|Petal.Width|Species|
+------------+-----------+------------+-----------+-------+
| 5.1 | 3.5 | 1.4 | 0.2 | setosa|
| 4.9 | 3.0 | 1.4 | 0.2 | setosa|
| 4.7 | 3.2 | 1.3 | 0.2 | setosa|
| 4.6 | 3.1 | 1.5 | 0.2 | setosa|
| 5.0 | 3.6 | 1.4 | 0.2 | setosa|
| 5.4 | 3.9 | 1.7 | 0.4 | setosa|
+------------+-----------+------------+-----------+-------+
+---+---+---+---+------+
|5.1|3.5|1.4|0.2|setosa|
|4.9|3.0|1.4|0.2|setosa|
|4.7|3.2|1.3|0.2|setosa|
|4.6|3.1|1.5|0.2|setosa|
|5.0|3.6|1.4|0.2|setosa|
|5.4|3.9|1.7|0.4|setosa|
+---+---+---+---+------+
[36m── [39m [1mheatmap columns [22m [36m───────────────────────────────────────────────────────────── [39m
── [1m [1mdefault heatmap settings [1m [22m ──
┌────┬───┬─────┬───┬────┬─────┬─────┬──┬──┬────┬────┐
│ mpg│cyl│ disp│ hp│drat│ wt │ qsec│vs│am│gear│carb│
├────┼───┼─────┼───┼────┼─────┼─────┼──┼──┼────┼────┤
│ [41m21 [49m │ 6 │160.0│ [42m110 [49m│3.90│2.620│16.46│ 0│ 1│ 4 │ [41m4 [49m │
│ [41m21 [49m │ 6 │160.0│ [42m110 [49m│3.90│2.875│17.02│ 0│ 1│ 4 │ [41m4 [49m │
│ [41m22.8 [49m│ 4 │108.0│ [42m93 [49m│3.85│2.320│18.61│ 1│ 1│ 4 │ [42m1 [49m │
│ [41m21.4 [49m│ 6 │258.0│ [42m110 [49m│3.08│3.215│19.44│ 1│ 0│ 3 │ [42m1 [49m │
│ [42m18.7 [49m│ 8 │360.0│ [41m175 [49m│3.15│3.440│17.02│ 0│ 0│ 3 │ [42m2 [49m │
│ [42m18.1 [49m│ 6 │225.0│ [42m105 [49m│2.76│3.460│20.22│ 1│ 0│ 3 │ [42m1 [49m │
│ [42m14.3 [49m│ 8 │360.0│ [41m245 [49m│3.21│3.570│15.84│ 0│ 0│ 3 │ [41m4 [49m │
│ [41m24.4 [49m│ 4 │146.7│ [42m62 [49m│3.69│3.190│20.00│ 1│ 0│ 4 │ [42m2 [49m │
│ [41m22.8 [49m│ 4 │140.8│ [42m95 [49m│3.92│3.150│22.90│ 1│ 0│ 4 │ [42m2 [49m │
│ [42m19.2 [49m│ 6 │167.6│ [42m123 [49m│3.92│3.440│18.30│ 1│ 0│ 4 │ [41m4 [49m │
└────┴───┴─────┴───┴────┴─────┴─────┴──┴──┴────┴────┘
── [1m [1mheatmap custom colors [1m [22m ──
┌────┬───┬─────┬───┬────┬─────┬─────┬──┬──┬────┬────┐
│ mpg│cyl│ disp│ hp│drat│ wt │ qsec│vs│am│gear│carb│
├────┼───┼─────┼───┼────┼─────┼─────┼──┼──┼────┼────┤
│ [43m21 [49m │ 6 │160.0│ [44m110 [49m│3.90│2.620│16.46│ 0│ 1│ 4 │ [43m4 [49m │
│ [43m21 [49m │ 6 │160.0│ [44m110 [49m│3.90│2.875│17.02│ 0│ 1│ 4 │ [43m4 [49m │
│ [43m22.8 [49m│ 4 │108.0│ [44m93 [49m│3.85│2.320│18.61│ 1│ 1│ 4 │ [44m1 [49m │
│ [43m21.4 [49m│ 6 │258.0│ [44m110 [49m│3.08│3.215│19.44│ 1│ 0│ 3 │ [44m1 [49m │
│ [44m18.7 [49m│ 8 │360.0│ [43m175 [49m│3.15│3.440│17.02│ 0│ 0│ 3 │ [44m2 [49m │
│ [44m18.1 [49m│ 6 │225.0│ [44m105 [49m│2.76│3.460│20.22│ 1│ 0│ 3 │ [44m1 [49m │
│ [44m14.3 [49m│ 8 │360.0│ [43m245 [49m│3.21│3.570│15.84│ 0│ 0│ 3 │ [43m4 [49m │
│ [43m24.4 [49m│ 4 │146.7│ [44m62 [49m│3.69│3.190│20.00│ 1│ 0│ 4 │ [44m2 [49m │
│ [43m22.8 [49m│ 4 │140.8│ [44m95 [49m│3.92│3.150│22.90│ 1│ 0│ 4 │ [44m2 [49m │
│ [44m19.2 [49m│ 6 │167.6│ [44m123 [49m│3.92│3.440│18.30│ 1│ 0│ 4 │ [43m4 [49m │
└────┴───┴─────┴───┴────┴─────┴─────┴──┴──┴────┴────┘
── [1m [1mheatmap custom range [1m [22m ──
┌────┬───┬─────┬───┬────┬─────┬─────┬──┬──┬────┬────┐
│ mpg│cyl│ disp│ hp│drat│ wt │ qsec│vs│am│gear│carb│
├────┼───┼─────┼───┼────┼─────┼─────┼──┼──┼────┼────┤
│ [41m21 [49m │ 6 │160.0│110│3.90│2.620│16.46│ 0│ 1│ 4 │ 4 │
│ [41m21 [49m │ 6 │160.0│110│3.90│2.875│17.02│ 0│ 1│ 4 │ 4 │
│ [41m22.8 [49m│ 4 │108.0│ 93│3.85│2.320│18.61│ 1│ 1│ 4 │ 1 │
│ [41m21.4 [49m│ 6 │258.0│110│3.08│3.215│19.44│ 1│ 0│ 3 │ 1 │
│ [42m18.7 [49m│ 8 │360.0│175│3.15│3.440│17.02│ 0│ 0│ 3 │ 2 │
│ [42m18.1 [49m│ 6 │225.0│105│2.76│3.460│20.22│ 1│ 0│ 3 │ 1 │
│ [42m14.3 [49m│ 8 │360.0│245│3.21│3.570│15.84│ 0│ 0│ 3 │ 4 │
│ [41m24.4 [49m│ 4 │146.7│ 62│3.69│3.190│20.00│ 1│ 0│ 4 │ 2 │
│ [41m22.8 [49m│ 4 │140.8│ 95│3.92│3.150│22.90│ 1│ 0│ 4 │ 2 │
│ [42m19.2 [49m│ 6 │167.6│123│3.92│3.440│18.30│ 1│ 0│ 4 │ 4 │
└────┴───┴─────┴───┴────┴─────┴─────┴──┴──┴────┴────┘
[36m── [39m [1mhilite rows [22m [36m───────────────────────────────────────────────────────────────── [39m
┌────┬───┬─────┬───┬────┬─────┬─────┬──┬──┬────┬────┐
│ mpg│cyl│ disp│ hp│drat│ wt │ qsec│vs│am│gear│carb│
├────┼───┼─────┼───┼────┼─────┼─────┼──┼──┼────┼────┤
[41m│ 21 │ 6 │ 160 │110│ 3.9│ 2.62│16.46│ 0│ 1│ 4 │ 4 │ [49m
│ 21 │ 6 │ 160 │110│ 3.9│2.875│17.02│ 0│ 1│ 4 │ 4 │
[41m│22.8│ 4 │ 108 │ 93│3.85│ 2.32│18.61│ 1│ 1│ 4 │ 1 │ [49m
│21.4│ 6 │ 258 │110│3.08│3.215│19.44│ 1│ 0│ 3 │ 1 │
│18.7│ 8 │ 360 │175│3.15│ 3.44│17.02│ 0│ 0│ 3 │ 2 │
│18.1│ 6 │ 225 │105│2.76│ 3.46│20.22│ 1│ 0│ 3 │ 1 │
[41m│14.3│ 8 │ 360 │245│3.21│ 3.57│15.84│ 0│ 0│ 3 │ 4 │ [49m
│24.4│ 4 │146.7│ 62│3.69│ 3.19│ 20 │ 1│ 0│ 4 │ 2 │
│22.8│ 4 │140.8│ 95│3.92│ 3.15│ 22.9│ 1│ 0│ 4 │ 2 │
│19.2│ 6 │167.6│123│3.92│ 3.44│ 18.3│ 1│ 0│ 4 │ 4 │
└────┴───┴─────┴───┴────┴─────┴─────┴──┴──┴────┴────┘
[36m── [39m [1mcombined [22m [36m──────────────────────────────────────────────────────────────────── [39m
┌────┬───┬─────┬───┬────┬─────┬─────┬──┬──┬────┬────┐
│ mpg│cyl│ disp│ hp│drat│ wt │ qsec│vs│am│gear│carb│
├────┼───┼─────┼───┼────┼─────┼─────┼──┼──┼────┼────┤
│ [41m21 [49m │ 6 │160.0│ [42m110 [49m│3.90│2.620│16.46│ 0│ 1│ 4 │ [41m4 [49m │
│ [41m21 [49m │ 6 │160.0│ [42m110 [49m│3.90│2.875│17.02│ 0│ 1│ 4 │ [41m4 [49m │
│ [41m22.8 [49m│ 4 │108.0│ [42m93 [49m│3.85│2.320│18.61│ 1│ 1│ 4 │ [42m1 [49m │
│ [41m21.4 [49m│ 6 │258.0│ [42m110 [49m│3.08│3.215│19.44│ 1│ 0│ 3 │ [42m1 [49m │
[33m│ [42m18.7 [49m│ 8 │360.0│ [41m175 [49m│3.15│3.440│17.02│ 0│ 0│ 3 │ [42m2 [49m │ [39m
│ [42m18.1 [49m│ 6 │225.0│ [42m105 [49m│2.76│3.460│20.22│ 1│ 0│ 3 │ [42m1 [49m │
[33m│ [42m14.3 [49m│ 8 │360.0│ [41m245 [49m│3.21│3.570│15.84│ 0│ 0│ 3 │ [41m4 [49m │ [39m
│ [41m24.4 [49m│ 4 │146.7│ [42m62 [49m│3.69│3.190│20.00│ 1│ 0│ 4 │ [42m2 [49m │
│ [41m22.8 [49m│ 4 │140.8│ [42m95 [49m│3.92│3.150│22.90│ 1│ 0│ 4 │ [42m2 [49m │
│ [42m19.2 [49m│ 6 │167.6│ [42m123 [49m│3.92│3.440│18.30│ 1│ 0│ 4 │ [41m4 [49m │
└────┴───┴─────┴───┴────┴─────┴─────┴──┴──┴────┴────┘
[36m── [39m [1mnot all numeric [22m [36m───────────────────────────────────────────────────────────── [39m
[ FAIL 3 | WARN 0 | SKIP 7 | PASS 35 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-box.R:15:5', 'test-cli_table.R:17:5',
'test-cli_table.R:91:3', 'test-cli_table.R:187:3', 'test-heatmap.R:12:3',
'test-heatmap.R:33:3', 'test-heatmap.R:77:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cli_table.R:104:3'): to_character_matrix ───────────────────────
Error: 'penguins' is not an exported object from 'namespace:datasets'
Backtrace:
▆
1. └─utils::head(datasets::penguins) at test-cli_table.R:104:3
── Error ('test-cli_table.R:147:3'): column_widths ─────────────────────────────
Error: 'penguins' is not an exported object from 'namespace:datasets'
Backtrace:
▆
1. ├─base::as.matrix(head(datasets::penguins)) at test-cli_table.R:147:3
2. └─utils::head(datasets::penguins)
── Failure ('test-demo.R:5:3'): demo ───────────────────────────────────────────
Expected `demo()` to run without any errors.
[34mℹ [39m Actually got a <simpleError> with text:
'penguins' is not an exported object from 'namespace:datasets'
[ FAIL 3 | WARN 0 | SKIP 7 | PASS 35 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [5s/12s] OK
- DONE
Status: 2 ERRORs, 1 WARNING
- using check arguments '--no-clean-on-error '