- using R Under development (unstable) (2025-09-10 r88809)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b2)
Debian flang-new version 19.1.7 (3+b2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘listdown/DESCRIPTION’ ... OK
- this is package ‘listdown’ version ‘0.5.7’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 ‘listdown’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [8s/11s] OK
- checking Rd files ... [0s/0s] NOTE
checkRd: (-1) ld_build_html_site.Rd:41: Lost braces
41 | directory specified by `rmd_dir`. Note that this is an {{rmarkdown}}
| ^
checkRd: (-1) ld_create_doc.Rd:29: Lost braces
29 | directory specified by `rmd_dir`. Note that this is an {{rmarkdown}}
| ^
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [2s/3s] ERROR
Running examples in ‘listdown-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: as_ld_yml
> ### Title: Turn a Computational Component List into YAML with Class
> ### Information
> ### Aliases: as_ld_yml
>
> ### ** Examples
>
> if (require("ggplot2")) {
+
+ cc_list <- list(
+ Linear = ggplot(anscombe, aes(x = x1, y = y1)) + geom_point(),
+ `Non Linear` = ggplot(anscombe, aes(x = x2, y = y2)) + geom_point(),
+ `Outlier Vertical`= ggplot(anscombe, aes(x = x3, y = y3)) + geom_point(),
+ `Outlier Horizontal` = ggplot(anscombe, aes(x = x4, y = y4)) +
+ geom_point())
+
+ as_ld_yml(cc_list)
+ }
Loading required package: ggplot2
Error in parse(text = paste("x", loc, " <<- list(paste(", deparse(class(elem)), :
<text>:2:1: unexpected symbol
1: x [[1]] <<- list(paste( c("ggplot2::ggplot", "ggplot", "ggplot2::gg", "S7_object", "gg" , collapse = ":"))
2: x
^
Calls: as_ld_yml -> depth_first_copy -> eval -> parse
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [24s/28s] ERROR
Running ‘testthat.r’ [23s/28s]
Running the tests in ‘tests/testthat.r’ failed.
Complete output:
> library(testthat)
> library(listdown)
>
> test_check("listdown")
[WARNING] Deprecated: --no-highlight. Use --syntax-highlighting=none instead.
[WARNING] Deprecated: --no-highlight. Use --syntax-highlighting=none instead.
[WARNING] Deprecated: --no-highlight. Use --syntax-highlighting=none instead.
[WARNING] Deprecated: --no-highlight. Use --syntax-highlighting=none instead.
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 34 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-create-doc.r:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-as-yml.r:20:3'): Writing a yml file works. ─────────────────────
Error in `parse(text = paste("x", loc, " <<- list(paste(", deparse(class(elem)),
", collapse = \":\"))"))`: <text>:2:1: unexpected symbol
1: x [[1]] <<- list(paste( c("ggplot2::ggplot", "ggplot", "ggplot2::gg", "S7_object", "gg" , collapse = ":"))
2: x
^
Backtrace:
▆
1. ├─testthat::expect_equal(as_ld_yml(cc_list), read_reference("as-yml.rds")) at test-as-yml.r:20:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─listdown::as_ld_yml(cc_list)
5. └─listdown (local) depth_first_copy()
6. ├─base::eval(...)
7. └─base::parse(...)
── Failure ('test-cc-dendro.r:20:3'): Dendrograms work. ────────────────────────
ld_cc_dendro(cc_list) not equal to read_reference("cc-dendro.rds").
4 string mismatches
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 34 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/6s] OK
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE