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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lin_comb
> ### Title: Perform a linear combination of posterior samples
> ### Aliases: lin_comb
> 
> ### ** Examples
> 
> # data
> if (require(BGGM)) library(BGGM)
Loading required package: BGGM
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BGGM’
> Y <- ptsd
Error: object 'ptsd' not found
Execution halted
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lin_comb_methods.R:6:11'): lin_comb methods produce expected errors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BGGM'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-lin_comb_methods.R:6:11
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) 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:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lin_comb
> ### Title: Perform a linear combination of posterior samples
> ### Aliases: lin_comb
> 
> ### ** Examples
> 
> # data
> if (require(BGGM)) library(BGGM)
Loading required package: BGGM
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BGGM’
> Y <- ptsd
Error: object 'ptsd' not found
Execution halted
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lin_comb_methods.R:6:11'): lin_comb methods produce expected errors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BGGM'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-lin_comb_methods.R:6:11
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) 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
> if (require(BGGM)) library(BGGM)
Loading required package: BGGM
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BGGM’
> Y <- ptsd
Error: object 'ptsd' not found
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lin_comb_methods.R:6:11'): lin_comb methods produce expected errors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BGGM'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-lin_comb_methods.R:6:11
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) 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
> if (require(BGGM)) library(BGGM)
Loading required package: BGGM
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BGGM’
> Y <- ptsd
Error: object 'ptsd' not found
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lin_comb_methods.R:6:11'): lin_comb methods produce expected errors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BGGM'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-lin_comb_methods.R:6:11
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) 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:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lin_comb
> ### Title: Perform a linear combination of posterior samples
> ### Aliases: lin_comb
> 
> ### ** Examples
> 
> # data
> if (require(BGGM)) library(BGGM)
Loading required package: BGGM
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BGGM’
> Y <- ptsd
Error: object 'ptsd' not found
Execution halted
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lin_comb_methods.R:6:11'): lin_comb methods produce expected errors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BGGM'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-lin_comb_methods.R:6:10
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) 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:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lin_comb
> ### Title: Perform a linear combination of posterior samples
> ### Aliases: lin_comb
> 
> ### ** Examples
> 
> # data
> if (require(BGGM)) library(BGGM)
Loading required package: BGGM
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BGGM’
> Y <- ptsd
Error: object 'ptsd' not found
Execution halted
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayeslincom)
  > 
  > test_check("bayeslincom")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lin_comb_methods.R:6:11'): lin_comb methods produce expected errors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'BGGM'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-lin_comb_methods.R:6:11
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted