Skip to content

rebuilding vignettes failed on CRAN #44

@matteodelucchi

Description

@matteodelucchi

path to images in vignettes is wrong.
Might become resolved upon merging #41 .

see for example:

using R version 4.2.3 (2023-03-15 ucrt)
using platform: x86_64-w64-mingw32 (64-bit)
using session charset: UTF-8
checking for file 'abn/DESCRIPTION' ... OK
this is package 'abn' version '3.0.6'
package encoding: UTF-8
checking package namespace information ... OK
checking package dependencies ... NOTE
Package suggested but not available for checking: 'INLA'
checking if this is a source package ... OK
checking if there is a namespace ... OK
checking for hidden files and directories ... OK
checking for portable file names ... OK
checking whether package 'abn' can be installed ... OK
See the [install log](https://www.r-project.org/nosvn/R.check/r-oldrel-windows-x86_64/abn-00install.html) for details.
checking installed package size ... NOTE
  installed size is  7.1Mb
  sub-directories of 1Mb or more:
    data      1.0Mb
    extdata   2.9Mb
    libs      2.0Mb
checking package directory ... OK
checking 'build' directory ... OK
checking DESCRIPTION meta-information ... OK
checking top-level files ... OK
checking for left-over files ... OK
checking index information ... OK
checking package subdirectories ... OK
checking R files for non-ASCII characters ... OK
checking R files for syntax errors ... OK
checking whether the package can be loaded ... OK
checking whether the package can be loaded with stated dependencies ... OK
checking whether the package can be unloaded cleanly ... OK
checking whether the namespace can be loaded with stated dependencies ... OK
checking whether the namespace can be unloaded cleanly ... OK
checking loading without being on the library search path ... OK
checking use of S3 registration ... OK
checking dependencies in R code ... OK
checking S3 generic/method consistency ... OK
checking replacement functions ... OK
checking foreign function calls ... OK
checking R code for possible problems ... [29s] OK
checking Rd files ... [2s] OK
checking Rd metadata ... OK
checking Rd cross-references ... OK
checking for missing documentation entries ... OK
checking for code/documentation mismatches ... OK
checking Rd \usage sections ... OK
checking Rd contents ... OK
checking for unstated dependencies in examples ... OK
checking contents of 'data' directory ... OK
checking data for non-ASCII characters ... OK
checking LazyData ... OK
checking data for ASCII and uncompressed saves ... OK
checking line endings in shell scripts ... OK
checking line endings in C/C++/Fortran sources/headers ... OK
checking line endings in Makefiles ... OK
checking compilation flags in Makevars ... OK
checking for GNU extensions in Makefiles ... OK
checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
checking use of PKG_*FLAGS in Makefiles ... OK
checking pragmas in C/C++ headers and code ... OK
checking compiled code ... OK
checking installed files from 'inst/doc' ... OK
checking files in 'vignettes' ... OK
checking examples ... [22s] OK
checking for unstated dependencies in 'tests' ... OK
checking tests ... [305s] ERROR
  Running 'testthat.R' [305s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(abn)
  abn version 3.0.6 (2024-03-21) is loaded.
  To cite the package 'abn' in publications call: citation('abn').
  
  Attaching package: 'abn'
  
  The following object is masked from 'package:base':
  
      factorial
  
  > 
  > require(RhpcBLASctl)
  Loading required package: RhpcBLASctl
  > omp_set_num_threads(2)
  > 
  > test_check("abn")
  Loading required package: Matrix
  Running in single core mode. 'cluster.type' is ignored.
  Running in single core mode. 'cluster.type' is ignored.
  Running in single core mode. 'cluster.type' is ignored.
  Running in single core mode. 'cluster.type' is ignored.
  
  Iteration 1 - deviance = 801.89 - criterion = 2.014199
  Iteration 2 - deviance = 800.5341 - criterion = 0.04426251
  Iteration 3 - deviance = 800.5339 - criterion = 5.210016e-06
  Iteration 4 - deviance = 800.5339 - criterion = 5.363507e-13
  converged
  
  Iteration 1 - deviance = 798.6166 - criterion = 1.874215
  Iteration 2 - deviance = 797.3505 - criterion = 0.03945357
  Iteration 3 - deviance = 797.3503 - criterion = 8.411144e-06
  Iteration 4 - deviance = 797.3503 - criterion = 6.416675e-13
  converged
  
  Iteration 1 - deviance = 800.841 - criterion = 1.953695
  Iteration 2 - deviance = 799.4241 - criterion = 0.04384531
  Iteration 3 - deviance = 799.424 - criterion = 5.262527e-06
  Iteration 4 - deviance = 799.424 - criterion = 7.763524e-13
  converged
  
  Iteration 1 - deviance = 733.9755 - criterion = 1.056032
  Iteration 2 - deviance = 730.6673 - criterion = 0.04998392
  Iteration 3 - deviance = 730.577 - criterion = 0.002808114
  Iteration 4 - deviance = 730.5768 - criterion = 7.365004e-06
  Iteration 5 - deviance = 730.5768 - criterion = 3.999521e-11
  converged
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  
  Iteration 1 - deviance = 733.9755 - criterion = 1.056032
  Iteration 2 - deviance = 730.6673 - criterion = 0.04998392
  Iteration 3 - deviance = 730.577 - criterion = 0.002808114
  Iteration 4 - deviance = 730.5768 - criterion = 7.365004e-06
  Iteration 5 - deviance = 730.5768 - criterion = 3.999521e-11
  converged
  boundary (singular) fit: see help('isSingular')
  
  Iteration 1 - deviance = 801.89 - criterion = 2.014199
  Iteration 2 - deviance = 800.5341 - criterion = 0.04426251
  Iteration 3 - deviance = 800.5339 - criterion = 5.210016e-06
  Iteration 4 - deviance = 800.5339 - criterion = 5.363507e-13
  converged
  
  Iteration 1 - deviance = 798.6166 - criterion = 1.874215
  Iteration 2 - deviance = 797.3505 - criterion = 0.03945357
  Iteration 3 - deviance = 797.3503 - criterion = 8.411144e-06
  Iteration 4 - deviance = 797.3503 - criterion = 6.416675e-13
  converged
  
  Iteration 1 - deviance = 800.841 - criterion = 1.953695
  Iteration 2 - deviance = 799.4241 - criterion = 0.04384531
  Iteration 3 - deviance = 799.424 - criterion = 5.262527e-06
  Iteration 4 - deviance = 799.424 - criterion = 7.763524e-13
  converged
  
  Iteration 1 - deviance = 733.9755 - criterion = 1.056032
  Iteration 2 - deviance = 730.6673 - criterion = 0.04998392
  Iteration 3 - deviance = 730.577 - criterion = 0.002808114
  Iteration 4 - deviance = 730.5768 - criterion = 7.365004e-06
  Iteration 5 - deviance = 730.5768 - criterion = 3.999521e-11
  converged
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  
  Iteration 1 - deviance = 801.89 - criterion = 2.014199
  Iteration 2 - deviance = 800.5341 - criterion = 0.04426251
  Iteration 3 - deviance = 800.5339 - criterion = 5.210016e-06
  Iteration 4 - deviance = 800.5339 - criterion = 5.363507e-13
  converged
  boundary (singular) fit: see help('isSingular')
  [ FAIL 29 | WARN 0 | SKIP 54 | PASS 347 ]
  
  ══ Skipped tests (54) ══════════════════════════════════════════════════════════
  • BuildScoreCache(method=mle) crashes with Poisson nodes (1):
    'test-fitabn_mle.R:132:3'
  • INLA is not tested on CRAN (2): 'test-mostprobable.R:203:5',
    'test-search_hillclimber.R:77:7'
  • Numerical results are not tested for method='bayes' (2):
    'test-build_score_cache_bayes.R:51:3', 'test-build_score_cache_bayes.R:104:3'
  • On CRAN (27): 'test-abn-methods.R:212:3', 'test-abn-methods.R:237:3',
    'test-abn-methods.R:262:3', 'test-abn-methods.R:287:3',
    'test-abn-methods.R:312:3', 'test-abn-methods.R:337:3',
    'test-abn-methods.R:362:3', 'test-abn-methods.R:387:3',
    'test-abn-methods.R:412:3', 'test-build_score_cache.R:380:3',
    'test-build_score_cache.R:428:3', 'test-calc_node_inla_glm.R:2:3',
    'test-calc_node_inla_glmm.R:2:3', 'test-fitabn.R:26:3', 'test-fitabn.R:56:3',
    'test-fitabn.R:75:3', 'test-fitabn.R:94:3', 'test-fitabn.R:136:3',
    'test-fitabn.R:190:3', 'test-fitabn_bayes.R:2:3', 'test-mostprobable.R:11:3',
    'test-mostprobable.R:78:3', 'test-plot-abn.R:34:3', 'test-plot-abn.R:125:3',
    'test-simulateabn.R:490:3', 'test-tographviz.R:27:3',
    'test-tographviz.R:171:3'
  • Plot classic view is deprecated. (1): 'test-plot-abn.R:117:3'
  • empty test (21): 'test-abn-methods.R:15:1', 'test-build_score_cache.R:326:1',
    'test-build_score_cache_mle.R:1:1', 'test-build_score_cache_mle.R:34:1',
    'test-build_score_cache_mle.R:84:1', 'test-build_score_cache_mle.R:119:1',
    'test-build_score_cache_mle.R:155:1', 'test-build_score_cache_mle.R:214:1',
    'test-build_score_cache_mle.R:252:1', 'test-fitabn_mle.R:1:1',
    'test-fitabn_mle.R:35:1', 'test-fitabn_mle.R:84:1',
    'test-fitabn_mle.R:195:1', 'test-fitabn_mle.R:283:1',
    'test-fitabn_mle.R:379:1', 'test-fitabn_mle.R:475:1',
    'test-fitabn_mle.R:585:1', 'test-simulateabn.R:617:1',
    'test-simulateabn.R:688:1', 'test-simulateabn.R:787:1',
    'test-simulateabn.R:887:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-abn-methods.R:44:3'): print.abnCache() works. ──────────────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(...) at test-abn-methods.R:44:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-abn-methods.R:60:3'): print.abnHeuristic() works. ──────────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = 2) at test-abn-methods.R:60:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-abn-methods.R:79:3'): plot.abnHeuristic() works. ───────────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = 2) at test-abn-methods.R:79:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-abn-methods.R:105:3'): print.abnHillClimber() works. ───────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = 2) at test-abn-methods.R:105:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-abn-methods.R:126:3'): plot.abnHillClimber() works. ────────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = 2) at test-abn-methods.R:126:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-abn-methods.R:154:3'): print.abnMostprobable() works. ──────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = max.par) at test-abn-methods.R:154:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-abn-methods.R:175:3'): summary.abnMostprobable() works. ────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = max.par) at test-abn-methods.R:175:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-abn-methods.R:196:3'): plot.abnMostprobable() works. ───────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = max.par) at test-abn-methods.R:196:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Failure ('test-build_score_cache.R:41:7'): buildScoreCache() checks work fine ──
  Expected `buildScoreCache(data.df = df, data.dists = dists)` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5
   4. │ └─base::withCallingHandlers(...)
   5. └─testthat::expect_no_error(buildScoreCache(data.df = df, data.dists = dists)) at test-build_score_cache.R:41:7
  ── Failure ('test-build_score_cache.R:42:7'): buildScoreCache() checks work fine ──
  Expected `buildScoreCache(data.df = df, data.dists = dists, method = "Bayes")` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5
   4. │ └─base::withCallingHandlers(...)
   5. └─testthat::expect_no_error(...) at test-build_score_cache.R:42:7
  ── Failure ('test-build_score_cache.R:43:7'): buildScoreCache() checks work fine ──
  Expected `buildScoreCache(data.df = df, data.dists = dists, method = "bayes")` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5
   4. │ └─base::withCallingHandlers(...)
   5. └─testthat::expect_no_error(...) at test-build_score_cache.R:43:7
  ── Failure ('test-build_score_cache.R:49:7'): buildScoreCache() checks work fine ──
  Expected `buildScoreCache(...)` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5
   4. │ └─base::withCallingHandlers(...)
   5. └─testthat::expect_no_error(...) at test-build_score_cache.R:49:7
  ── Failure ('test-build_score_cache.R:53:7'): buildScoreCache() checks work fine ──
  Expected `buildScoreCache(...)` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5
   4. │ └─base::withCallingHandlers(...)
   5. └─testthat::expect_no_error(...) at test-build_score_cache.R:53:7
  ── Failure ('test-build_score_cache.R:62:7'): buildScoreCache() checks work fine ──
  Expected `buildScoreCache(...)` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5
   4. │ └─base::withCallingHandlers(...)
   5. └─testthat::expect_no_error(...) at test-build_score_cache.R:62:7
  ── Error ('test-build_score_cache.R:66:7'): buildScoreCache() checks work fine ──
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5
    4. │ └─base::withCallingHandlers(...)
    5. ├─testthat::expect_warning(...) at test-build_score_cache.R:66:7
    6. │ └─testthat:::expect_condition_matching(...)
    7. │   └─testthat:::quasi_capture(...)
    8. │     ├─testthat (local) .capture(...)
    9. │     │ └─base::withCallingHandlers(...)
   10. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   11. └─abn::buildScoreCache(...)
   12.   └─abn::buildScoreCache.bayes(...)
   13.     └─... %do% ...
   14.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   15.         └─base::library(p, character.only = TRUE)
  ── Failure ('test-build_score_cache.R:204:7'): buildScoreCache() is backward compatible ──
  Expected `{ ... }` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-build_score_cache.R:179:3
   2. │ └─base::withCallingHandlers(...)
   3. └─testthat::expect_no_error(...) at test-build_score_cache.R:181:5
  ── Failure ('test-build_score_cache.R:258:7'): buildScoreCache() is backward compatible ──
  Expected `{ ... }` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-build_score_cache.R:179:3
   2. │ └─base::withCallingHandlers(...)
   3. └─testthat::expect_no_error(...) at test-build_score_cache.R:220:5
  ── Failure ('test-build_score_cache.R:321:7'): buildScoreCache() is backward compatible ──
  Expected `{ ... }` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─base::suppressMessages(...) at test-build_score_cache.R:179:3
   2. │ └─base::withCallingHandlers(...)
   3. └─testthat::expect_no_error(...) at test-build_score_cache.R:308:5
  ── Failure ('test-build_score_cache_bayes.R:11:5'): General behaviour of buildScoreCache.bayes() ──
  Expected `buildScoreCache(...)` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-build_score_cache_bayes.R:10:3
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─testthat::expect_no_error(...) at test-build_score_cache_bayes.R:11:5
  ── Failure ('test-build_score_cache_bayes.R:17:5'): General behaviour of buildScoreCache.bayes() ──
  Expected `buildScoreCache(...)` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-build_score_cache_bayes.R:16:3
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─testthat::expect_no_error(...) at test-build_score_cache_bayes.R:17:5
  ── Error ('test-build_score_cache_bayes.R:20:3'): General behaviour of buildScoreCache.bayes() ──
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-build_score_cache_bayes.R:20:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─abn::buildScoreCache(...)
   5.   └─abn::buildScoreCache.bayes(...)
   6.     └─... %do% ...
   7.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   8.         └─base::library(p, character.only = TRUE)
  ── Failure ('test-build_score_cache_bayes.R:43:5'): buildScoreCache.bayes() with Gaussian nodes ──
  Expected `{ ... }` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  ── Failure ('test-build_score_cache_bayes.R:98:5'): buildScoreCache.bayes() with Binomial nodes ──
  Expected `{ ... }` to run without any errors.
  i Actually got a <packageNotFoundError> with text:
    there is no package called 'INLA'
  ── Error ('test-build_score_cache_bayes.R:125:3'): buildScoreCache.bayes() simple, historic numeric test ──
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(...) at test-build_score_cache_bayes.R:125:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-mostprobable.R:5:3'): Test mostProbable() works ────────────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(...) at test-mostprobable.R:5:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-mostprobable.R:211:3'): mostProbable() simple, historic numeric test ──
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(...) at test-mostprobable.R:211:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-search_heuristic.R:9:3'): searchHeuristic() works. ─────────────
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = 2) at test-search_heuristic.R:9:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-search_hillclimber.R:38:5'): searchHillClimber() is backward compatible with `ex1.dag.data` ──
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(data.df = mydat, data.dists = mydists, max.parents = max.par) at test-search_hillclimber.R:38:5
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  ── Error ('test-search_hillclimber.R:85:3'): searchHillClimber() simple, historic numeric test ──
  <packageNotFoundError/error/condition>
  Error in `library(p, character.only = TRUE)`: there is no package called 'INLA'
  Backtrace:
      ▆
   1. └─abn::buildScoreCache(...) at test-search_hillclimber.R:85:3
   2.   └─abn::buildScoreCache.bayes(...)
   3.     └─... %do% ...
   4.       └─e$fun(obj, substitute(ex), parent.frame(), e$data)
   5.         └─base::library(p, character.only = TRUE)
  
  [ FAIL 29 | WARN 0 | SKIP 54 | PASS 347 ]
  Deleting unused snapshots:
  • tographviz/graph.dot
  • tographviz/graph1.dot
  • tographviz/graph_group.dot
  Error: Test failures
  Execution halted
checking for unstated dependencies in vignettes ... OK
checking package vignettes in 'inst/doc' ... OK
checking re-building of vignette outputs ... [40s] ERROR
Error(s) in re-building vignettes:
--- re-building 'data_simulation.Rmd' using rmarkdown
File fit_model-1.png not found in resource path
Error: processing vignette 'data_simulation.Rmd' failed with diagnostics:
pandoc document conversion failed with error 99
--- failed re-building 'data_simulation.Rmd'

--- re-building 'mixed_effect_BN_model.Rmd' using rmarkdown
--- finished re-building 'mixed_effect_BN_model.Rmd'

--- re-building 'model_specification.Rmd' using rmarkdown
--- finished re-building 'model_specification.Rmd'

--- re-building 'multiprocessing.Rmd' using rmarkdown
File benchmarkBoxPlot-1.png not found in resource path
Error: processing vignette 'multiprocessing.Rmd' failed with diagnostics:
pandoc document conversion failed with error 99
--- failed re-building 'multiprocessing.Rmd'

--- re-building 'paper.Rmd' using rmarkdown
--- finished re-building 'paper.Rmd'

--- re-building 'parameter_learning.Rmd' using rmarkdown
File unnamed-chunk-3-1.png not found in resource path
Error: processing vignette 'parameter_learning.Rmd' failed with diagnostics:
pandoc document conversion failed with error 99
--- failed re-building 'parameter_learning.Rmd'

--- re-building 'quick_start_example.Rmd' using rmarkdown
--- finished re-building 'quick_start_example.Rmd'

--- re-building 'structure_learning.Rmd' using rmarkdown
--- finished re-building 'structure_learning.Rmd'

SUMMARY: processing the following files failed:
  'data_simulation.Rmd' 'multiprocessing.Rmd' 'parameter_learning.Rmd'

Error: Vignette re-building failed.
Execution halted
checking PDF version of manual ... OK
DONE
Status: 2 ERRORs, 2 NOTEs

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions