Last updated on 2023-05-05 07:53:22 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 11.38 | 264.74 | 276.12 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 8.66 | 198.40 | 207.06 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 334.58 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 327.89 | ERROR | |||
r-devel-windows-x86_64 | 1.0.0 | 11.00 | 253.00 | 264.00 | ERROR | |
r-patched-linux-x86_64 | 1.0.0 | 7.04 | 311.11 | 318.15 | OK | |
r-release-linux-x86_64 | 1.0.0 | 7.31 | 316.24 | 323.55 | OK | |
r-release-macos-arm64 | 1.0.0 | 121.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 216.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 14.00 | 368.00 | 382.00 | OK | |
r-oldrel-macos-arm64 | 1.0.0 | 104.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.0 | 145.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.0 | 14.00 | 379.00 | 393.00 | OK |
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘brolgar-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: keys_near.data.frame
> ### Title: Return keys nearest to a given statistics or summary.
> ### Aliases: keys_near.data.frame
>
> ### ** Examples
>
> heights %>%
+ key_slope(height_cm ~ year) %>%
+ keys_near(key = country,
+ var = .slope_year)
# A tibble: 5 × 5
country .slope_year stat stat_value stat_diff
<chr> <dbl> <fct> <dbl> <dbl>
1 Austria 0.0695 q_75 0.0690 0.000515
2 Burundi 0.321 max 0.321 0
3 Eritrea -0.102 min -0.102 0
4 Mali 0.0401 med 0.0403 0.000120
5 Tajikistan 0.0199 q_25 0.0205 0.000632
> # Specify your own list of summaries
> l_ranges <- list(min = b_min,
+ range_diff = b_range_diff,
+ max = b_max,
+ iqr = b_iqr)
>
> heights %>%
+ key_slope(formula = height_cm ~ year) %>%
+ keys_near(key = country,
+ var = .slope_year,
+ funs = l_ranges)
Error in `mutate()`:
ℹ In argument: `range_diff = (function (x, ...) ...`.
Caused by error in `b_range()`:
! formal argument "na.rm" matched by multiple actual arguments
Backtrace:
▆
1. ├─heights %>% key_slope(formula = height_cm ~ year) %>% ...
2. ├─brolgar::keys_near(., key = country, var = .slope_year, funs = l_ranges)
3. ├─brolgar:::keys_near.data.frame(...)
4. │ └─... %>% ...
5. ├─dplyr::mutate(., stat = factor(x = stat, levels = names(funs)))
6. ├─dplyr::ungroup(.)
7. ├─dplyr::top_n(., -top_n, wt = stat_diff)
8. │ └─dplyr::filter(...)
9. ├─dplyr::group_by(., stat)
10. ├─dplyr::mutate(...)
11. ├─tidyr::pivot_longer(...)
12. ├─dplyr::select(...)
13. ├─dplyr::mutate_at(...)
14. │ ├─dplyr::mutate(.tbl, !!!funs)
15. │ └─dplyr:::mutate.data.frame(.tbl, !!!funs)
16. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
17. │ ├─base::withCallingHandlers(...)
18. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
19. │ └─mask$eval_all_mutate(quo)
20. │ └─dplyr (local) eval()
21. ├─brolgar (local) `<fn>`(.slope_year)
22. │ ├─base::diff(b_range(x, na.rm = TRUE, ...))
23. │ └─brolgar::b_range(x, na.rm = TRUE, ...)
24. └─base::.handleSimpleError(...)
25. └─dplyr (local) h(simpleError(msg, call))
26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [25s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(brolgar)
>
> test_check("brolgar")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Attaching package: 'tsibble'
The following objects are masked from 'package:base':
intersect, setdiff, union
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (5)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-b-funs.R:21:3'): b functions return non NA value ───────────────
Error in `b_range(x, na.rm = TRUE, ...)`: formal argument "na.rm" matched by multiple actual arguments
Backtrace:
▆
1. ├─testthat::expect_equal(b_range_diff(vec), 4) at test-b-funs.R:21:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─brolgar::b_range_diff(vec)
5. ├─base::diff(b_range(x, na.rm = TRUE, ...))
6. └─brolgar::b_range(x, na.rm = TRUE, ...)
── Failure ('test-features-brolgar.R:5:3'): feat_brolgar returns the right names ──
names(wages_brolgar) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] "id" | "id" [1]
- "min" [2]
- "max" [3]
- "median" [4]
- "mean" [5]
- "q25" [6]
- "q75" [7]
- "range1" [8]
- "range2" [9]
- "range_diff" [10]
... ... ... and 16 more ...
── Failure ('test-features-brolgar.R:37:3'): feat_brolgar returns the right dimensions ──
dim(wages_brolgar) (`actual`) not equal to c(888, 26) (`expected`).
`actual`: 888 1
`expected`: 888 26
── Failure ('test-features-ranges.R:5:3'): feat_ranges returns the right names ──
names(wages_ranges) (`actual`) not equal to c("id", "min", "max", "range_diff", "iqr") (`expected`).
`actual`: "id"
`expected`: "id" "min" "max" "range_diff" "iqr"
── Failure ('test-features-ranges.R:10:3'): feat_ranges returns the right dimensions ──
dim(wages_ranges) (`actual`) not equal to c(888, 5) (`expected`).
`actual`: 888 1
`expected`: 888 5
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
Deleting unused snapshots:
• facet-sample/gg-facet-sample-alt.svg
• facet-sample/gg-facet-sample.svg
• facet-strata/gg-facet-strata-along.svg
• facet-strata/gg-facet-strata.svg
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘exploratory-modelling.Rmd’ using rmarkdown
--- finished re-building ‘exploratory-modelling.Rmd’
--- re-building ‘finding-features.Rmd’ using rmarkdown
--- finished re-building ‘finding-features.Rmd’
--- re-building ‘getting-started.Rmd’ using rmarkdown
Quitting from lines 89-96 (getting-started.Rmd)
Error: processing vignette ‘getting-started.Rmd’ failed with diagnostics:
Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error:
! object ‘range_diff’ not found
--- failed re-building ‘getting-started.Rmd’
--- re-building ‘id-interesting-obs.Rmd’ using rmarkdown
Quitting from lines 93-104 (id-interesting-obs.Rmd)
Error: processing vignette ‘id-interesting-obs.Rmd’ failed with diagnostics:
ℹ In argument: `range_diff = (function (x, ...) ...`.
Caused by error in `b_range()`:
! formal argument "na.rm" matched by multiple actual arguments
--- failed re-building ‘id-interesting-obs.Rmd’
--- re-building ‘longitudinal-data-structures.Rmd’ using rmarkdown
--- finished re-building ‘longitudinal-data-structures.Rmd’
--- re-building ‘mixed-effects-models.Rmd’ using rmarkdown
--- finished re-building ‘mixed-effects-models.Rmd’
--- re-building ‘visualisation-gallery.Rmd’ using rmarkdown
--- finished re-building ‘visualisation-gallery.Rmd’
SUMMARY: processing the following files failed:
‘getting-started.Rmd’ ‘id-interesting-obs.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [19s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(brolgar)
>
> test_check("brolgar")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Attaching package: 'tsibble'
The following objects are masked from 'package:base':
intersect, setdiff, union
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (5)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-b-funs.R:21:3'): b functions return non NA value ───────────────
Error in `b_range(x, na.rm = TRUE, ...)`: formal argument "na.rm" matched by multiple actual arguments
Backtrace:
▆
1. ├─testthat::expect_equal(b_range_diff(vec), 4) at test-b-funs.R:21:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─brolgar::b_range_diff(vec)
5. ├─base::diff(b_range(x, na.rm = TRUE, ...))
6. └─brolgar::b_range(x, na.rm = TRUE, ...)
── Failure ('test-features-brolgar.R:5:3'): feat_brolgar returns the right names ──
names(wages_brolgar) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] "id" | "id" [1]
- "min" [2]
- "max" [3]
- "median" [4]
- "mean" [5]
- "q25" [6]
- "q75" [7]
- "range1" [8]
- "range2" [9]
- "range_diff" [10]
... ... ... and 16 more ...
── Failure ('test-features-brolgar.R:37:3'): feat_brolgar returns the right dimensions ──
dim(wages_brolgar) (`actual`) not equal to c(888, 26) (`expected`).
`actual`: 888 1
`expected`: 888 26
── Failure ('test-features-ranges.R:5:3'): feat_ranges returns the right names ──
names(wages_ranges) (`actual`) not equal to c("id", "min", "max", "range_diff", "iqr") (`expected`).
`actual`: "id"
`expected`: "id" "min" "max" "range_diff" "iqr"
── Failure ('test-features-ranges.R:10:3'): feat_ranges returns the right dimensions ──
dim(wages_ranges) (`actual`) not equal to c(888, 5) (`expected`).
`actual`: 888 1
`expected`: 888 5
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
Deleting unused snapshots:
• facet-sample/gg-facet-sample-alt.svg
• facet-sample/gg-facet-sample.svg
• facet-strata/gg-facet-strata-along.svg
• facet-strata/gg-facet-strata.svg
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘brolgar-Ex.R’ failed
The error most likely occurred in:
> ### Name: keys_near.data.frame
> ### Title: Return keys nearest to a given statistics or summary.
> ### Aliases: keys_near.data.frame
>
> ### ** Examples
>
> heights %>%
+ key_slope(height_cm ~ year) %>%
+ keys_near(key = country,
+ var = .slope_year)
# A tibble: 5 × 5
country .slope_year stat stat_value stat_diff
<chr> <dbl> <fct> <dbl> <dbl>
1 Austria 0.0695 q_75 0.0690 0.000515
2 Burundi 0.321 max 0.321 0
3 Eritrea -0.102 min -0.102 0
4 Mali 0.0401 med 0.0403 0.000120
5 Tajikistan 0.0199 q_25 0.0205 0.000632
> # Specify your own list of summaries
> l_ranges <- list(min = b_min,
+ range_diff = b_range_diff,
+ max = b_max,
+ iqr = b_iqr)
>
> heights %>%
+ key_slope(formula = height_cm ~ year) %>%
+ keys_near(key = country,
+ var = .slope_year,
+ funs = l_ranges)
Error in `mutate()`:
ℹ In argument: `range_diff = (function (x, ...) ...`.
Caused by error in `b_range()`:
! formal argument "na.rm" matched by multiple actual arguments
Backtrace:
▆
1. ├─heights %>% key_slope(formula = height_cm ~ year) %>% ...
2. ├─brolgar::keys_near(., key = country, var = .slope_year, funs = l_ranges)
3. ├─brolgar:::keys_near.data.frame(...)
4. │ └─... %>% ...
5. ├─dplyr::mutate(., stat = factor(x = stat, levels = names(funs)))
6. ├─dplyr::ungroup(.)
7. ├─dplyr::top_n(., -top_n, wt = stat_diff)
8. │ └─dplyr::filter(...)
9. ├─dplyr::group_by(., stat)
10. ├─dplyr::mutate(...)
11. ├─tidyr::pivot_longer(...)
12. ├─dplyr::select(...)
13. ├─dplyr::mutate_at(...)
14. │ ├─dplyr::mutate(.tbl, !!!funs)
15. │ └─dplyr:::mutate.data.frame(.tbl, !!!funs)
16. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
17. │ ├─base::withCallingHandlers(...)
18. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
19. │ └─mask$eval_all_mutate(quo)
20. │ └─dplyr (local) eval()
21. ├─brolgar (local) `<fn>`(.slope_year)
22. │ ├─base::diff(b_range(x, na.rm = TRUE, ...))
23. │ └─brolgar::b_range(x, na.rm = TRUE, ...)
24. └─base::.handleSimpleError(...)
25. └─dplyr (local) h(simpleError(msg, call))
26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [30s/55s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(brolgar)
>
> test_check("brolgar")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Attaching package: 'tsibble'
The following objects are masked from 'package:base':
intersect, setdiff, union
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (5)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-b-funs.R:21:3'): b functions return non NA value ───────────────
Error in `b_range(x, na.rm = TRUE, ...)`: formal argument "na.rm" matched by multiple actual arguments
Backtrace:
▆
1. ├─testthat::expect_equal(b_range_diff(vec), 4) at test-b-funs.R:21:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─brolgar::b_range_diff(vec)
5. ├─base::diff(b_range(x, na.rm = TRUE, ...))
6. └─brolgar::b_range(x, na.rm = TRUE, ...)
── Failure ('test-features-brolgar.R:5:3'): feat_brolgar returns the right names ──
names(wages_brolgar) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] "id" | "id" [1]
- "min" [2]
- "max" [3]
- "median" [4]
- "mean" [5]
- "q25" [6]
- "q75" [7]
- "range1" [8]
- "range2" [9]
- "range_diff" [10]
... ... ... and 16 more ...
── Failure ('test-features-brolgar.R:37:3'): feat_brolgar returns the right dimensions ──
dim(wages_brolgar) (`actual`) not equal to c(888, 26) (`expected`).
`actual`: 888 1
`expected`: 888 26
── Failure ('test-features-ranges.R:5:3'): feat_ranges returns the right names ──
names(wages_ranges) (`actual`) not equal to c("id", "min", "max", "range_diff", "iqr") (`expected`).
`actual`: "id"
`expected`: "id" "min" "max" "range_diff" "iqr"
── Failure ('test-features-ranges.R:10:3'): feat_ranges returns the right dimensions ──
dim(wages_ranges) (`actual`) not equal to c(888, 5) (`expected`).
`actual`: 888 1
`expected`: 888 5
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
Deleting unused snapshots:
• facet-sample/gg-facet-sample-alt.svg
• facet-sample/gg-facet-sample.svg
• facet-strata/gg-facet-strata-along.svg
• facet-strata/gg-facet-strata.svg
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘exploratory-modelling.Rmd’ using rmarkdown
--- finished re-building ‘exploratory-modelling.Rmd’
--- re-building ‘finding-features.Rmd’ using rmarkdown
--- finished re-building ‘finding-features.Rmd’
--- re-building ‘getting-started.Rmd’ using rmarkdown
Quitting from lines 89-96 (getting-started.Rmd)
Error: processing vignette 'getting-started.Rmd' failed with diagnostics:
Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error:
! object 'range_diff' not found
--- failed re-building ‘getting-started.Rmd’
--- re-building ‘id-interesting-obs.Rmd’ using rmarkdown
Quitting from lines 93-104 (id-interesting-obs.Rmd)
Error: processing vignette 'id-interesting-obs.Rmd' failed with diagnostics:
ℹ In argument: `range_diff = (function (x, ...) ...`.
Caused by error in `b_range()`:
! formal argument "na.rm" matched by multiple actual arguments
--- failed re-building ‘id-interesting-obs.Rmd’
--- re-building ‘longitudinal-data-structures.Rmd’ using rmarkdown
--- finished re-building ‘longitudinal-data-structures.Rmd’
--- re-building ‘mixed-effects-models.Rmd’ using rmarkdown
--- finished re-building ‘mixed-effects-models.Rmd’
--- re-building ‘visualisation-gallery.Rmd’ using rmarkdown
--- finished re-building ‘visualisation-gallery.Rmd’
SUMMARY: processing the following files failed:
‘getting-started.Rmd’ ‘id-interesting-obs.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [28s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(brolgar)
>
> test_check("brolgar")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Attaching package: 'tsibble'
The following objects are masked from 'package:base':
intersect, setdiff, union
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (5)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-b-funs.R:21:3'): b functions return non NA value ───────────────
Error in `b_range(x, na.rm = TRUE, ...)`: formal argument "na.rm" matched by multiple actual arguments
Backtrace:
▆
1. ├─testthat::expect_equal(b_range_diff(vec), 4) at test-b-funs.R:21:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─brolgar::b_range_diff(vec)
5. ├─base::diff(b_range(x, na.rm = TRUE, ...))
6. └─brolgar::b_range(x, na.rm = TRUE, ...)
── Failure ('test-features-brolgar.R:5:3'): feat_brolgar returns the right names ──
names(wages_brolgar) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] "id" | "id" [1]
- "min" [2]
- "max" [3]
- "median" [4]
- "mean" [5]
- "q25" [6]
- "q75" [7]
- "range1" [8]
- "range2" [9]
- "range_diff" [10]
... ... ... and 16 more ...
── Failure ('test-features-brolgar.R:37:3'): feat_brolgar returns the right dimensions ──
dim(wages_brolgar) (`actual`) not equal to c(888, 26) (`expected`).
`actual`: 888 1
`expected`: 888 26
── Failure ('test-features-ranges.R:5:3'): feat_ranges returns the right names ──
names(wages_ranges) (`actual`) not equal to c("id", "min", "max", "range_diff", "iqr") (`expected`).
`actual`: "id"
`expected`: "id" "min" "max" "range_diff" "iqr"
── Failure ('test-features-ranges.R:10:3'): feat_ranges returns the right dimensions ──
dim(wages_ranges) (`actual`) not equal to c(888, 5) (`expected`).
`actual`: 888 1
`expected`: 888 5
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
Deleting unused snapshots:
• facet-sample/gg-facet-sample-alt.svg
• facet-sample/gg-facet-sample.svg
• facet-strata/gg-facet-strata-along.svg
• facet-strata/gg-facet-strata.svg
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [20s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(brolgar)
>
> test_check("brolgar")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Attaching package: 'tsibble'
The following objects are masked from 'package:base':
intersect, setdiff, union
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (5)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-b-funs.R:21:3'): b functions return non NA value ───────────────
Error in `b_range(x, na.rm = TRUE, ...)`: formal argument "na.rm" matched by multiple actual arguments
Backtrace:
▆
1. ├─testthat::expect_equal(b_range_diff(vec), 4) at test-b-funs.R:21:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─brolgar::b_range_diff(vec)
5. ├─base::diff(b_range(x, na.rm = TRUE, ...))
6. └─brolgar::b_range(x, na.rm = TRUE, ...)
── Failure ('test-features-brolgar.R:5:3'): feat_brolgar returns the right names ──
names(wages_brolgar) (`actual`) not equal to c(...) (`expected`).
actual | expected
[1] "id" | "id" [1]
- "min" [2]
- "max" [3]
- "median" [4]
- "mean" [5]
- "q25" [6]
- "q75" [7]
- "range1" [8]
- "range2" [9]
- "range_diff" [10]
... ... ... and 16 more ...
── Failure ('test-features-brolgar.R:37:3'): feat_brolgar returns the right dimensions ──
dim(wages_brolgar) (`actual`) not equal to c(888, 26) (`expected`).
`actual`: 888 1
`expected`: 888 26
── Failure ('test-features-ranges.R:5:3'): feat_ranges returns the right names ──
names(wages_ranges) (`actual`) not equal to c("id", "min", "max", "range_diff", "iqr") (`expected`).
`actual`: "id"
`expected`: "id" "min" "max" "range_diff" "iqr"
── Failure ('test-features-ranges.R:10:3'): feat_ranges returns the right dimensions ──
dim(wages_ranges) (`actual`) not equal to c(888, 5) (`expected`).
`actual`: 888 1
`expected`: 888 5
[ FAIL 5 | WARN 3 | SKIP 5 | PASS 269 ]
Deleting unused snapshots:
• facet-sample/gg-facet-sample-alt.svg
• facet-sample/gg-facet-sample.svg
• facet-strata/gg-facet-strata-along.svg
• facet-strata/gg-facet-strata.svg
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64