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}}
       |                                                        ^
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
Running ‘testthat.r’ [24s/30s]
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
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}}
       |                                                        ^
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
Running ‘testthat.r’ [17s/21s]
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
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}}
       |                                                        ^
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
Running ‘testthat.r’ [36s/202s]
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
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}}
       |                                                        ^
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
Running ‘testthat.r’ [34s/45s]
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
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}}
       |                                                        ^
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
Running 'testthat.r' [21s]
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
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}}
       |                                                        ^
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
Running ‘testthat.r’ [23s/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
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}}
       |                                                        ^
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
Running ‘testthat.r’ [23s/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
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}}
       |                                                        ^
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}}
       |                                                        ^
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}}
       |                                                        ^
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
Running 'testthat.r' [20s]
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
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}}
       |                                                        ^
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}}
       |                                                        ^
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}}
       |                                                        ^
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
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