Running ‘testthat.R’ [208s/300s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(multinma)
  For execution on a local, multicore CPU with excess RAM we recommend calling
  options(mc.cores = parallel::detectCores())
  
  Attaching package: 'multinma'
  
  The following objects are masked from 'package:stats':
  
      dgamma, pgamma, qgamma
  
  > 
  > nowarn_on_ci <- function(expr, ...) {
  +   if (isTRUE(as.logical(Sys.getenv("CI")))) {
  +     suppressWarnings(expr, ...)
  +   } else {
  +     expr
  +   }
  + }
  > 
  > test_check("multinma")
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'normal' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 1).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 2).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 3).
  
  TESTING GRADIENT FOR MODEL 'binomial_1par' NOW (CHAIN 4).
  [ FAIL 1 | WARN 8 | SKIP 18 | PASS 916 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (18)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-add_integration.R:189:3'): warning if missing covariate values when calculating correlations from IPD ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, 5, "x1", value = `<lgl>`) at test-add_integration.R:189:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 5, "x1", value = `<lgl>`) at test-add_integration.R:189:2
   3.   └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   4.     └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   5.       ├─base::withCallingHandlers(...)
   6.       └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 1 | WARN 8 | SKIP 18 | PASS 916 ]
  Error: Test failures
  Execution halted