Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > library(CausalQueries)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Loading required package: Rcpp
  > 
  > test_check("CausalQueries")
  ── 1. Error: negative alphas (@test_clean_params.R#7)  ─────────────────────────
  unable to load shared object '/data/gannet/ripley/R/test-clang/V8/libs/V8.so':
    libnode.so.64: cannot open shared object file: No such file or directory
  Backtrace:
    1. CausalQueries::make_model("X -> Y")
    5. dagitty::edges
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   11. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   12. base::library.dynam(lib, package, package.lib)
   13. base::dyn.load(file, DLLpath = DLLpath, ...)
  
  ── 2. Error: normalized params warning (@test_clean_params.R#16)  ──────────────
  unable to load shared object '/data/gannet/ripley/R/test-clang/V8/libs/V8.so':
    libnode.so.64: cannot open shared object file: No such file or directory
  Backtrace:
    1. CausalQueries::make_model("X -> Y")
    5. dagitty::edges
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   11. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   12. base::library.dynam(lib, package, package.lib)
   13. base::dyn.load(file, DLLpath = DLLpath, ...)
  
  ── 3. Error: observe works when only complete_data is specified (@test_daggity.R
  unable to load shared object '/data/gannet/ripley/R/test-clang/V8/libs/V8.so':
    libnode.so.64: cannot open shared object file: No such file or directory
  Backtrace:
    1. CausalQueries::make_model(models[i])
    5. dagitty::edges
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   11. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   12. base::library.dynam(lib, package, package.lib)
   13. base::dyn.load(file, DLLpath = DLLpath, ...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: negative alphas (@test_clean_params.R#7) 
  2. Error: normalized params warning (@test_clean_params.R#16) 
  3. Error: observe works when only complete_data is specified (@test_daggity.R#10) 
  
  Error: testthat unit tests failed
  Execution halted