Running ‘testthat.R’ [10s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dexterMST)
  > 
  > test_check("dexterMST")
  Added 140 scoring rules
  1 item properties updated for 70 items`125` = M1[0:5] --+ M2[11:15] --+ M5
  4 item properties for 24 items added or updated
  Added 30 scoring rules
  Added 140 scoring rules
  [ FAIL 6 | WARN 10 | SKIP 0 | PASS 6 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_calibration.R:87:3'): we can calibrate ─────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─dexterMST (local) get_sim_all() at test_calibration.R:87:2
   2.   └─dexterMST::add_response_data_mst(db, dat) at test_calibration.R:40:2
   3.     ├─base::`[<-`(`*tmp*`, is.na(rsp_data$response), "response", value = `<chr>`)
   4.     └─tibble:::`[<-.tbl_df`(...)
   5.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   6.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   7.           ├─base::withCallingHandlers(...)
   8.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_inputs.R:67:3'): can import from dexter and calbration comparable to dexter ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─dexter::fit_enorm(dxdb) at test_inputs.R:67:2
    2. │ └─dexter:::fit_enorm_(...)
    3. │   └─dexter:::get_sufStats_nrm(respData)
    4. │     └─... %>% arrange(.data$booklet_id, .data$booklet_score)
    5. ├─dplyr::arrange(., .data$booklet_id, .data$booklet_score)
    6. ├─dplyr::mutate(., N = coalesce(.data$N, 0L))
    7. ├─dplyr::right_join(., all_scores, by = c("booklet_id", "booklet_score"))
    8. └─dplyr:::right_join.data.frame(...)
    9.   └─dplyr:::join_mutate(...)
   10.     ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   11.     └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   12.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   13.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   14.           ├─base::withCallingHandlers(...)
   15.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_poly.R:53:3'): discriminations ─────────────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─dexterMST::add_response_data_mst(db, rsp_data) at test_poly.R:53:2
   2.   ├─base::`[<-`(`*tmp*`, is.na(rsp_data$response), "response", value = `<chr>`)
   3.   └─tibble:::`[<-.tbl_df`(...)
   4.     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   5.       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   6.         ├─base::withCallingHandlers(...)
   7.         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_poly.R:69:3'): poly NR problem ─────────────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─stats::coef(fit_enorm(db)) at test_poly.R:69:2
    2. ├─dexter::fit_enorm(db)
    3. │ └─dexter:::fit_enorm_(...)
    4. │   └─dexter:::get_sufStats_nrm(respData)
    5. │     └─... %>% arrange(.data$booklet_id, .data$booklet_score)
    6. ├─dplyr::arrange(., .data$booklet_id, .data$booklet_score)
    7. ├─dplyr::mutate(., N = coalesce(.data$N, 0L))
    8. ├─dplyr::right_join(., all_scores, by = c("booklet_id", "booklet_score"))
    9. └─dplyr:::right_join.data.frame(...)
   10.   └─dplyr:::join_mutate(...)
   11.     ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   12.     └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   13.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   14.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   15.           ├─base::withCallingHandlers(...)
   16.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_poly.R:126:3'): poly normal2 ───────────────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─stats::coef(fit_enorm(db)) at test_poly.R:126:2
    2. ├─dexter::fit_enorm(db)
    3. │ └─dexter:::fit_enorm_(...)
    4. │   └─dexter:::get_sufStats_nrm(respData)
    5. │     └─... %>% arrange(.data$booklet_id, .data$booklet_score)
    6. ├─dplyr::arrange(., .data$booklet_id, .data$booklet_score)
    7. ├─dplyr::mutate(., N = coalesce(.data$N, 0L))
    8. ├─dplyr::right_join(., all_scores, by = c("booklet_id", "booklet_score"))
    9. └─dplyr:::right_join.data.frame(...)
   10.   └─dplyr:::join_mutate(...)
   11.     ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   12.     └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   13.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   14.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   15.           ├─base::withCallingHandlers(...)
   16.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_profiles.R:50:3'): profiles match simulated rasch data ─────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─dexterMST::add_response_data_mst(db, dat) at test_profiles.R:50:2
   2.   ├─base::`[<-`(`*tmp*`, is.na(rsp_data$response), "response", value = `<chr>`)
   3.   └─tibble:::`[<-.tbl_df`(...)
   4.     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   5.       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   6.         ├─base::withCallingHandlers(...)
   7.         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 6 | WARN 10 | SKIP 0 | PASS 6 ]
  Error: Test failures
  Execution halted