- using R version 4.4.3 Patched (2026-02-12 r89426 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'registr/DESCRIPTION' ... OK
- this is package 'registr' version '2.2.1'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'registr' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 13.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [4s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [14s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... NOTE
GNU make is a SystemRequirements.
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [11s] ERROR
Running examples in 'registr-Ex.R' failed
The error most likely occurred in:
> ### Name: gfpca_twoStep
> ### Title: Generalized functional principal component analysis
> ### Aliases: gfpca_twoStep
>
> ### ** Examples
>
> data(growth_incomplete)
>
> # estimate 2 FPCs
> fpca_obj = gfpca_twoStep(Y = growth_incomplete, npc = 2, family = "gaussian")
Using the first 2 FPCs which explain 73.8% of the (approximated) total variance.
Error: 'mchol' is not an exported object from 'namespace:mgcv'
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [398s] ERROR
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [159s] OK
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [8s] OK
- DONE
Status: 2 ERRORs, 1 NOTE