- using R Under development (unstable) (2025-11-14 r89021)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘teal/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘teal’ version ‘1.0.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 ‘teal’ can be installed ... [19s/44s] OK
See the install log for details.
- 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 code 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 whether startup messages can be suppressed ... 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 ... [22s/56s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... WARNING
Missing link(s) in Rd file 'TealSlicesBlock.Rd':
‘[teal.reporter:ContentBlock]{teal.reporter::ContentBlock}’
‘[teal.reporter:TextBlock]{teal.reporter::TextBlock}’
See section 'Cross-references' in the 'Writing R Extensions' manual.
- 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 ... ERROR
Running examples in ‘teal-Ex.R’ failed
The error most likely occurred in:
> ### Name: TealReportCard
> ### Title: 'TealReportCard'
> ### Aliases: TealReportCard
>
> ### ** Examples
>
>
> ## ------------------------------------------------
> ## Method `TealReportCard$append_src`
> ## ------------------------------------------------
>
> card <- TealReportCard$new()$append_src(
+ "plot(iris)"
+ )
Warning: `ReportCard$new()` was deprecated in teal.reporter 0.6.0.
ℹ Please use `teal_card()` instead.
ℹ Use teal_report class instead. See vignette('teal-report-class',
'teal.reporter') for more information.
ℹ The deprecated feature was likely used in the R6 package.
Please report the issue at <https://github.com/r-lib/R6/issues>.
> card$get_content()[[1]]$get_content()
[1] "```{r, eval=FALSE}\nplot(iris)\n```\n"
>
> ## ------------------------------------------------
> ## Method `TealReportCard$append_encodings`
> ## ------------------------------------------------
>
> card <- TealReportCard$new()$append_encodings(list(variable1 = "X"))
> card$get_content()[[1]]$get_content()
Error in card$get_content()[[1]]$get_content :
$ operator is invalid for atomic vectors
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [385s/497s] ERROR
Running ‘testthat.R’ [385s/496s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> pkg_name <- "teal"
> library(pkg_name, character.only = TRUE)
Loading required package: shiny
Loading required package: teal.data
Loading required package: teal.code
Loading required package: teal.slice
Registered S3 method overwritten by 'teal':
method from
c.teal_slices teal.slice
You are using teal version 1.0.0
Attaching package: 'teal'
The following objects are masked from 'package:teal.slice':
as.teal_slices, teal_slices
> testthat::test_check(pkg_name)
Saving _problems/test-teal_reporter-17.R
Saving _problems/test-teal_reporter-38.R
Saving _problems/test-teal_reporter-54.R
Saving _problems/test-teal_reporter-81.R
Saving _problems/test-teal_reporter-94.R
Saving _problems/test-teal_reporter-103.R
Saving _problems/test-teal_reporter-111.R
[ FAIL 7 | WARN 1 | SKIP 52 | PASS 388 ]
══ Skipped tests (52) ══════════════════════════════════════════════════════════
• need a fix in a .slicesGlobal (1): 'test-module_teal.R:1334:11'
• testing depth 3 is below current testing specification 5 (48):
'test-shinytest2-data_summary.R:2:3', 'test-shinytest2-data_summary.R:17:3',
'test-shinytest2-data_summary.R:36:3', 'test-shinytest2-data_summary.R:55:3',
'test-shinytest2-data_summary.R:80:3',
'test-shinytest2-data_summary.R:118:3',
'test-shinytest2-data_summary.R:133:3', 'test-shinytest2-decorators.R:5:3',
'test-shinytest2-decorators.R:73:3', 'test-shinytest2-filter_manager.R:5:3',
'test-shinytest2-filter_panel.R:5:3', 'test-shinytest2-filter_panel.R:32:3',
'test-shinytest2-filter_panel.R:66:3', 'test-shinytest2-filter_panel.R:97:3',
'test-shinytest2-init.R:5:3', 'test-shinytest2-init.R:16:3',
'test-shinytest2-init.R:71:3', 'test-shinytest2-landing_popup.R:5:3',
'test-shinytest2-landing_popup.R:23:3',
'test-shinytest2-landing_popup.R:41:3',
'test-shinytest2-landing_popup.R:65:5',
'test-shinytest2-landing_popup.R:131:3',
'test-shinytest2-module_bookmark_manager.R:7:5',
'test-shinytest2-module_bookmark_manager.R:18:5',
'test-shinytest2-module_bookmark_manager.R:29:5',
'test-shinytest2-module_bookmark_manager.R:41:3',
'test-shinytest2-modules.R:5:3', 'test-shinytest2-modules.R:44:3',
'test-shinytest2-modules.R:60:3', 'test-shinytest2-modules.R:74:3',
'test-shinytest2-reporter.R:5:3', 'test-shinytest2-reporter.R:15:3',
'test-shinytest2-reporter.R:25:3', 'test-shinytest2-show-rcode.R:5:3',
'test-shinytest2-snapshot_manager.R:2:3',
'test-shinytest2-teal_data_module.R:28:3',
'test-shinytest2-teal_data_module.R:38:3',
'test-shinytest2-teal_data_module.R:48:3',
'test-shinytest2-teal_data_module.R:58:3',
'test-shinytest2-teal_data_module.R:69:3',
'test-shinytest2-teal_data_module.R:79:3',
'test-shinytest2-teal_data_module.R:90:3',
'test-shinytest2-teal_data_module.R:100:3',
'test-shinytest2-teal_data_module.R:116:3',
'test-shinytest2-teal_data_module.R:142:3',
'test-shinytest2-teal_data_module.R:174:3',
'test-shinytest2-teal_slices.R:5:3', 'test-shinytest2-teal_slices.R:48:3'
• todo (3): 'test-module_teal.R:1596:7', 'test-module_teal.R:1603:5',
'test-module_teal.R:1606:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-teal_reporter.R:17:3'): TealReportCard$get_content returns content with metadata ──
Error in `card$get_content()[[1]]$get_content`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─testthat::expect_identical(...) at test-teal_reporter.R:17:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-teal_reporter.R:38:3'): TealReportCard$append_src returns title and content ──
Expected `card$get_content()[[1]]$get_content()` to be identical to "test".
Differences:
1/1 mismatches
x[1]: "```{r, eval=FALSE}\ntest\n```\n"
y[1]: "test"
── Error ('test-teal_reporter.R:54:3'): TealReportCard$append_encodings returns title and content ──
Error in `card$get_content()[[1]]$get_content`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─testthat::expect_identical(...) at test-teal_reporter.R:54:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Error ('test-teal_reporter.R:81:3'): TealReportCard$append_fs returns title and content ──
Error in `card$get_content()[[1]]$get_content`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─testthat::expect_identical(...) at test-teal_reporter.R:81:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-teal_reporter.R:94:3'): TealSlicesBlock$get_content returns yaml character ──
Expected `block$get_content()` to be identical to "- Dataset name: a\n Variable name: b\n".
Differences:
1/1 mismatches
x[1]: "```\n- Dataset name: a\n Variable name: b\n\n```\n"
y[1]: "- Dataset name: a\n Variable name: b\n"
── Failure ('test-teal_reporter.R:100:3'): TealSlicesBlock$to_list returns list containing teal_slices ──
Expected `block$to_list()` to be identical to `list(text = "- Dataset name: a\n Variable name: b\n", style = "verbatim")`.
Differences:
Component "text": 1 string mismatch
── Failure ('test-teal_reporter.R:111:3'): TealSlicesBlock$from_list retains states from a list ──
Expected `block1$get_content()` to be identical to `block2$get_content()`.
Differences:
1/1 mismatches
x[1]: "```\n- Dataset name: a\n Variable name: b\n\n```\n"
y[1]: "```\n```\n- Dataset name: a\n Variable name: b\n\n```\n\n```\n"
[ FAIL 7 | WARN 1 | SKIP 52 | PASS 388 ]
Deleting unused snapshots: 'linux-4.5/shinytest2-init/teal-001.png' and
'linux-4.5/shinytest2-wunder_bar/teal-001.png'
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [70s/73s] OK
- checking PDF version of manual ... [12s/13s] OK
- checking HTML version of manual ... [13s/13s] OK
- checking for non-standard things in the check directory ... NOTE
Found the following files/directories:
‘.renv’ ‘BiocManager’
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs, 1 WARNING, 1 NOTE