Running 'testthat.R' [397s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(registr)
  > 
  > test_check("registr")
  Saving _problems/test-gfpca_twoStep-53.R
  Saving _problems/test-gfpca_twoStep-84.R
  Saving _problems/test-gfpca_twoStep-108.R
  Saving _problems/test-gfpca_twoStep-127.R
  Saving _problems/test-gfpca_twoStep-146.R
  Saving _problems/test-gfpca_twoStep-164.R
  Saving _problems/test-gfpca_twoStep-172.R
  Saving _problems/test-plot_fpca-12.R
  Saving _problems/test-register_fpca-13.R
  Saving _problems/test-register_fpca-29.R
  Saving _problems/test-register_fpca-41.R
  Saving _problems/test-register_fpca-49.R
  Saving _problems/test-register_fpca-57.R
  [ FAIL 13 | WARN 6 | SKIP 6 | PASS 166 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (6): 'test-register_fpca.R:61:3', 'test-register_fpca.R:92:3',
    'test-register_fpca.R:110:3', 'test-register_fpca.R:123:3',
    'test-register_fpca.R:138:3', 'test-register_fpca.R:182:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gfpca_twoStep.R:53:2'): gfpca_twoStep (Gaussian) output is a list with non-null items and class fpca ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(Y, npc = 2) at test-gfpca_twoStep.R:53:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-gfpca_twoStep.R:84:2'): gfpca_twoStep (Gaussian) output has correct number of dimensions ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(Y, npc = 2, Kt = Kt, index_significantDigits = 4) at test-gfpca_twoStep.R:84:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-gfpca_twoStep.R:107:2'): gfpca_twoStep (Binomial) output has correct number of dimensions ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(...) at test-gfpca_twoStep.R:107:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-gfpca_twoStep.R:126:2'): gfpca_twoStep (Gamma) output has correct number of dimensions ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(...) at test-gfpca_twoStep.R:126:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-gfpca_twoStep.R:145:2'): gfpca_twoStep (Poisson) output has correct number of dimensions ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(...) at test-gfpca_twoStep.R:145:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-gfpca_twoStep.R:164:2'): gfpca_twoStep (Gaussian) returns a correct knots vector when periodic = TRUE ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(...) at test-gfpca_twoStep.R:164:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-gfpca_twoStep.R:172:2'): gfpca_twoStep (Gaussian) has correct number of dimensions when applied on incomplete curves ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(Y, npc = 2, Kt = Kt, index_significantDigits = 4) at test-gfpca_twoStep.R:172:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-plot_fpca.R:12:2'): plot.fpca returns a cowplot object with classes 'gg' and 'ggplot' for all FPCA functions ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. └─registr::gfpca_twoStep(Y = growth_incomplete, npc = 2, family = "gaussian") at test-plot_fpca.R:12:9
   2.   └─gamm4::gamm4(...)
  ── Error ('test-register_fpca.R:11:2'): code only accepts supported family of distributions ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-register_fpca.R:11:9
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─registr::register_fpca(...)
   7.   └─registr::gfpca_twoStep(...)
   8.     └─gamm4::gamm4(...)
  ── Error ('test-register_fpca.R:27:2'): registering binary data throws no errors ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-register_fpca.R:27:9
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─registr::register_fpca(...)
   7.   └─registr::gfpca_twoStep(...)
   8.     └─gamm4::gamm4(...)
  ── Error ('test-register_fpca.R:39:2'): registering gaussian data throws no errors ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-register_fpca.R:39:9
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─registr::register_fpca(...)
   7.   └─registr::gfpca_twoStep(...)
   8.     └─gamm4::gamm4(...)
  ── Error ('test-register_fpca.R:47:2'): registering gamma data throws no errors ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-register_fpca.R:47:9
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─registr::register_fpca(...)
   7.   └─registr::gfpca_twoStep(...)
   8.     └─gamm4::gamm4(...)
  ── Error ('test-register_fpca.R:55:2'): registering poisson data throws no errors ──
  Error: 'mchol' is not an exported object from 'namespace:mgcv'
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-register_fpca.R:55:9
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─registr::register_fpca(...)
   7.   └─registr::gfpca_twoStep(...)
   8.     └─gamm4::gamm4(...)
  
  [ FAIL 13 | WARN 6 | SKIP 6 | PASS 166 ]
  Error:
  ! Test failures.
  Execution halted