Package suggested but not available for checking: ‘BGGM’
Running examples in ‘bayeslincom-Ex.R’ failed
The error most likely occurred in:

> ### Name: lin_comb
> ### Title: Perform a linear combination of posterior samples
> ### Aliases: lin_comb
> 
> ### ** Examples
> 
> # data
> Y <- BGGM::ptsd
Error in loadNamespace(x) : there is no package called ‘BGGM’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-lin_comb_methods.R:6:11): lin_comb methods produce expected errors ──
  Error: there is no package called 'BGGM'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test-lin_comb_methods.R:6:10
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted
Package suggested but not available for checking: ‘BGGM’
Running examples in ‘bayeslincom-Ex.R’ failed
The error most likely occurred in:

> ### Name: lin_comb
> ### Title: Perform a linear combination of posterior samples
> ### Aliases: lin_comb
> 
> ### ** Examples
> 
> # data
> Y <- BGGM::ptsd
Error in loadNamespace(x) : there is no package called ‘BGGM’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-lin_comb_methods.R:6:11): lin_comb methods produce expected errors ──
  Error: there is no package called 'BGGM'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test-lin_comb_methods.R:6:10
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted
Package suggested but not available for checking: ‘BGGM’
Running examples in ‘bayeslincom-Ex.R’ failed
The error most likely occurred in:

> ### Name: lin_comb
> ### Title: Perform a linear combination of posterior samples
> ### Aliases: lin_comb
> 
> ### ** Examples
> 
> # data
> Y <- BGGM::ptsd
Error in loadNamespace(x) : there is no package called ‘BGGM’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-lin_comb_methods.R:6:11): lin_comb methods produce expected errors ──
  Error: there is no package called 'BGGM'
  Backtrace:
      █
   1. └─base::loadNamespace(x) test-lin_comb_methods.R:6:10
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base:::withOneRestart(expr, restarts[[1L]])
   4.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted