CRAN Package Check Results for Package roistats

Last updated on 2023-09-26 14:05:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 4.50 51.49 55.99 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 4.17 38.29 42.46 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 72.16 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 86.57 ERROR
r-devel-windows-x86_64 0.1.1 6.00 57.00 63.00 ERROR
r-patched-linux-x86_64 0.1.1 3.17 47.88 51.05 OK
r-release-linux-x86_64 0.1.1 3.02 47.91 50.93 OK
r-release-macos-arm64 0.1.1 32.00 OK
r-release-macos-x86_64 0.1.1 48.00 OK
r-release-windows-x86_64 0.1.1 7.00 64.00 71.00 OK
r-oldrel-macos-arm64 0.1.1 27.00 OK
r-oldrel-macos-x86_64 0.1.1 48.00 OK
r-oldrel-windows-x86_64 0.1.1 8.00 68.00 76.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘roistats-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: t_test_two_sample
    > ### Title: Generate two-sample t-test results for multiple sub-groups
    > ### Aliases: t_test_two_sample
    >
    > ### ** Examples
    >
    > t_test_two_sample(color_index_two_sample, x = "color_effect", y = "group", paired = TRUE)
    Warning: The `t_test_two_sample()` function expects a grouped data frame (i.e., from `dplyr::group_by()`). Returning statistics for the overall comparison
    Error in `mutate()`:
    ℹ In argument: `ttest = map(...)`.
    Caused by error in `map()`:
    ℹ In index: 1.
    Caused by error in `t.test.formula()`:
    ! cannot use 'paired' in formula method
    Backtrace:
     ▆
     1. ├─roistats::t_test_two_sample(...)
     2. │ └─... %>% select(-.data$ttest, -data)
     3. ├─dplyr::select(., -.data$ttest, -data)
     4. ├─dplyr::mutate(...)
     5. ├─dplyr:::mutate.data.frame(...)
     6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
     7. │ ├─base::withCallingHandlers(...)
     8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
     9. │ └─mask$eval_all_mutate(quo)
     10. │ └─dplyr (local) eval()
     11. ├─purrr::map(...)
     12. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     13. │ ├─purrr:::with_indexed_errors(...)
     14. │ │ └─base::withCallingHandlers(...)
     15. │ ├─purrr:::call_with_cleanup(...)
     16. │ └─roistats (local) .f(.x[[i]], ...)
     17. │ ├─stats::t.test(...)
     18. │ └─stats:::t.test.formula(...)
     19. │ └─base::stop("cannot use 'paired' in formula method")
     20. └─base::.handleSimpleError(...)
     21. └─purrr (local) h(simpleError(msg, call))
     22. └─cli::cli_abort(...)
     23. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/5s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(roistats)
     >
     > test_check("roistats")
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-t_test.R:21:3'): t-test-two-sample output ──────────────────────
     <dplyr:::mutate_error/rlang_error/error/condition>
     Error in `mutate(., ttest = map(.data$data, ~t.test(.x[[as_name(enquo(x))]] ~
     .x[[as_name(enquo(y))]], paired = paired)), tvalue = map_dbl(.data$ttest,
     ~extract2(.x, 1)), df = map_dbl(.data$ttest, ~extract2(.x,
     2)), p = map_dbl(.data$ttest, ~extract2(.x, 3)))`: i In argument: `ttest = map(...)`.
     i In group 1: `roi_id = "AnG"`.
     Caused by error in `map()`:
     i In index: 1.
     Caused by error in `t.test.formula()`:
     ! cannot use 'paired' in formula method
    
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘get_started.Rmd’ using rmarkdown
    
    Quitting from lines 114-117 [unnamed-chunk-10] (get_started.Rmd)
    Error: processing vignette 'get_started.Rmd' failed with diagnostics:
    ℹ In argument: `ttest = map(...)`.
    ℹ In group 1: `roi_id = "AnG"`.
    Caused by error in `map()`:
    ℹ In index: 1.
    Caused by error in `t.test.formula()`:
    ! cannot use 'paired' in formula method
    --- failed re-building ‘get_started.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘get_started.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(roistats)
     >
     > test_check("roistats")
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-t_test.R:21:3'): t-test-two-sample output ──────────────────────
     <dplyr:::mutate_error/rlang_error/error/condition>
     Error in `mutate(., ttest = map(.data$data, ~t.test(.x[[as_name(enquo(x))]] ~
     .x[[as_name(enquo(y))]], paired = paired)), tvalue = map_dbl(.data$ttest,
     ~extract2(.x, 1)), df = map_dbl(.data$ttest, ~extract2(.x,
     2)), p = map_dbl(.data$ttest, ~extract2(.x, 3)))`: i In argument: `ttest = map(...)`.
     i In group 1: `roi_id = "AnG"`.
     Caused by error in `map()`:
     i In index: 1.
     Caused by error in `t.test.formula()`:
     ! cannot use 'paired' in formula method
    
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘roistats-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: t_test_two_sample
    > ### Title: Generate two-sample t-test results for multiple sub-groups
    > ### Aliases: t_test_two_sample
    >
    > ### ** Examples
    >
    > t_test_two_sample(color_index_two_sample, x = "color_effect", y = "group", paired = TRUE)
    Warning: The `t_test_two_sample()` function expects a grouped data frame (i.e., from `dplyr::group_by()`). Returning statistics for the overall comparison
    Error in `mutate()`:
    ℹ In argument: `ttest = map(...)`.
    Caused by error in `map()`:
    ℹ In index: 1.
    Caused by error in `t.test.formula()`:
    ! cannot use 'paired' in formula method
    Backtrace:
     ▆
     1. ├─roistats::t_test_two_sample(...)
     2. │ └─... %>% select(-.data$ttest, -data)
     3. ├─dplyr::select(., -.data$ttest, -data)
     4. ├─dplyr::mutate(...)
     5. ├─dplyr:::mutate.data.frame(...)
     6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
     7. │ ├─base::withCallingHandlers(...)
     8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
     9. │ └─mask$eval_all_mutate(quo)
     10. │ └─dplyr (local) eval()
     11. ├─purrr::map(...)
     12. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     13. │ ├─purrr:::with_indexed_errors(...)
     14. │ │ └─base::withCallingHandlers(...)
     15. │ ├─purrr:::call_with_cleanup(...)
     16. │ └─roistats (local) .f(.x[[i]], ...)
     17. │ ├─stats::t.test(...)
     18. │ └─stats:::t.test.formula(...)
     19. │ └─base::stop("cannot use 'paired' in formula method")
     20. └─base::.handleSimpleError(...)
     21. └─purrr (local) h(simpleError(msg, call))
     22. └─cli::cli_abort(...)
     23. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/11s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(roistats)
     >
     > test_check("roistats")
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-t_test.R:21:3'): t-test-two-sample output ──────────────────────
     <dplyr:::mutate_error/rlang_error/error/condition>
     Error in `mutate(., ttest = map(.data$data, ~t.test(.x[[as_name(enquo(x))]] ~
     .x[[as_name(enquo(y))]], paired = paired)), tvalue = map_dbl(.data$ttest,
     ~extract2(.x, 1)), df = map_dbl(.data$ttest, ~extract2(.x,
     2)), p = map_dbl(.data$ttest, ~extract2(.x, 3)))`: i In argument: `ttest = map(...)`.
     i In group 1: `roi_id = "AnG"`.
     Caused by error in `map()`:
     i In index: 1.
     Caused by error in `t.test.formula()`:
     ! cannot use 'paired' in formula method
    
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘get_started.Rmd’ using rmarkdown
    
    Quitting from lines 114-117 [unnamed-chunk-10] (get_started.Rmd)
    Error: processing vignette 'get_started.Rmd' failed with diagnostics:
    ℹ In argument: `ttest = map(...)`.
    ℹ In group 1: `roi_id = "AnG"`.
    Caused by error in `map()`:
    ℹ In index: 1.
    Caused by error in `t.test.formula()`:
    ! cannot use 'paired' in formula method
    --- failed re-building ‘get_started.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘get_started.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/15s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(roistats)
     >
     > test_check("roistats")
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-t_test.R:21:3'): t-test-two-sample output ──────────────────────
     <dplyr:::mutate_error/rlang_error/error/condition>
     Error in `mutate(., ttest = map(.data$data, ~t.test(.x[[as_name(enquo(x))]] ~
     .x[[as_name(enquo(y))]], paired = paired)), tvalue = map_dbl(.data$ttest,
     ~extract2(.x, 1)), df = map_dbl(.data$ttest, ~extract2(.x,
     2)), p = map_dbl(.data$ttest, ~extract2(.x, 3)))`: i In argument: `ttest = map(...)`.
     i In group 1: `roi_id = "AnG"`.
     Caused by error in `map()`:
     i In index: 1.
     Caused by error in `t.test.formula()`:
     ! cannot use 'paired' in formula method
    
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: tests
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(roistats)
     >
     > test_check("roistats")
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-t_test.R:21:3'): t-test-two-sample output ──────────────────────
     <dplyr:::mutate_error/rlang_error/error/condition>
     Error in `mutate(., ttest = map(.data$data, ~t.test(.x[[as_name(enquo(x))]] ~
     .x[[as_name(enquo(y))]], paired = paired)), tvalue = map_dbl(.data$ttest,
     ~extract2(.x, 1)), df = map_dbl(.data$ttest, ~extract2(.x,
     2)), p = map_dbl(.data$ttest, ~extract2(.x, 3)))`: i In argument: `ttest = map(...)`.
     i In group 1: `roi_id = "AnG"`.
     Caused by error in `map()`:
     i In index: 1.
     Caused by error in `t.test.formula()`:
     ! cannot use 'paired' in formula method
    
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 11 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64