- using R version 4.4.3 (2025-02-28 ucrt)
 
- using platform: x86_64-w64-mingw32
 
- R was compiled by
    gcc.exe (GCC) 13.3.0
    GNU Fortran (GCC) 13.3.0
 
- running under: Windows Server 2022 x64 (build 20348)
 
- using session charset: UTF-8
 
- checking for file 'listdown/DESCRIPTION' ... OK
 
- this is package 'listdown' version '0.5.7'
 
- 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 'listdown' can be installed ... OK
See the install log for details.
 
- 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 code files for non-ASCII characters ... OK
 
- checking R files for syntax errors ... OK
 
- checking whether the package can be loaded ... [1s] OK
 
- checking whether the package can be loaded with stated dependencies ... [1s] OK
 
- checking whether the package can be unloaded cleanly ... [1s] OK
 
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
 
- checking whether the namespace can be unloaded cleanly ... [2s] OK
 
- checking loading without being on the library search path ... [2s] 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 ... [5s] OK
 
- checking Rd files ... [1s] 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 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] ERROR
Running examples in 'listdown-Ex.R' failed
The error most likely occurred in:
> ### 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 ... [28s] ERROR
  Running 'testthat.r' [28s]
Running the tests in 'tests/testthat.r' failed.
Complete output:
  > library(testthat)
  > library(listdown)
  > 
  > test_check("listdown")
  [ 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 ... [5s] OK
 
- checking PDF version of manual ... [23s] OK
 
- checking HTML version of manual ... [3s] OK
 
- DONE
 
Status: 2 ERRORs, 1 NOTE