Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAN check error #72

Open
RaymondBalise opened this issue Sep 16, 2024 · 0 comments
Open

CRAN check error #72

RaymondBalise opened this issue Sep 16, 2024 · 0 comments

Comments

@RaymondBalise
Copy link
Owner

https://cran.r-project.org/web/checks/check_results_tidyREDCap.html

Check Details
Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/12s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [3s/9s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-devel-linux-x86_64-debian-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [7s/13s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavors: [r-devel-linux-x86_64-fedora-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/tidyREDCap-00check.html), [r-devel-linux-x86_64-fedora-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/11s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-patched-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/10s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-release-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-release-linux-x86_64/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running 'testthat.R' [15s]
  Running the tests in 'tests/testthat.R' failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-oldrel-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-oldrel-windows-x86_64/tidyREDCap-00check.html)Check Details
Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/12s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [3s/9s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-devel-linux-x86_64-debian-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [7s/13s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavors: [r-devel-linux-x86_64-fedora-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/tidyREDCap-00check.html), [r-devel-linux-x86_64-fedora-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/11s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-patched-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/10s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-release-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-release-linux-x86_64/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running 'testthat.R' [15s]
  Running the tests in 'tests/testthat.R' failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-oldrel-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-oldrel-windows-x86_64/tidyREDCap-00check.html)Check Details
Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/12s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [3s/9s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-devel-linux-x86_64-debian-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [7s/13s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavors: [r-devel-linux-x86_64-fedora-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/tidyREDCap-00check.html), [r-devel-linux-x86_64-fedora-gcc](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/11s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-patched-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running ‘testthat.R’ [4s/10s]
  Running the tests in ‘tests/testthat.R’ failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-release-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-release-linux-x86_64/tidyREDCap-00check.html)

Version: 1.1.1
Check: tests
Result: ERROR 
    Running 'testthat.R' [15s]
  Running the tests in 'tests/testthat.R' failed.
  Complete output:
    > library(testthat)
    > library(tidyREDCap)
    > 
    > test_check("tidyREDCap")
    Reading metadata about your project....
    Reading variable labels for your variables....
    Reading your data....
    ℹ This may take a while if your dataset is large.
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-import_instruments.R:72:1'): (code run outside of `test_that()`) ──
    <vctrs_error_names_must_be_unique/vctrs_error_names/vctrs_error/rlang_error/error/condition>
    Error in `select(., -ends_with(".1"))`: Names must be unique.
    ✖ These names are duplicated:
      * "record_id" at locations 1 and 2.
    Backtrace:
         ▆
      1. ├─tidyREDCap::import_instruments(...) at test-import_instruments.R:72:1
      2. │ └─redcap[, c(meta, curr_instr_idx)] %>% ...
      3. ├─dplyr::select(., -ends_with(".1"))
      4. └─dplyr:::select.data.frame(., -ends_with(".1"))
      5.   └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
      6.     └─tidyselect:::eval_select_impl(...)
      7.       ├─tidyselect:::with_subscript_errors(...)
      8.       │ └─base::withCallingHandlers(...)
      9.       └─tidyselect:::vars_select_eval(...)
     10.         └─tidyselect:::ensure_named(...)
     11.           └─vctrs::vec_as_names(names(pos), repair = "check_unique", call = call)
     12.             └─vctrs (local) `<fn>`()
     13.               └─vctrs:::validate_unique(names = names, arg = arg, call = call)
     14.                 └─vctrs:::stop_names_must_be_unique(names, arg, call = call)
     15.                   └─vctrs:::stop_names(...)
     16.                     └─vctrs:::stop_vctrs(...)
     17.                       └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
    
    [ FAIL 1 | WARN 8 | SKIP 0 | PASS 13 ]
    Error: Test failures
    Execution halted
Flavor: [r-oldrel-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-oldrel-windows-x86_64/tidyREDCap-00check.html)
gabrielodom added a commit that referenced this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant