Running examples in ‘spectralGraphTopology-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: learn_k_component_graph
> ### Title: Learn the Laplacian matrix of a k-component graph Learns a
> ###   k-component graph on the basis of an observed data matrix. Check out
> ###   https://mirca.github.io/spectralGraphTopology for code examples.
> ### Aliases: learn_k_component_graph
> 
> ### ** Examples
> 
> # design true Laplacian
> Laplacian <- rbind(c(1, -1, 0, 0),
+                    c(-1, 1, 0, 0),
+                    c(0, 0, 1, -1),
+                    c(0, 0, -1, 1))
> n <- ncol(Laplacian)
> # sample data from multivariate Gaussian
> Y <- MASS::mvrnorm(n * 500, rep(0, n), MASS::ginv(Laplacian))
> # estimate graph on the basis of sampled data
> graph <- learn_k_component_graph(cov(Y), k = 2, beta = 10)
Error in max(werr/(w + w0), na.rm = "ignore") : 
  NA in coercion to Rboolean
Calls: learn_k_component_graph ... <Anonymous> -> pb_tick -> assert_named_or_empty_list -> stopifnot
Execution halted
Running examples in ‘spectralGraphTopology-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: learn_k_component_graph
> ### Title: Learn the Laplacian matrix of a k-component graph Learns a
> ###   k-component graph on the basis of an observed data matrix. Check out
> ###   https://mirca.github.io/spectralGraphTopology for code examples.
> ### Aliases: learn_k_component_graph
> 
> ### ** Examples
> 
> # design true Laplacian
> Laplacian <- rbind(c(1, -1, 0, 0),
+                    c(-1, 1, 0, 0),
+                    c(0, 0, 1, -1),
+                    c(0, 0, -1, 1))
> n <- ncol(Laplacian)
> # sample data from multivariate Gaussian
> Y <- MASS::mvrnorm(n * 500, rep(0, n), MASS::ginv(Laplacian))
> # estimate graph on the basis of sampled data
> graph <- learn_k_component_graph(cov(Y), k = 2, beta = 10)
Error in max(werr/(w + w0), na.rm = "ignore") : 
  NA in coercion to Rboolean
Calls: learn_k_component_graph ... <Anonymous> -> pb_tick -> assert_named_or_empty_list -> stopifnot
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spectralGraphTopology)
  
  Attaching package: 'spectralGraphTopology'
  
  The following object is masked from 'package:stats':
  
      D
  
  > 
  > test_check("spectralGraphTopology")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-learnGraphTopology.R:21:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-learnSmoothSignalGraph.R:9:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-operators.R:122:1'): (code run outside of `test_that()`) ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spectralGraphTopology)
  
  Attaching package: 'spectralGraphTopology'
  
  The following object is masked from 'package:stats':
  
      D
  
  > 
  > test_check("spectralGraphTopology")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-learnGraphTopology.R:21:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-learnSmoothSignalGraph.R:9:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-operators.R:122:1'): (code run outside of `test_that()`) ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spectralGraphTopology)
  
  Attaching package: 'spectralGraphTopology'
  
  The following object is masked from 'package:stats':
  
      D
  
  > 
  > test_check("spectralGraphTopology")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-learnGraphTopology.R:21:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-learnSmoothSignalGraph.R:9:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-operators.R:122:1'): (code run outside of `test_that()`) ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [4s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spectralGraphTopology)
  
  Attaching package: 'spectralGraphTopology'
  
  The following object is masked from 'package:stats':
  
      D
  
  > 
  > test_check("spectralGraphTopology")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-learnGraphTopology.R:21:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-learnSmoothSignalGraph.R:9:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-operators.R:122:1'): (code run outside of `test_that()`) ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spectralGraphTopology)
  
  Attaching package: 'spectralGraphTopology'
  
  The following object is masked from 'package:stats':
  
      D
  
  > 
  > test_check("spectralGraphTopology")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-learnGraphTopology.R:21:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-learnSmoothSignalGraph.R:9:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-operators.R:122:1'): (code run outside of `test_that()`) ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted
installed size is  7.0Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   3.5Mb
installed size is  7.1Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   3.6Mb
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spectralGraphTopology)
  
  Attaching package: 'spectralGraphTopology'
  
  The following object is masked from 'package:stats':
  
      D
  
  > 
  > test_check("spectralGraphTopology")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-learnGraphTopology.R:21:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-learnSmoothSignalGraph.R:9:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-operators.R:122:1'): (code run outside of `test_that()`) ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted
installed size is  7.4Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   3.9Mb
installed size is  7.2Mb
  sub-directories of 1Mb or more:
    doc    3.1Mb
    libs   3.7Mb
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spectralGraphTopology)
  
  Attaching package: 'spectralGraphTopology'
  
  The following object is masked from 'package:stats':
  
      D
  
  > 
  > test_check("spectralGraphTopology")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-learnGraphTopology.R:21:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-learnSmoothSignalGraph.R:9:1'): (code run outside of `test_that()`) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  ── Error ('test-operators.R:122:1'): (code run outside of `test_that()`) ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(all_pars, build_and_run_test, desc = desc_stub, code = captured, 
      .interpret_glue = .interpret_glue)`: ℹ In index: 1.
  Caused by error:
  ! Failed to parse glue component
  Caused by error in `parse()`:
  ! <text>:1:1: unexpected ','
  1: ,
      ^
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted