Last updated on 2024-11-06 06:50:31 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.0.4 | 2.96 | 32.49 | 35.45 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.0.4 | 2.04 | 24.46 | 26.50 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.0.4 | 59.43 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.0.4 | 68.47 | ERROR | |||
r-devel-windows-x86_64 | 0.0.4 | 6.00 | 63.00 | 69.00 | ERROR | |
r-patched-linux-x86_64 | 0.0.4 | 3.33 | 30.85 | 34.18 | ERROR | |
r-release-linux-x86_64 | 0.0.4 | 2.62 | 30.73 | 33.35 | ERROR | |
r-release-macos-arm64 | 0.0.4 | 45.00 | OK | |||
r-release-macos-x86_64 | 0.0.4 | 75.00 | OK | |||
r-release-windows-x86_64 | 0.0.4 | 4.00 | 66.00 | 70.00 | ERROR | |
r-oldrel-macos-arm64 | 0.0.4 | 44.00 | OK | |||
r-oldrel-macos-x86_64 | 0.0.4 | 83.00 | OK | |||
r-oldrel-windows-x86_64 | 0.0.4 | 5.00 | 65.00 | 70.00 | ERROR |
Version: 0.0.4
Check: examples
Result: ERROR
Running examples in ‘table.glue-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: format_big
> ### Title: Format values left of decimal
> ### Aliases: format_big
>
> ### ** Examples
>
>
> big_x <- 1234567
>
> rspec <- format_big(round_spec(), mark = '|', interval = 3)
>
> table_value(big_x, rspec) # returns "1|234|567"
Error in glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open, :
is.environment(.envir) is not TRUE
Calls: table_value -> <Anonymous> -> glue_data -> stopifnot
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.0.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(table.glue)
>
> test_check("table.glue")
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-round_spec.R:40:3'): formatting works ──────────────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(table_value(1000.234567, rspec), "1big000decimal!23oh noes45oh noes7") at test-round_spec.R:40:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(1000.234567, rspec)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_glue.R:11:3'): unnamed inputs are caught ─────────────────
Error: Failed to evaluate glue component {..f(x)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─table.glue (local) ..f(x)
2. │ ├─base::trimws(table_value(x, rspec = .rspec))
3. │ │ ├─base (local) mysub(...)
4. │ │ │ └─base::sub(re, "", x, perl = TRUE)
5. │ │ │ └─base::is.factor(x)
6. │ │ └─base (local) mysub(paste0("^", whitespace, "+"), x)
7. │ │ └─base::sub(re, "", x, perl = TRUE)
8. │ │ └─base::is.factor(x)
9. │ └─table.glue::table_value(x, rspec = .rspec)
10. │ └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
11. │ └─glue::glue_data(...)
12. │ └─base::stopifnot(is.environment(.envir))
13. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
14. └─glue (local) `<fn>`(`<smplErrr>`)
15. └─rlang::abort(message, parent = cnd, call = NULL)
── Error ('test-table_pvalue.R:7:3'): missings are handled correctly ───────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:7:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_missing)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:28:3'): example values are correct ──────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:28:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:52:3'): boundary p-values are not made insignificant ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:52:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_close, alpha = 0.15)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:63:3'): boundaries can be moved ─────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:63:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:29:3'): rounding specifications match intent ─────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:29:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_sig_1_even)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:77:3'): rounding on boundaries matches specification ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:77:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_mag_up)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64
Version: 0.0.4
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘default_rounder.Rmd’ using rmarkdown
Quitting from lines 53-58 [unnamed-chunk-4] (default_rounder.Rmd)
Error: processing vignette 'default_rounder.Rmd' failed with diagnostics:
is.environment(.envir) is not TRUE
--- failed re-building ‘default_rounder.Rmd’
--- re-building ‘table_guide.Rmd’ using rmarkdown
Quitting from lines 64-82 [unnamed-chunk-3] (table_guide.Rmd)
Error: processing vignette 'table_guide.Rmd' failed with diagnostics:
ℹ In argument: `tbv_height = table_glue("{height_est} ({height_lwr} -
{height_upr})")`.
ℹ In group 1: `sex = "female"`.
Caused by error:
! Failed to evaluate glue component {..f(height_est)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘table_guide.Rmd’
SUMMARY: processing the following files failed:
‘default_rounder.Rmd’ ‘table_guide.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.0.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(table.glue)
>
> test_check("table.glue")
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-round_spec.R:40:3'): formatting works ──────────────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(table_value(1000.234567, rspec), "1big000decimal!23oh noes45oh noes7") at test-round_spec.R:40:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(1000.234567, rspec)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_glue.R:11:3'): unnamed inputs are caught ─────────────────
Error: Failed to evaluate glue component {..f(x)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─table.glue (local) ..f(x)
2. │ ├─base::trimws(table_value(x, rspec = .rspec))
3. │ │ ├─base (local) mysub(...)
4. │ │ │ └─base::sub(re, "", x, perl = TRUE)
5. │ │ │ └─base::is.factor(x)
6. │ │ └─base (local) mysub(paste0("^", whitespace, "+"), x)
7. │ │ └─base::sub(re, "", x, perl = TRUE)
8. │ │ └─base::is.factor(x)
9. │ └─table.glue::table_value(x, rspec = .rspec)
10. │ └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
11. │ └─glue::glue_data(...)
12. │ └─base::stopifnot(is.environment(.envir))
13. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
14. └─glue (local) `<fn>`(`<smplErrr>`)
15. └─rlang::abort(message, parent = cnd, call = NULL)
── Error ('test-table_pvalue.R:7:3'): missings are handled correctly ───────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:7:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_missing)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:28:3'): example values are correct ──────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:28:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:52:3'): boundary p-values are not made insignificant ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:52:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_close, alpha = 0.15)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:63:3'): boundaries can be moved ─────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:63:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:29:3'): rounding specifications match intent ─────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:29:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_sig_1_even)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:77:3'): rounding on boundaries matches specification ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:77:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_mag_up)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64
Version: 0.0.4
Check: examples
Result: ERROR
Running examples in ‘table.glue-Ex.R’ failed
The error most likely occurred in:
> ### Name: format_big
> ### Title: Format values left of decimal
> ### Aliases: format_big
>
> ### ** Examples
>
>
> big_x <- 1234567
>
> rspec <- format_big(round_spec(), mark = '|', interval = 3)
>
> table_value(big_x, rspec) # returns "1|234|567"
Error in glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open, :
is.environment(.envir) is not TRUE
Calls: table_value -> <Anonymous> -> glue_data -> stopifnot
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.0.4
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(table.glue)
>
> test_check("table.glue")
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-round_spec.R:40:3'): formatting works ──────────────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(table_value(1000.234567, rspec), "1big000decimal!23oh noes45oh noes7") at test-round_spec.R:40:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(1000.234567, rspec)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_glue.R:11:3'): unnamed inputs are caught ─────────────────
Error: Failed to evaluate glue component {..f(x)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─table.glue (local) ..f(x)
2. │ ├─base::trimws(table_value(x, rspec = .rspec))
3. │ │ ├─base (local) mysub(...)
4. │ │ │ └─base::sub(re, "", x, perl = TRUE)
5. │ │ │ └─base::is.factor(x)
6. │ │ └─base (local) mysub(paste0("^", whitespace, "+"), x)
7. │ │ └─base::sub(re, "", x, perl = TRUE)
8. │ │ └─base::is.factor(x)
9. │ └─table.glue::table_value(x, rspec = .rspec)
10. │ └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
11. │ └─glue::glue_data(...)
12. │ └─base::stopifnot(is.environment(.envir))
13. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
14. └─glue (local) `<fn>`(`<smplErrr>`)
15. └─rlang::abort(message, parent = cnd, call = NULL)
── Error ('test-table_pvalue.R:7:3'): missings are handled correctly ───────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:7:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_missing)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:28:3'): example values are correct ──────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:28:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:52:3'): boundary p-values are not made insignificant ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:52:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_close, alpha = 0.15)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:63:3'): boundaries can be moved ─────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:63:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:29:3'): rounding specifications match intent ─────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:29:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_sig_1_even)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:77:3'): rounding on boundaries matches specification ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:77:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_mag_up)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.0.4
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘default_rounder.Rmd’ using rmarkdown
Quitting from lines 53-58 [unnamed-chunk-4] (default_rounder.Rmd)
Error: processing vignette 'default_rounder.Rmd' failed with diagnostics:
is.environment(.envir) is not TRUE
--- failed re-building ‘default_rounder.Rmd’
--- re-building ‘table_guide.Rmd’ using rmarkdown
Quitting from lines 64-82 [unnamed-chunk-3] (table_guide.Rmd)
Error: processing vignette 'table_guide.Rmd' failed with diagnostics:
ℹ In argument: `tbv_height = table_glue("{height_est} ({height_lwr} -
{height_upr})")`.
ℹ In group 1: `sex = "female"`.
Caused by error:
! Failed to evaluate glue component {..f(height_est)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
--- failed re-building ‘table_guide.Rmd’
SUMMARY: processing the following files failed:
‘default_rounder.Rmd’ ‘table_guide.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, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.0.4
Check: tests
Result: ERROR
Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(table.glue)
>
> test_check("table.glue")
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-round_spec.R:40:3'): formatting works ──────────────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(table_value(1000.234567, rspec), "1big000decimal!23oh noes45oh noes7") at test-round_spec.R:40:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(1000.234567, rspec)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_glue.R:11:3'): unnamed inputs are caught ─────────────────
Error: Failed to evaluate glue component {..f(x)}
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─table.glue (local) ..f(x)
2. │ ├─base::trimws(table_value(x, rspec = .rspec))
3. │ │ ├─base (local) mysub(...)
4. │ │ │ └─base::sub(re, "", x, perl = TRUE)
5. │ │ │ └─base::is.factor(x)
6. │ │ └─base (local) mysub(paste0("^", whitespace, "+"), x)
7. │ │ └─base::sub(re, "", x, perl = TRUE)
8. │ │ └─base::is.factor(x)
9. │ └─table.glue::table_value(x, rspec = .rspec)
10. │ └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
11. │ └─glue::glue_data(...)
12. │ └─base::stopifnot(is.environment(.envir))
13. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
14. └─glue (local) `<fn>`(`<smplErrr>`)
15. └─rlang::abort(message, parent = cnd, call = NULL)
── Error ('test-table_pvalue.R:7:3'): missings are handled correctly ───────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:7:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_missing)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:28:3'): example values are correct ──────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:28:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:52:3'): boundary p-values are not made insignificant ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:52:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(pvals_close, alpha = 0.15)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_pvalue.R:63:3'): boundaries can be moved ─────────────────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_pvalue.R:63:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_pvalue(...)
5. └─table.glue::table_value(...)
6. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
7. └─glue::glue_data(...)
8. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:29:3'): rounding specifications match intent ─────
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:29:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_sig_1_even)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
── Error ('test-table_value.R:77:3'): rounding on boundaries matches specification ──
Error in `glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open,
.close = .close, .na = .na, .null = .null, .comment = .comment,
.literal = .literal, .transformer = .transformer, .trim = .trim)`: is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-table_value.R:77:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─table.glue::table_value(x, rspec_mag_up)
5. └─glue::glue("{round_using}_{round_half}", .envir = .rspec)
6. └─glue::glue_data(...)
7. └─base::stopifnot(is.environment(.envir))
[ FAIL 8 | WARN 0 | SKIP 0 | PASS 52 ]
Error: Test failures
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64