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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: interpret_bounds
> ### Title: Convert bounds string to a function
> ### Aliases: interpret_bounds
> 
> ### ** Examples
> 
> b <- graph_from_literal(X -+ Y, Ur -+ X, Ur -+ Y)
> V(b)$leftside <- c(0,0,0)
> V(b)$latent <- c(0,0,1)
> V(b)$nvals <- c(2,2,2)
> E(b)$rlconnect <- E(b)$edge.monotone <- c(0, 0, 0)
> obj <- analyze_graph(b, constraints = NULL, effectt = "p{Y(X = 1) = 1} - p{Y(X = 0) = 1}")
> bounds <- optimize_effect(obj)
*** buffer overflow detected ***: terminated
Aborted
Running ‘testthat.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(causaloptim)
  Loading required package: igraph
  
  Attaching package: 'igraph'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  The following objects are masked from 'package:stats':
  
      decompose, spectrum
  
  The following object is masked from 'package:base':
  
      union
  
  > 
  > test_check("causaloptim")
  *** buffer overflow detected ***: terminated
  Aborted
Running examples in ‘causaloptim-Ex.R’ failed
The error most likely occurred in:

> ### Name: interpret_bounds
> ### Title: Convert bounds string to a function
> ### Aliases: interpret_bounds
> 
> ### ** Examples
> 
> b <- graph_from_literal(X -+ Y, Ur -+ X, Ur -+ Y)
> V(b)$leftside <- c(0,0,0)
> V(b)$latent <- c(0,0,1)
> V(b)$nvals <- c(2,2,2)
> E(b)$rlconnect <- E(b)$edge.monotone <- c(0, 0, 0)
> obj <- analyze_graph(b, constraints = NULL, effectt = "p{Y(X = 1) = 1} - p{Y(X = 0) = 1}")
> bounds <- optimize_effect(obj)
*** buffer overflow detected ***: terminated
Running ‘testthat.R’ [3s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(causaloptim)
  Loading required package: igraph
  
  Attaching package: 'igraph'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  The following objects are masked from 'package:stats':
  
      decompose, spectrum
  
  The following object is masked from 'package:base':
  
      union
  
  > 
  > test_check("causaloptim")
  *** buffer overflow detected ***: terminated