Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(mixl)
  > 
  > test_check("mixl")
        $car8_1       $car8_2       $car8_3       $car8_4      $car13_1 
       "car8_1"      "car8_2"      "car8_3"      "car8_4"     "car13_1" 
       $car13_2      $car13_3      $car13_4      $car21_1      $car21_2 
      "car13_2"     "car13_3"     "car13_4"     "car21_1"     "car21_2" 
       $car21_3      $car21_4      $car23_1      $car23_2      $car23_3 
      "car21_3"     "car21_4"     "car23_1"     "car23_2"     "car23_3" 
       $car23_4        $pt3_1        $pt3_2        $pt3_3        $pt3_4 
      "car23_4"       "pt3_1"       "pt3_2"       "pt3_3"       "pt3_4" 
        $distie          $age        $urban          $sex      $tt_w_rp 
       "distie"         "age"       "urban"         "sex"     "tt_w_rp" 
       $tt_b_rp      $tt_c_rp      $tc_c_rp     $tt_pt_rp   $trns_pt_rp 
      "tt_b_rp"     "tt_c_rp"     "tc_c_rp"    "tt_pt_rp"  "trns_pt_rp" 
     $acc_pt_rp   $freq_pt_rp  $tc_pt_rp_a1     $tt_bf_mc      $tt_v_mc 
    "acc_pt_rp"  "freq_pt_rp" "tc_pt_rp_a1"    "tt_bf_mc"     "tt_v_mc" 
      $tt_cp_mc    $acc_cp_mc      $r_cp_mc      $c_cp_mc     $tt_cs_mc 
     "tt_cp_mc"   "acc_cp_mc"     "r_cp_mc"     "c_cp_mc"    "tt_cs_mc" 
     $acc_cs_mc      $c_cs_mc     $tt_pt_mc     $tr_pt_mc    $acc_pt_mc 
    "acc_cs_mc"     "c_cs_mc"    "tt_pt_mc"    "tr_pt_mc"   "acc_pt_mc" 
       $s_pt_mc      $c_pt_mc    $tt_a1_rcc     $q_a1_rcc   $acc_a1_rcc 
      "s_pt_mc"     "c_pt_mc"   "tt_a1_rcc"    "q_a1_rcc"  "acc_a1_rcc" 
      $c_a1_rcc    $tt_a2_rcc     $q_a2_rcc   $acc_a2_rcc     $c_a2_rcc 
     "c_a1_rcc"   "tt_a2_rcc"    "q_a2_rcc"  "acc_a2_rcc"    "c_a2_rcc" 
     $tt_a3_rcc     $q_a3_rcc   $acc_a3_rcc     $c_a3_rcc   $tt_a1_rcpt 
    "tt_a3_rcc"    "q_a3_rcc"  "acc_a3_rcc"    "c_a3_rcc"  "tt_a1_rcpt" 
   $acc_a1_rcpt   $tr_a1_rcpt    $f_a1_rcpt    $c_a1_rcpt   $tt_a2_rcpt 
  "acc_a1_rcpt"  "tr_a1_rcpt"   "f_a1_rcpt"   "c_a1_rcpt"  "tt_a2_rcpt" 
   $acc_a2_rcpt   $tr_a2_rcpt    $f_a2_rcpt    $c_a2_rcpt   $tt_a3_rcpt 
  "acc_a2_rcpt"  "tr_a2_rcpt"   "f_a2_rcpt"   "c_a2_rcpt"  "tt_a3_rcpt" 
   $acc_a3_rcpt   $tr_a3_rcpt    $f_a3_rcpt    $c_a3_rcpt 
  "acc_a3_rcpt"  "tr_a3_rcpt"   "f_a3_rcpt"   "c_a3_rcpt" 
  Warning messages:
  1: In system(paste(cmd, "shlib-clean")) : 'make' not found
  2: In system(cmd) : 'make' not found
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_maxlikelihood.R:15:5): A basic MNL model converges and creates the output ──
  Error in `Rcpp::sourceCpp(code = e1$cpp_code, env = cpp_container, ...)`: Error 1 occurred building shared library.
  Backtrace:
      █
   1. └─mixl::specify_model(mnl_test, Train, rebuild = T) test_maxlikelihood.R:15:4
   2.   └─Rcpp::sourceCpp(code = e1$cpp_code, env = cpp_container, ...)
  
  [ FAIL 1 | WARN 0 | SKIP 5 | PASS 28 ]
  Error: Test failures
  Execution halted