CRAN Package Check Results for Package crosstable

Last updated on 2022-02-06 07:51:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.2 13.45 271.27 284.72 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.2 441.59 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.2 544.07 ERROR
r-devel-windows-x86_64-new-UL 0.3.2 210.00 345.00 555.00 ERROR
r-devel-windows-x86_64-new-TK 0.3.2 ERROR
r-patched-linux-x86_64 0.3.2 24.07 352.40 376.47 ERROR
r-release-linux-x86_64 0.3.2 13.38 344.08 357.46 ERROR
r-release-macos-arm64 0.3.2 OK
r-release-macos-x86_64 0.3.2 OK
r-release-windows-ix86+x86_64 0.3.2 35.00 350.00 385.00 OK
r-oldrel-macos-x86_64 0.3.2 OK
r-oldrel-windows-ix86+x86_64 0.3.2 35.00 362.00 397.00 OK

Check Details

Version: 0.3.2
Check: tests
Result: ERROR
     Running 'testthat.R' [156s/108s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
    
     == Skipped tests ===============================================================
     * On CRAN (15)
     * On Linux (4)
     * This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     == Failed tests ================================================================
     -- Error (test-officer.R:276:5): openxlsx is working ---------------------------
     <vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
     Error in `stop_vctrs(message, class = c(class, "vctrs_error_incompatible"),
     x = x, y = y, details = details, ...)`: Can't convert `replace` <character> to match type of `data` <list>.
     Backtrace:
     x
     1. +-crosstable::as_workbook(x2, keep_id = FALSE) at test-officer.R:276:4
     2. | \-crosstable:::addToWorksheet(...)
     3. | \-attr(ct, "by_levels") %>% replace_na("NA") %>% unlist()
     4. +-base::unlist(.)
     5. +-tidyr::replace_na(., "NA")
     6. \-tidyr:::replace_na.default(., "NA")
     7. \-vctrs::vec_assign(data, missing, replace, x_arg = "data", value_arg = "replace")
     8. \-vctrs `<fn>`()
     9. \-vctrs::vec_default_cast(...)
     10. \-vctrs::stop_incompatible_cast(...)
     11. \-vctrs::stop_incompatible_type(...)
     12. \-vctrs:::stop_incompatible(...)
     13. \-vctrs:::stop_vctrs(...)
     14. \-rlang::abort(message, class = c(class, "vctrs_error"), ...)
     -- Failure (test-selection.R:52:5): crosstable with external character vector --
     `.` produced warnings.
     Backtrace:
     x
     1. +-... %>% expect_silent() at test-selection.R:52:4
     2. \-testthat::expect_silent(.)
     -- Failure (test-selection.R:57:5): crosstable with external character vector --
     `.` produced warnings.
     Backtrace:
     x
     1. +-... %>% expect_silent() at test-selection.R:57:4
     2. \-testthat::expect_silent(.)
    
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [118s/112s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (15)
     • On Linux (4)
     • This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-officer.R:276:5): openxlsx is working ───────────────────────────
     <vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
     Error in `stop_vctrs(message, class = c(class, "vctrs_error_incompatible"),
     x = x, y = y, details = details, ...)`: Can't convert `replace` <character> to match type of `data` <list>.
     Backtrace:
     ▆
     1. ├─crosstable::as_workbook(x2, keep_id = FALSE) at test-officer.R:276:4
     2. │ └─crosstable:::addToWorksheet(...)
     3. │ └─attr(ct, "by_levels") %>% replace_na("NA") %>% unlist()
     4. ├─base::unlist(.)
     5. ├─tidyr::replace_na(., "NA")
     6. └─tidyr:::replace_na.default(., "NA")
     7. └─vctrs::vec_assign(data, missing, replace, x_arg = "data", value_arg = "replace")
     8. └─vctrs `<fn>`()
     9. └─vctrs::vec_default_cast(...)
     10. └─vctrs::stop_incompatible_cast(...)
     11. └─vctrs::stop_incompatible_type(...)
     12. └─vctrs:::stop_incompatible(...)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ...)
     ── Failure (test-selection.R:52:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:52:4
     2. └─testthat::expect_silent(.)
     ── Failure (test-selection.R:57:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:57:4
     2. └─testthat::expect_silent(.)
    
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [176s/103s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (15)
     • On Linux (4)
     • This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-officer.R:276:5): openxlsx is working ───────────────────────────
     <vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
     Error in `stop_vctrs(message, class = c(class, "vctrs_error_incompatible"),
     x = x, y = y, details = details, ...)`: Can't convert `replace` <character> to match type of `data` <list>.
     Backtrace:
     ▆
     1. ├─crosstable::as_workbook(x2, keep_id = FALSE) at test-officer.R:276:4
     2. │ └─crosstable:::addToWorksheet(...)
     3. │ └─attr(ct, "by_levels") %>% replace_na("NA") %>% unlist()
     4. ├─base::unlist(.)
     5. ├─tidyr::replace_na(., "NA")
     6. └─tidyr:::replace_na.default(., "NA")
     7. └─vctrs::vec_assign(data, missing, replace, x_arg = "data", value_arg = "replace")
     8. └─vctrs `<fn>`()
     9. └─vctrs::vec_default_cast(...)
     10. └─vctrs::stop_incompatible_cast(...)
     11. └─vctrs::stop_incompatible_type(...)
     12. └─vctrs:::stop_incompatible(...)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ...)
     ── Failure (test-selection.R:52:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:52:4
     2. └─testthat::expect_silent(.)
     ── Failure (test-selection.R:57:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:57:4
     2. └─testthat::expect_silent(.)
    
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [285s/164s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 2 | WARN 273 | SKIP 20 | PASS 324 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (15)
     • On Linux (4)
     • This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-selection.R:52:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:52:4
     2. └─testthat::expect_silent(.)
     ── Failure (test-selection.R:57:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:57:4
     2. └─testthat::expect_silent(.)
    
     [ FAIL 2 | WARN 273 | SKIP 20 | PASS 324 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.2
Check: tests
Result: ERROR
     Running 'testthat.R' [95s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 1 | WARN 1 | SKIP 19 | PASS 327 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (18)
     • This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-officer.R:276:5): openxlsx is working ───────────────────────────
     <vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
     Error in `stop_vctrs(message, class = c(class, "vctrs_error_incompatible"),
     x = x, y = y, details = details, ...)`: Can't convert `replace` <character> to match type of `data` <list>.
     Backtrace:
     ▆
     1. ├─crosstable::as_workbook(x2, keep_id = FALSE) at test-officer.R:276:4
     2. │ └─crosstable:::addToWorksheet(...)
     3. │ └─attr(ct, "by_levels") %>% replace_na("NA") %>% unlist()
     4. ├─base::unlist(.)
     5. ├─tidyr::replace_na(., "NA")
     6. └─tidyr:::replace_na.default(., "NA")
     7. └─vctrs::vec_assign(data, missing, replace, x_arg = "data", value_arg = "replace")
     8. └─vctrs `<fn>`()
     9. └─vctrs::vec_default_cast(...)
     10. └─vctrs::stop_incompatible_cast(...)
     11. └─vctrs::stop_incompatible_type(...)
     12. └─vctrs:::stop_incompatible(...)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ...)
    
     [ FAIL 1 | WARN 1 | SKIP 19 | PASS 327 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-UL

Version: 0.3.2
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 1 | WARN 0 | SKIP 19 | PASS 327 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (18)
     • This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-officer.R:276:5): openxlsx is working ───────────────────────────
     <vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
     Error in `stop_vctrs(message, class = c(class, "vctrs_error_incompatible"),
     x = x, y = y, details = details, ...)`: Can't convert `replace` <character> to match type of `data` <list>.
     Backtrace:
     ▆
     1. ├─crosstable::as_workbook(x2, keep_id = FALSE) at test-officer.R:276:4
     2. │ └─crosstable:::addToWorksheet(...)
     3. │ └─attr(ct, "by_levels") %>% replace_na("NA") %>% unlist()
     4. ├─base::unlist(.)
     5. ├─tidyr::replace_na(., "NA")
     6. └─tidyr:::replace_na.default(., "NA")
     7. └─vctrs::vec_assign(data, missing, replace, x_arg = "data", value_arg = "replace")
     8. └─vctrs `<fn>`()
     9. └─vctrs::vec_default_cast(...)
     10. └─vctrs::stop_incompatible_cast(...)
     11. └─vctrs::stop_incompatible_type(...)
     12. └─vctrs:::stop_incompatible(...)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ...)
    
     [ FAIL 1 | WARN 0 | SKIP 19 | PASS 327 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [152s/103s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (15)
     • On Linux (4)
     • This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-officer.R:276:5): openxlsx is working ───────────────────────────
     <vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
     Error in `stop_vctrs(message, class = c(class, "vctrs_error_incompatible"),
     x = x, y = y, details = details, ...)`: Can't convert `replace` <character> to match type of `data` <list>.
     Backtrace:
     ▆
     1. ├─crosstable::as_workbook(x2, keep_id = FALSE) at test-officer.R:276:4
     2. │ └─crosstable:::addToWorksheet(...)
     3. │ └─attr(ct, "by_levels") %>% replace_na("NA") %>% unlist()
     4. ├─base::unlist(.)
     5. ├─tidyr::replace_na(., "NA")
     6. └─tidyr:::replace_na.default(., "NA")
     7. └─vctrs::vec_assign(data, missing, replace, x_arg = "data", value_arg = "replace")
     8. └─vctrs `<fn>`()
     9. └─vctrs::vec_default_cast(...)
     10. └─vctrs::stop_incompatible_cast(...)
     11. └─vctrs::stop_incompatible_type(...)
     12. └─vctrs:::stop_incompatible(...)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ...)
     ── Failure (test-selection.R:52:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:52:4
     2. └─testthat::expect_silent(.)
     ── Failure (test-selection.R:57:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:57:4
     2. └─testthat::expect_silent(.)
    
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [147s/96s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("crosstable")
     Loading required package: crosstable
    
     Attaching package: 'crosstable'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     Starting 2 test processes
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (15)
     • On Linux (4)
     • This should only be ran manually in examples/not_test-officer_v4_legends.R (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-officer.R:276:5): openxlsx is working ───────────────────────────
     <vctrs_error_incompatible_type/vctrs_error_incompatible/vctrs_error/rlang_error/error/condition>
     Error in `stop_vctrs(message, class = c(class, "vctrs_error_incompatible"),
     x = x, y = y, details = details, ...)`: Can't convert `replace` <character> to match type of `data` <list>.
     Backtrace:
     ▆
     1. ├─crosstable::as_workbook(x2, keep_id = FALSE) at test-officer.R:276:4
     2. │ └─crosstable:::addToWorksheet(...)
     3. │ └─attr(ct, "by_levels") %>% replace_na("NA") %>% unlist()
     4. ├─base::unlist(.)
     5. ├─tidyr::replace_na(., "NA")
     6. └─tidyr:::replace_na.default(., "NA")
     7. └─vctrs::vec_assign(data, missing, replace, x_arg = "data", value_arg = "replace")
     8. └─vctrs `<fn>`()
     9. └─vctrs::vec_default_cast(...)
     10. └─vctrs::stop_incompatible_cast(...)
     11. └─vctrs::stop_incompatible_type(...)
     12. └─vctrs:::stop_incompatible(...)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ...)
     ── Failure (test-selection.R:52:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:52:4
     2. └─testthat::expect_silent(.)
     ── Failure (test-selection.R:57:5): crosstable with external character vector ──
     `.` produced warnings.
     Backtrace:
     ▆
     1. ├─... %>% expect_silent() at test-selection.R:57:4
     2. └─testthat::expect_silent(.)
    
     [ FAIL 3 | WARN 273 | SKIP 20 | PASS 324 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64