Last updated on 2023-03-31 05:54:32 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.5 | 5.85 | 64.41 | 70.26 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.5 | 4.75 | 47.46 | 52.21 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.5 | 91.52 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.5 | 100.18 | ERROR | |||
r-devel-windows-x86_64 | 0.1.5 | 21.00 | 0.00 | 21.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.5 | 9.74 | 60.26 | 70.00 | ERROR | |
r-release-linux-x86_64 | 0.1.5 | 4.85 | 60.13 | 64.98 | ERROR | |
r-release-macos-arm64 | 0.1.5 | 31.00 | OK | |||
r-release-macos-x86_64 | 0.1.5 | 43.00 | OK | |||
r-release-windows-x86_64 | 0.1.5 | 24.00 | 97.00 | 121.00 | ERROR | |
r-oldrel-macos-arm64 | 0.1.5 | 28.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.5 | 40.00 | OK | |||
r-oldrel-windows-ix86+x86_64 | 0.1.5 | 13.00 | 88.00 | 101.00 | ERROR |
Version: 0.1.5
Check: examples
Result: ERROR
Running examples in ‘prt-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: print.prt
> ### Title: Printing prt
> ### Aliases: print.prt format.prt trunc_dt
>
> ### ** Examples
>
> cars <- as_prt(mtcars)
>
> print(cars)
Error:
! `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─base::print(cars)
2. └─prt:::print.prt(cars)
3. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
4. │ ├─base::trimws(paste0(...), "right")
5. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
6. │ │ └─base::sub(re, "", x, perl = TRUE)
7. │ │ └─base::is.factor(x)
8. │ └─base::paste0(...)
9. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
10. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
11. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
12. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
13. └─prt:::shrink_dt(df, rows)
14. └─pillar::colonnade(df, has_row_id = FALSE)
15. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
16. └─lifecycle:::deprecate_stop0(msg)
17. └─rlang::cnd_signal(...)
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.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-format.R:60:3'): trunc_mat for POSIXct columns ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:60:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
── Error ('test-format.R:74:3'): trunc_mat for wide-character columns ──────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:74:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.5
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘prt.Rmd’ using rmarkdown
Quitting from lines 35-37 (prt.Rmd)
Error: processing vignette ‘prt.Rmd’ failed with diagnostics:
`colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
--- failed re-building ‘prt.Rmd’
SUMMARY: processing the following file failed:
‘prt.Rmd’
Error: Vignette re-building failed.
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.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-format.R:60:3'): trunc_mat for POSIXct columns ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:60:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
── Error ('test-format.R:74:3'): trunc_mat for wide-character columns ──────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:74:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.5
Check: examples
Result: ERROR
Running examples in ‘prt-Ex.R’ failed
The error most likely occurred in:
> ### Name: print.prt
> ### Title: Printing prt
> ### Aliases: print.prt format.prt trunc_dt
>
> ### ** Examples
>
> cars <- as_prt(mtcars)
>
> print(cars)
Error:
! `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─base::print(cars)
2. └─prt:::print.prt(cars)
3. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
4. │ ├─base::trimws(paste0(...), "right")
5. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
6. │ │ └─base::sub(re, "", x, perl = TRUE)
7. │ │ └─base::is.factor(x)
8. │ └─base::paste0(...)
9. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
10. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
11. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
12. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
13. └─prt:::shrink_dt(df, rows)
14. └─pillar::colonnade(df, has_row_id = FALSE)
15. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
16. └─lifecycle:::deprecate_stop0(msg)
17. └─rlang::cnd_signal(...)
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
Version: 0.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/50s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-format.R:60:3'): trunc_mat for POSIXct columns ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:60:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
── Error ('test-format.R:74:3'): trunc_mat for wide-character columns ──────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:74:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.5
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘prt.Rmd’ using rmarkdown
OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
Quitting from lines 35-37 (prt.Rmd)
Error: processing vignette 'prt.Rmd' failed with diagnostics:
`colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
--- failed re-building ‘prt.Rmd’
SUMMARY: processing the following file failed:
‘prt.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-format.R:60:3'): trunc_mat for POSIXct columns ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:60:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
── Error ('test-format.R:74:3'): trunc_mat for wide-character columns ──────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:74:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.5
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘prt.Rmd’ using rmarkdown
Quitting from lines 35-37 (prt.Rmd)
Error: processing vignette 'prt.Rmd' failed with diagnostics:
`colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
--- failed re-building ‘prt.Rmd’
SUMMARY: processing the following file failed:
‘prt.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64
Version: 0.1.5
Check: tests
Result: ERROR
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 2 | WARN 0 | SKIP 2 | PASS 257 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On Windows (2)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
[ FAIL 2 | WARN 0 | SKIP 2 | PASS 257 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-format.R:60:3'): trunc_mat for POSIXct columns ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:60:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
── Error ('test-format.R:74:3'): trunc_mat for wide-character columns ──────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:74:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-format.R:60:3'): trunc_mat for POSIXct columns ─────────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:60:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
── Error ('test-format.R:74:3'): trunc_mat for wide-character columns ──────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─prt:::expect_output_file_opts(...) at test-format.R:74:2
2. │ ├─withr::with_options(...) at tests/testthat/helper-functions.R:5:2
3. │ │ └─base::force(code)
4. │ └─testthat::expect_known_output(x, output_file(filename), update = FALSE)
5. │ ├─base::append(act, eval_with_output(object, print = print, width = width))
6. │ └─testthat:::eval_with_output(object, print = print, width = width)
7. │ ├─withr::with_output_sink(path, withVisible(code))
8. │ │ └─base::force(code)
9. │ └─base::withVisible(code)
10. ├─base::print(create_prt(df, dir = tmp), n = 8L, width = 60L)
11. └─prt:::print.prt(create_prt(df, dir = tmp), n = 8L, width = 60L)
12. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
13. │ ├─base::trimws(paste0(...), "right")
14. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
15. │ │ └─base::sub(re, "", x, perl = TRUE)
16. │ │ └─base::is.factor(x)
17. │ └─base::paste0(...)
18. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
19. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
21. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
22. └─prt:::shrink_dt(df, rows)
23. └─pillar::colonnade(df, has_row_id = FALSE)
24. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
25. └─lifecycle:::deprecate_stop0(msg)
26. └─rlang::cnd_signal(...)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 257 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.5
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 3 | WARN 0 | SKIP 2 | PASS 251 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On Windows (2)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-format.R:20:3'): print() returns output invisibly ──────────────
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Backtrace:
▆
1. ├─testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::withVisible(print(prt_cars))
11. ├─base::print(prt_cars)
12. └─prt:::print.prt(prt_cars)
13. ├─prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. │ ├─base::trimws(paste0(...), "right")
15. │ │ └─base (local) mysub(paste0(whitespace, "+$"), x)
16. │ │ └─base::sub(re, "", x, perl = TRUE)
17. │ │ └─base::is.factor(x)
18. │ └─base::paste0(...)
19. ├─base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. └─prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. ├─base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. └─prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. └─prt:::shrink_dt(df, rows)
24. └─pillar::colonnade(df, has_row_id = FALSE)
25. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. └─lifecycle:::deprecate_stop0(msg)
27. └─rlang::cnd_signal(...)
── Error ('test-format.R:31:3'): trunc_dt output matches known output ──────────
`{ ... }` threw an unexpected error.
Message: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
ℹ Please use `tbl_format_setup()` instead.
Class: lifecycle_error_deprecated/defunctError/rlang_error/error/condition
Backtrace:
▆
1. ├─base::print(...)
2. └─prt::trunc_dt(...)
3. └─prt:::shrink_dt(df, rows)
4. └─pillar::colonnade(df, has_row_id = FALSE)
5. └─lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
6. └─lifecycle:::deprecate_stop0(msg)
7. └─rlang::cnd_signal(...)
── Error ('test-nse.R:55:3'): nse subsetting ───────────────────────────────────
Error in `fst::read_fst(fst_filename(x), columns = unique(columns), from = from,
to = to, as.data.table = TRUE)`: Parameter fromRow should have a positive value.
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-nse.R:55:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::subset(prt_cars, inds & mpg < 20, part_safe = TRUE)
7. └─prt:::subset.prt(prt_cars, inds & mpg < 20, part_safe = TRUE)
8. └─prt::subset_quo(x, subset, select, part_safe)
9. └─prt:::prt_lapply(...)
10. └─base::lapply(unclass(x), ...)
11. └─prt (local) FUN(X[[i]], ...)
12. └─prt:::fst_read(x, rows = rows, columns = j)
13. └─fst::read_fst(...)
[ FAIL 3 | WARN 0 | SKIP 2 | PASS 251 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.1.5
Check: examples
Result: ERROR
Running examples in 'prt-Ex.R' failed
The error most likely occurred in:
> ### Name: print.prt
> ### Title: Printing prt
> ### Aliases: print.prt format.prt trunc_dt
>
> ### ** Examples
>
> cars <- as_prt(mtcars)
>
> print(cars)
Error:
! `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
i Please use `tbl_format_setup()` instead.
Backtrace:
x
1. +-base::print(cars)
2. \-prt:::print.prt(cars)
3. +-prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
4. | +-base::trimws(paste0(...), "right")
5. | | \-base (local) mysub(paste0(whitespace, "+$"), x)
6. | | \-base::sub(re, "", x, perl = TRUE)
7. | | \-base::is.factor(x)
8. | \-base::paste0(...)
9. +-base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
10. \-prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
11. +-base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
12. \-prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
13. \-prt:::shrink_dt(df, rows)
14. \-pillar::colonnade(df, has_row_id = FALSE)
15. \-lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
16. \-lifecycle:::deprecate_stop0(msg)
17. \-rlang::cnd_signal(...)
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64
Version: 0.1.5
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(prt)
>
> if (requireNamespace("xml2")) {
+ test_check("prt", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
+ } else {
+ test_check("prt")
+ }
Loading required namespace: xml2
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 251 ]
== Skipped tests ===============================================================
* Non-UTF-8 locale (2)
* On Windows (2)
== Failed tests ================================================================
-- Error ('test-format.R:20:3'): print() returns output invisibly --------------
<lifecycle_error_deprecated/defunctError/rlang_error/error/condition>
Error: `colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
i Please use `tbl_format_setup()` instead.
Backtrace:
x
1. +-testthat::expect_output(ret <- withVisible(print(prt_cars))) at test-format.R:20:2
2. | \-testthat:::quasi_capture(...)
3. | +-testthat (local) .capture(...)
4. | | \-testthat::capture_output_lines(code, print, width = width)
5. | | \-testthat:::eval_with_output(code, print = print, width = width)
6. | | +-withr::with_output_sink(path, withVisible(code))
7. | | | \-base::force(code)
8. | | \-base::withVisible(code)
9. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. +-base::withVisible(print(prt_cars))
11. +-base::print(prt_cars)
12. \-prt:::print.prt(prt_cars)
13. +-prt:::cat_line(format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols))
14. | +-base::trimws(paste0(...), "right")
15. | | \-base (local) mysub(paste0(whitespace, "+$"), x)
16. | | \-base::sub(re, "", x, perl = TRUE)
17. | | \-base::is.factor(x)
18. | \-base::paste0(...)
19. +-base::format(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
20. \-prt:::format.prt(x, ..., n = n, width = width, max_extra_cols = max_extra_cols)
21. +-base::format(trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols))
22. \-prt::trunc_dt(x, n = n, width = width, max_extra_cols = max_extra_cols)
23. \-prt:::shrink_dt(df, rows)
24. \-pillar::colonnade(df, has_row_id = FALSE)
25. \-lifecycle::deprecate_stop("1.9.0", "pillar::colonnade()", "pillar::tbl_format_setup()")
26. \-lifecycle:::deprecate_stop0(msg)
27. \-rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 251 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64
Version: 0.1.5
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building 'prt.Rmd' using rmarkdown
Quitting from lines 35-37 (prt.Rmd)
Error: processing vignette 'prt.Rmd' failed with diagnostics:
`colonnade()` was deprecated in pillar 1.9.0 and is now defunct.
i Please use `tbl_format_setup()` instead.
--- failed re-building 'prt.Rmd'
SUMMARY: processing the following file failed:
'prt.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64