Last updated on 2025-12-28 05:50:01 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 6.83 | 121.80 | 128.63 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 4.69 | 82.87 | 87.56 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 13.00 | 203.38 | 216.38 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 12.00 | 199.96 | 211.96 | ERROR | |
| r-devel-windows-x86_64 | 0.2.0 | 10.00 | 132.00 | 142.00 | ERROR | |
| r-patched-linux-x86_64 | 0.2.0 | 7.75 | 115.32 | 123.07 | ERROR | |
| r-release-linux-x86_64 | 0.2.0 | 6.83 | 113.25 | 120.08 | ERROR | |
| r-release-macos-arm64 | 0.2.0 | NOTE | ||||
| r-release-macos-x86_64 | 0.2.0 | 5.00 | 131.00 | 136.00 | NOTE | |
| r-release-windows-x86_64 | 0.2.0 | 9.00 | 129.00 | 138.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.2.0 | NOTE | ||||
| r-oldrel-macos-x86_64 | 0.2.0 | 5.00 | 92.00 | 97.00 | NOTE | |
| r-oldrel-windows-x86_64 | 0.2.0 | 12.00 | 162.00 | 174.00 | ERROR |
Version: 0.2.0
Check: Rd files
Result: NOTE
checkRd: (-1) harmonize_values.Rd:44: Lost braces; missing escapes or markup?
44 | \item{perl}{Use perl-like regex? Defaults to {FALSE}.}
| ^
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘retroharmonize-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: create_codebook
> ### Title: Create a codebook
> ### Aliases: create_codebook codebook_waves_create
>
> ### ** Examples
>
> create_codebook (
+ survey = read_rds (
+ system.file("examples", "ZA7576.rds",
+ package = "retroharmonize")
+ )
+ )
Error in `bind_rows()`:
! Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(...)
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [12s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [8s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘retroharmonize-Ex.R’ failed
The error most likely occurred in:
> ### Name: create_codebook
> ### Title: Create a codebook
> ### Aliases: create_codebook codebook_waves_create
>
> ### ** Examples
>
> create_codebook (
+ survey = read_rds (
+ system.file("examples", "ZA7576.rds",
+ package = "retroharmonize")
+ )
+ )
Error in `bind_rows()`:
! Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(...)
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [19s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [17s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.2.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [11s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [11s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.2.0
Check: installed package size
Result: NOTE
installed size is 5.6Mb
sub-directories of 1Mb or more:
doc 1.1Mb
examples 1.9Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.2.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(retroharmonize)
>
> test_check("retroharmonize")
Saving _problems/test-codebook_create-12.R
dbl+lbl [1:7] 1, 0, 1, 1, 0, 8, 9
@ labels : Named num [1:4] 1 0 8 9
..- attr(*, "names")= chr [1:4] "TRUST" "NOT TRUST" "DON'T KNOW" "INAP. HERE"
@ na_values: num [1:2] 8 9
Loading required package: dplyr
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
Attaching package: 'vctrs'
The following object is masked from 'package:dplyr':
data_frame
Attaching package: 'rlang'
The following object is masked from 'package:retroharmonize':
as_character
Survey ID: test
Survey ID: test2
Survey ID: test2
Survey ID: test2
Survey ID: test
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-harmonize_na_values.R:18:3',
'test-labelled_spss_survey.R:136:1', 'test-subset_save_surveys.R:32:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-codebook_create.R:12:1'): (code run outside of `test_that()`) ──
<vctrs_error_ptype2/vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
Error in `bind_rows(., char_labels)`: Can't combine `..1$val_label_orig` <double> and `..2$val_label_orig` <character>.
Backtrace:
▆
1. ├─retroharmonize::create_codebook(metadata) at test-codebook_create.R:12:1
2. │ └─num_labels %>% bind_rows(char_labels) %>% ...
3. ├─dplyr::arrange(., .data$entry)
4. ├─dplyr::bind_rows(., char_labels)
5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env())
6. └─vctrs (local) `<fn>`()
7. └─vctrs::vec_default_ptype2(...)
8. ├─base::withRestarts(...)
9. │ └─base (local) withOneRestart(expr, restarts[[1L]])
10. │ └─base (local) doWithOneRestart(return(expr), restart)
11. └─vctrs::stop_incompatible_type(...)
12. └─vctrs:::stop_incompatible(...)
13. └─vctrs:::stop_vctrs(...)
14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
[ FAIL 1 | WARN 23 | SKIP 3 | PASS 99 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.