Last updated on 2025-12-06 00:48:34 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.4.7 | 3.77 | 228.74 | 232.51 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.4.7 | 2.91 | 33.64 | 36.55 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.4.7 | 12.00 | 370.27 | 382.27 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.4.7 | 398.11 | OK | |||
| r-devel-windows-x86_64 | 0.4.7 | 6.00 | 234.00 | 240.00 | OK | |
| r-patched-linux-x86_64 | 0.4.7 | 3.69 | 213.54 | 217.23 | OK | |
| r-release-linux-x86_64 | 0.4.7 | 3.75 | 215.62 | 219.37 | OK | |
| r-release-macos-arm64 | 0.4.7 | OK | ||||
| r-release-macos-x86_64 | 0.4.7 | 4.00 | 235.00 | 239.00 | OK | |
| r-release-windows-x86_64 | 0.4.7 | 6.00 | 230.00 | 236.00 | OK | |
| r-oldrel-macos-arm64 | 0.4.7 | OK | ||||
| r-oldrel-macos-x86_64 | 0.4.7 | 3.00 | 179.00 | 182.00 | OK | |
| r-oldrel-windows-x86_64 | 0.4.7 | 5.00 | 302.00 | 307.00 | OK |
Version: 0.4.7
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'caret', 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.7
Check: examples
Result: ERROR
Running examples in ‘cat2cat-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: summary_c2c
> ### Title: Adjusted summary for linear regression when based on replicated
> ### dataset
> ### Aliases: summary_c2c
>
> ### ** Examples
>
> data("occup_small", package = "cat2cat")
> data("trans", package = "cat2cat")
>
> occup_old <- occup_small[occup_small$year == 2008, ]
> occup_new <- occup_small[occup_small$year == 2010, ]
>
> occup_2 <- cat2cat(
+ data = list(
+ old = occup_old,
+ new = occup_new,
+ cat_var = "code",
+ time_var = "year"
+ ),
+ mappings = list(trans = trans, direction = "backward"),
+ ml = list(
+ data = occup_new,
+ cat_var = "code",
+ method = "knn",
+ features = c("age", "sex", "edu", "exp", "parttime", "salary"),
+ args = list(k = 10)
+ )
+ )
Error in delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", :
Please install caret package to use the knn model in the cat2cat function.
Calls: cat2cat -> cat2cat_ml -> validate_ml -> delayed_package_load
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library("testthat")
> library("cat2cat")
>
> test_check("cat2cat")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-cat2cat-64.R
Saving _problems/test-cat2cat-111.R
Saving _problems/test-cat2cat-135.R
Saving _problems/test-lms-39.R
Saving _problems/test-multi_cat2cat-25.R
Saving _problems/test-softwarex_paper-110.R
[ FAIL 7 | WARN 0 | SKIP 2 | PASS 66 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• {caret} is not installed. (1): 'test-cat2cat_ml.R:11:1'
• {knitr} is not installed. (1): 'test-softwarex_paper.R:74:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cat2cat.R:60:3'): Simple backward cat2cat with 2 periods and ml ──
Error in `delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", "caret", "knn"))`: Please install caret package to use the knn model in the cat2cat function.
Backtrace:
▆
1. └─cat2cat::cat2cat(...) at test-cat2cat.R:60:3
2. └─cat2cat:::cat2cat_ml(...)
3. └─cat2cat:::validate_ml(ml)
4. └─cat2cat:::delayed_package_load(...)
── Error ('test-cat2cat.R:104:5'): Simple backward cat2cat with 2 periods and ml, not all mappings ──
Error in `delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", "caret", "knn"))`: Please install caret package to use the knn model in the cat2cat function.
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-cat2cat.R:104:5
2. │ └─testthat:::expect_condition_matching_(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─cat2cat::cat2cat(...)
8. └─cat2cat:::cat2cat_ml(...)
9. └─cat2cat:::validate_ml(ml)
10. └─cat2cat:::delayed_package_load(...)
── Error ('test-cat2cat.R:116:1'): (code run outside of `test_that()`) ─────────
Error in `delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", "caret", "knn"))`: Please install caret package to use the knn model in the cat2cat function.
Backtrace:
▆
1. └─cat2cat::cat2cat(...) at test-cat2cat.R:116:1
2. └─cat2cat:::cat2cat_ml(...)
3. └─cat2cat:::validate_ml(ml)
4. └─cat2cat:::delayed_package_load(...)
── Error ('test-cat2cat_validate.R:67:3'): validate_ml correct ─────────────────
Error in `delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", "caret", "knn"))`: Please install caret package to use the knn model in the cat2cat function.
Backtrace:
▆
1. ├─testthat::expect_silent(validate_ml(ml)) at test-cat2cat_validate.R:67:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─cat2cat:::validate_ml(ml)
10. └─cat2cat:::delayed_package_load(...)
── Error ('test-lms.R:35:5'): summary_c2c is properly adjust the std error - cat2cat case ──
Error in `delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", "caret", "knn"))`: Please install caret package to use the knn model in the cat2cat function.
Backtrace:
▆
1. └─cat2cat::cat2cat(...) at test-lms.R:35:5
2. └─cat2cat:::cat2cat_ml(...)
3. └─cat2cat:::validate_ml(ml)
4. └─cat2cat:::delayed_package_load(...)
── Error ('test-multi_cat2cat.R:19:1'): (code run outside of `test_that()`) ────
Error in `delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", "caret", "knn"))`: Please install caret package to use the knn model in the cat2cat function.
Backtrace:
▆
1. └─cat2cat::cat2cat(...) at test-multi_cat2cat.R:19:1
2. └─cat2cat:::cat2cat_ml(...)
3. └─cat2cat:::validate_ml(ml)
4. └─cat2cat:::delayed_package_load(...)
── Error ('test-softwarex_paper.R:101:1'): (code run outside of `test_that()`) ──
Error in `delayed_package_load("caret", sprintf("Please install %s package to use the %s model in the cat2cat function.", "caret", "knn"))`: Please install caret package to use the knn model in the cat2cat function.
Backtrace:
▆
1. └─cat2cat::cat2cat(...) at test-softwarex_paper.R:101:1
2. └─cat2cat:::cat2cat_ml(...)
3. └─cat2cat:::validate_ml(ml)
4. └─cat2cat:::delayed_package_load(...)
[ FAIL 7 | WARN 0 | SKIP 2 | PASS 66 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.7
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc