Running ‘testthat-prediction.R’ [13s/37s]
Running the tests in ‘tests/testthat-prediction.R’ failed.
Complete output:
  > library("testthat")
  > library("prediction")
  > test_check("prediction")
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 36 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests-core.R:10'): Test prediction() ────────────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at tests-core.R:10:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::inherits(prediction(mod1, data = mtcars), "data.frame")
    5. ├─prediction::prediction(mod1, data = mtcars)
    6. └─prediction:::prediction.lm(mod1, data = mtcars)
    7.   ├─stats::predict(...)
    8.   └─stats::predict.lm(...)
    9.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   10.       ├─base::qr(a, tol = tol)
   11.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-core.R:24'): Test prediction(data = ) ─────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─prediction::prediction(m, data = data.frame(cyl = 4, wt = 3.9)) at tests-core.R:24:4
   2. └─prediction:::prediction.lm(m, data = data.frame(cyl = 4, wt = 3.9))
   3.   ├─stats::predict(...)
   4.   └─stats::predict.lm(...)
   5.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   6.       ├─base::qr(a, tol = tol)
   7.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-core.R:34'): Test prediction(at = ) ───────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─prediction::prediction(m, at = list(cyl = 4)) at tests-core.R:34:4
   2. └─prediction:::prediction.lm(m, at = list(cyl = 4))
   3.   ├─stats::predict(...)
   4.   └─stats::predict.lm(...)
   5.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   6.       ├─base::qr(a, tol = tol)
   7.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-core.R:58'): Test print() ─────────────────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at tests-core.R:58:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::inherits(...)
    5. ├─base::print(prediction(lm(mpg ~ cyl, data = mtcars), data = mtcars))
    6. ├─prediction::prediction(lm(mpg ~ cyl, data = mtcars), data = mtcars)
    7. └─prediction:::prediction.lm(lm(mpg ~ cyl, data = mtcars), data = mtcars)
    8.   ├─stats::predict(...)
    9.   └─stats::predict.lm(...)
   10.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   11.       ├─base::qr(a, tol = tol)
   12.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-core.R:68'): Test summary() w/o at() ──────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─prediction::prediction(m1) at tests-core.R:68:4
   2. └─prediction:::prediction.lm(m1)
   3.   ├─stats::predict(...)
   4.   └─stats::predict.lm(...)
   5.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   6.       ├─base::qr(a, tol = tol)
   7.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-core.R:87'): Test summary() w at() ────────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─prediction::prediction(...) at tests-core.R:87:4
   2. └─prediction:::prediction.lm(...)
   3.   ├─stats::predict(...)
   4.   └─stats::predict.lm(...)
   5.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   6.       ├─base::qr(a, tol = tol)
   7.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-core.R:105'): Test prediction_summary() ───────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─prediction::prediction(m1) at tests-core.R:105:4
   2. └─prediction:::prediction.lm(m1)
   3.   ├─stats::predict(...)
   4.   └─stats::predict.lm(...)
   5.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   6.       ├─base::qr(a, tol = tol)
   7.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-core.R:111'): Test head() and tail() ──────────────────────────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─prediction::prediction(lm(mpg ~ cyl, data = mtcars), data = mtcars) at tests-core.R:111:4
   2. └─prediction:::prediction.lm(lm(mpg ~ cyl, data = mtcars), data = mtcars)
   3.   ├─stats::predict(...)
   4.   └─stats::predict.lm(...)
   5.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   6.       ├─base::qr(a, tol = tol)
   7.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-find_data.R:43'): Test find_data.lm() and prediction.lm() with missing data ──
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at tests-find_data.R:43:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::nrow(prediction(m1))
    5. ├─prediction::prediction(m1)
    6. └─prediction:::prediction.lm(m1)
    7.   ├─stats::predict(...)
    8.   └─stats::predict.lm(...)
    9.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   10.       ├─base::qr(a, tol = tol)
   11.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-find_data.R:85'): Test find_data.lm() with subsetted data ─────
  Error in `qr.default(a, tol = tol)`: object '.F_dqrdc2' not found
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at tests-find_data.R:85:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::nrow(prediction(m1))
    5. ├─prediction::prediction(m1)
    6. └─prediction:::prediction.lm(m1)
    7.   ├─stats::predict(...)
    8.   └─stats::predict.lm(...)
    9.     └─base::qr.solve(qr.R(qrX)[p1, p1])
   10.       ├─base::qr(a, tol = tol)
   11.       └─base::qr.default(a, tol = tol)
  ── Error ('tests-methods.R:531'): Test prediction() for 'arima0' ───────────────
  Error in `qr.default(na.omit(xreg))`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. └─stats::arima0(lh, order = c(1, 0, 1)) at tests-methods.R:531:8
   2.   ├─base::qr(na.omit(xreg))
   3.   └─base::qr.default(na.omit(xreg))
  ── Error ('tests-methods.R:541'): Test prediction() for 'nls' ──────────────────
  Error in `qr.default(.swts * rhs)`: object '.F_dqrdc2' not found
  Backtrace:
       ▆
    1. └─stats::nls(demand ~ SSasympOrig(Time, A, lrc), data = BOD) at tests-methods.R:541:8
    2.   ├─stats::getInitial(formula, data = mf, control = control, trace = trace)
    3.   └─stats:::getInitial.formula(...)
    4.     ├─stats::getInitial(...)
    5.     └─stats:::getInitial.selfStart(...)
    6.       └─stats (local) iniFn(mCall = mCall, data = data, LHS = LHS, ...)
    7.         ├─stats::coef(...)
    8.         └─stats::nls(...)
    9.           └─stats:::nlsModel.plinear(...)
   10.             ├─base::qr(.swts * rhs)
   11.             └─base::qr.default(.swts * rhs)
  
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 36 ]
  Error: Test failures
  Execution halted