Last updated on 2026-11-21 00:52:33 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 14.67 | 389.92 | 404.59 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 12.83 | 281.47 | 294.30 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 13.00 | 247.32 | 260.32 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 12.00 | 256.52 | 268.52 | ERROR | |
| r-devel-windows-x86_64 | 0.2.0 | 20.00 | 539.00 | 559.00 | OK | |
| r-patched-linux-x86_64 | 0.2.0 | 16.30 | 448.90 | 465.20 | OK | |
| r-release-linux-x86_64 | 0.2.0 | 14.57 | 447.34 | 461.91 | OK | |
| r-release-macos-arm64 | 0.2.0 | 4.00 | 84.00 | 88.00 | OK | |
| r-release-macos-x86_64 | 0.2.0 | 11.00 | 460.00 | 471.00 | OK | |
| r-release-windows-x86_64 | 0.2.0 | 18.00 | 457.00 | 475.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.0 | 4.00 | 90.00 | 94.00 | OK | |
| r-oldrel-macos-x86_64 | 0.2.0 | 11.00 | 378.00 | 389.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.0 | 29.00 | 579.00 | 608.00 | OK |
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘tidyfun-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dti_df
> ### Title: Diffusion tensor imaging data
> ### Aliases: dti_df
> ### Keywords: data
>
> ### ** Examples
>
> dti_df
# A tibble: 382 × 6
id visit sex case cca
<dbl> <int> <fct> <fct> <tfd_irreg>
1 1001 1 female control (0.000,0.49);(0.011,0.52);(0.022,0.54); ...
2 1002 1 female control (0.000,0.47);(0.011,0.49);(0.022,0.50); ...
3 1003 1 male control (0.000,0.50);(0.011,0.51);(0.022,0.54); ...
4 1004 1 male control (0.000,0.40);(0.011,0.42);(0.022,0.44); ...
5 1005 1 male control (0.000,0.40);(0.011,0.41);(0.022,0.40); ...
6 1006 1 male control (0.000,0.45);(0.011,0.45);(0.022,0.46); ...
7 1007 1 male control (0.000,0.55);(0.011,0.56);(0.022,0.56); ...
8 1008 1 male control (0.000,0.45);(0.011,0.48);(0.022,0.50); ...
9 1009 1 male control (0.000,0.50);(0.011,0.51);(0.022,0.52); ...
10 1010 1 male control (0.000,0.46);(0.011,0.47);(0.022,0.48); ...
# ℹ 372 more rows
# ℹ 1 more variable: rcst <tfd_irreg>
>
> library(ggplot2)
> dti_df |>
+ dplyr::filter(visit == 1) |>
+ tf_ggplot(aes(tf = cca, color = case)) +
+ geom_line(alpha = 0.3)
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
Backtrace:
▆
1. ├─base (local) `<fn>`(x)
2. └─tidyfun:::print.tf_ggplot(x)
3. └─tidyfun:::finalize_tf_ggplot(x)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘quick-visual-check.R’ [2s/3s]
Running ‘testthat.R’ [37s/43s]
Running ‘visual-test-runner.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyfun)
Loading required package: tf
Attaching package: 'tf'
The following objects are masked from 'package:stats':
fivenum, sd, var
The following object is masked from 'package:datasets':
gait
The following object is masked from 'package:base':
rank
>
> test_check("tidyfun")
Saving _problems/test-fboxplot-63.R
Saving _problems/test-fboxplot-74.R
Saving _problems/test-fboxplot-91.R
Saving _problems/test-fboxplot-130.R
Saving _problems/test-tf-ggplot-advanced-217.R
Saving _problems/test-tf-ggplot-advanced-317.R
Saving _problems/test-tf-ggplot-advanced-431.R
Saving _problems/test-tf-ggplot-advanced-460.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-53.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-99.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-214.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-344.R
Saving _problems/test-tf-ggplot-basic-107.R
Saving _problems/test-tf-ggplot-basic-204.R
Saving _problems/test-tf-ggplot-complex-222.R
Saving _problems/test-tf-ggplot-complex-264.R
Saving _problems/test-tf-ggplot-mv-98.R
Saving _problems/test-tf-ggplot-mv-329.R
Saving _problems/test-tf-ggplot-visual-75.R
Saving _problems/test-tf-ggplot-visual-127.R
Saving _problems/test-tf-ggplot-visual-173.R
Saving _problems/test-tf-ggplot-visual-219.R
Saving _problems/test-tf-ggplot-visual-279.R
Saving _problems/test-tf-ggplot-visual-315.R
Saving _problems/test-tf-ggplot-visual-384.R
Saving _problems/test-tf-ggplot-visual-424.R
Saving _problems/test-tf-ggplot-69.R
Saving _problems/test-tf-ggplot-124.R
[ FAIL 28 | WARN 0 | SKIP 0 | PASS 335 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fboxplot.R:63:3'): geom_fboxplot groups within a panel by fill and colour ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-fboxplot.R:63:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-fboxplot.R:72:3'): geom_fboxplot uses mapped colour for ribbons when fill is absent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─ggplot2::ggplotGrob(p) at test-fboxplot.R:72:3
2. ├─ggplot2::ggplot_gtable(ggplot_build(x))
3. │ └─ggplot2:::attach_plot_env(data@plot@plot_env)
4. │ └─base::options(ggplot2_plot_env = env)
5. ├─ggplot2::ggplot_build(x)
6. └─tidyfun:::ggplot_build.tf_ggplot(x)
7. └─tidyfun:::finalize_tf_ggplot(plot)
8. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
9. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
10. └─ggplot2:::validate_mapping(mapping)
11. └─cli::cli_abort(msg, call = call)
12. └─rlang::abort(...)
── Error ('test-fboxplot.R:89:3'): geom_fboxplot is compatible with facetting ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-fboxplot.R:89:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-fboxplot.R:128:3'): geom_fboxplot stat output is retransformed by y scales ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-fboxplot.R:128:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:217:3'): complex aesthetic mappings work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:217:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:313:3'): theme and scale customization works with tf_ggplot ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-advanced.R:313:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:431:3'): complex multi-layer plots with different aesthetics work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:431:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:460:3'): many layers with different tf expressions work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:460:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:53:3'): tf aesthetics with color mapping are equivalent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:53:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:99:3'): mixed tf and regular aesthetics are equivalent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:99:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:214:3'): aesthetic override in geom layer works ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:214:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:344:3'): data transformation is identical regardless of aesthetic specification method ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:344:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-basic.R:107:3'): geom_line integration produces correct plot structure ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-basic.R:107:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-basic.R:204:3'): grouping variables are preserved in transformation ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-basic.R:204:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-complex.R:222:3'): tf aesthetics with scalars and derived quantities ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p_mixed) at test-tf-ggplot-complex.R:222:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p_mixed)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-complex.R:264:3'): tf transformations preserve grouping correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p_transform) at test-tf-ggplot-complex.R:264:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p_transform)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-mv.R:98:3'): aes(tf = mv) with d != 2 unnests to long with .component ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-mv.R:98:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-mv.R:329:3'): covariates named like generated mv columns don't break the build ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-mv.R:329:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:69:3'): basic tf_ggplot line plots look sensible ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:69:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:120:3'): tf_ggplot with points and lines looks correct ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:120:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:163:3'): tf_ggplot ribbon plots look sensible ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:163:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:212:3'): tf_ggplot faceting looks correct ───
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:212:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:263:3'): tf_ggplot with multiple aesthetics looks good ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:263:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:309:3'): tf_ggplot comparison with current geom_spaghetti ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:309:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:376:3'): tf_ggplot with different geom types ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:376:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:420:3'): tf_ggplot edge cases render properly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:420:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot.R:69:3'): data transformation via ggplot_build works correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot.R:69:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot.R:124:3'): tf_ggplot handles grouping aesthetics correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot.R:124:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
[ FAIL 28 | WARN 0 | SKIP 0 | PASS 335 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘x01_tf_Vectors.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x01_tf_Vectors.Rmd’
--- re-building ‘x02_Conversion.Rmd’ using rmarkdown
Quitting from x02_Conversion.Rmd:77-83 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...)
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'x02_Conversion.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building ‘x02_Conversion.Rmd’
--- re-building ‘x03_Data_Wrangling.Rmd’ using rmarkdown
Quitting from x03_Data_Wrangling.Rmd:101-107 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. ├─base::withVisible(knit_print(x, ...))
2. ├─knitr::knit_print(x, ...)
3. └─knitr:::knit_print.default(x, ...)
4. └─knitr::normal_print(x)
5. ├─base::print(x)
6. └─tidyfun:::print.tf_ggplot(x)
7. └─tidyfun:::finalize_tf_ggplot(x)
8. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
9. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'x03_Data_Wrangling.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building ‘x03_Data_Wrangling.Rmd’
--- re-building ‘x04_Visualization.Rmd’ using rmarkdown
Quitting from x04_Visualization.Rmd:79-86 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. ├─base::withVisible(knit_print(x, ...))
2. ├─knitr::knit_print(x, ...)
3. └─knitr:::knit_print.default(x, ...)
4. └─knitr::normal_print(x)
5. ├─base::print(x)
6. └─tidyfun:::print.tf_ggplot(x)
7. └─tidyfun:::finalize_tf_ggplot(x)
8. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
9. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'x04_Visualization.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building ‘x04_Visualization.Rmd’
--- re-building ‘x05_Advice.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x05_Advice.Rmd’
--- re-building ‘x06_Registration.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x06_Registration.Rmd’
--- re-building ‘x07_Vector-valued_Functions.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x07_Vector-valued_Functions.Rmd’
SUMMARY: processing the following files failed:
‘x02_Conversion.Rmd’ ‘x03_Data_Wrangling.Rmd’ ‘x04_Visualization.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘quick-visual-check.R’ [1s/2s]
Running ‘testthat.R’ [25s/29s]
Running ‘visual-test-runner.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyfun)
Loading required package: tf
Attaching package: 'tf'
The following objects are masked from 'package:stats':
fivenum, sd, var
The following object is masked from 'package:datasets':
gait
The following object is masked from 'package:base':
rank
>
> test_check("tidyfun")
Saving _problems/test-fboxplot-63.R
Saving _problems/test-fboxplot-74.R
Saving _problems/test-fboxplot-91.R
Saving _problems/test-fboxplot-130.R
Saving _problems/test-tf-ggplot-advanced-217.R
Saving _problems/test-tf-ggplot-advanced-317.R
Saving _problems/test-tf-ggplot-advanced-431.R
Saving _problems/test-tf-ggplot-advanced-460.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-53.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-99.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-214.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-344.R
Saving _problems/test-tf-ggplot-basic-107.R
Saving _problems/test-tf-ggplot-basic-204.R
Saving _problems/test-tf-ggplot-complex-222.R
Saving _problems/test-tf-ggplot-complex-264.R
Saving _problems/test-tf-ggplot-mv-98.R
Saving _problems/test-tf-ggplot-mv-329.R
Saving _problems/test-tf-ggplot-visual-75.R
Saving _problems/test-tf-ggplot-visual-127.R
Saving _problems/test-tf-ggplot-visual-173.R
Saving _problems/test-tf-ggplot-visual-219.R
Saving _problems/test-tf-ggplot-visual-279.R
Saving _problems/test-tf-ggplot-visual-315.R
Saving _problems/test-tf-ggplot-visual-384.R
Saving _problems/test-tf-ggplot-visual-424.R
Saving _problems/test-tf-ggplot-69.R
Saving _problems/test-tf-ggplot-124.R
[ FAIL 28 | WARN 0 | SKIP 0 | PASS 335 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fboxplot.R:63:3'): geom_fboxplot groups within a panel by fill and colour ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-fboxplot.R:63:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-fboxplot.R:72:3'): geom_fboxplot uses mapped colour for ribbons when fill is absent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─ggplot2::ggplotGrob(p) at test-fboxplot.R:72:3
2. ├─ggplot2::ggplot_gtable(ggplot_build(x))
3. │ └─ggplot2:::attach_plot_env(data@plot@plot_env)
4. │ └─base::options(ggplot2_plot_env = env)
5. ├─ggplot2::ggplot_build(x)
6. └─tidyfun:::ggplot_build.tf_ggplot(x)
7. └─tidyfun:::finalize_tf_ggplot(plot)
8. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
9. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
10. └─ggplot2:::validate_mapping(mapping)
11. └─cli::cli_abort(msg, call = call)
12. └─rlang::abort(...)
── Error ('test-fboxplot.R:89:3'): geom_fboxplot is compatible with facetting ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-fboxplot.R:89:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-fboxplot.R:128:3'): geom_fboxplot stat output is retransformed by y scales ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-fboxplot.R:128:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:217:3'): complex aesthetic mappings work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:217:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:313:3'): theme and scale customization works with tf_ggplot ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-advanced.R:313:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:431:3'): complex multi-layer plots with different aesthetics work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:431:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:460:3'): many layers with different tf expressions work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:460:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:53:3'): tf aesthetics with color mapping are equivalent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:53:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:99:3'): mixed tf and regular aesthetics are equivalent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:99:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:214:3'): aesthetic override in geom layer works ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:214:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:344:3'): data transformation is identical regardless of aesthetic specification method ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:344:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-basic.R:107:3'): geom_line integration produces correct plot structure ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-basic.R:107:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-basic.R:204:3'): grouping variables are preserved in transformation ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-basic.R:204:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-complex.R:222:3'): tf aesthetics with scalars and derived quantities ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p_mixed) at test-tf-ggplot-complex.R:222:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p_mixed)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-complex.R:264:3'): tf transformations preserve grouping correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p_transform) at test-tf-ggplot-complex.R:264:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p_transform)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-mv.R:98:3'): aes(tf = mv) with d != 2 unnests to long with .component ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-mv.R:98:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-mv.R:329:3'): covariates named like generated mv columns don't break the build ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-mv.R:329:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:69:3'): basic tf_ggplot line plots look sensible ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:69:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:120:3'): tf_ggplot with points and lines looks correct ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:120:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:163:3'): tf_ggplot ribbon plots look sensible ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:163:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:212:3'): tf_ggplot faceting looks correct ───
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:212:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:263:3'): tf_ggplot with multiple aesthetics looks good ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:263:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:309:3'): tf_ggplot comparison with current geom_spaghetti ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:309:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:376:3'): tf_ggplot with different geom types ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:376:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:420:3'): tf_ggplot edge cases render properly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:420:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot.R:69:3'): data transformation via ggplot_build works correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot.R:69:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot.R:124:3'): tf_ggplot handles grouping aesthetics correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot.R:124:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
[ FAIL 28 | WARN 0 | SKIP 0 | PASS 335 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: examples
Result: ERROR
Running examples in ‘tidyfun-Ex.R’ failed
The error most likely occurred in:
> ### Name: dti_df
> ### Title: Diffusion tensor imaging data
> ### Aliases: dti_df
> ### Keywords: data
>
> ### ** Examples
>
> dti_df
# A tibble: 382 × 6
id visit sex case cca
<dbl> <int> <fct> <fct> <tfd_irreg>
1 1001 1 female control (0.000,0.49);(0.011,0.52);(0.022,0.54); ...
2 1002 1 female control (0.000,0.47);(0.011,0.49);(0.022,0.50); ...
3 1003 1 male control (0.000,0.50);(0.011,0.51);(0.022,0.54); ...
4 1004 1 male control (0.000,0.40);(0.011,0.42);(0.022,0.44); ...
5 1005 1 male control (0.000,0.40);(0.011,0.41);(0.022,0.40); ...
6 1006 1 male control (0.000,0.45);(0.011,0.45);(0.022,0.46); ...
7 1007 1 male control (0.000,0.55);(0.011,0.56);(0.022,0.56); ...
8 1008 1 male control (0.000,0.45);(0.011,0.48);(0.022,0.50); ...
9 1009 1 male control (0.000,0.50);(0.011,0.51);(0.022,0.52); ...
10 1010 1 male control (0.000,0.46);(0.011,0.47);(0.022,0.48); ...
# ℹ 372 more rows
# ℹ 1 more variable: rcst <tfd_irreg>
>
> library(ggplot2)
> dti_df |>
+ dplyr::filter(visit == 1) |>
+ tf_ggplot(aes(tf = cca, color = case)) +
+ geom_line(alpha = 0.3)
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
Backtrace:
▆
1. ├─base (local) `<fn>`(x)
2. └─tidyfun:::print.tf_ggplot(x)
3. └─tidyfun:::finalize_tf_ggplot(x)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘quick-visual-check.R’
Running ‘testthat.R’ [23s/23s]
Running ‘visual-test-runner.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(tidyfun)
Loading required package: tf
Attaching package: 'tf'
The following objects are masked from 'package:stats':
fivenum, sd, var
The following object is masked from 'package:datasets':
gait
The following object is masked from 'package:base':
rank
>
> test_check("tidyfun")
Saving _problems/test-fboxplot-63.R
Saving _problems/test-fboxplot-74.R
Saving _problems/test-fboxplot-91.R
Saving _problems/test-fboxplot-130.R
Saving _problems/test-tf-ggplot-advanced-217.R
Saving _problems/test-tf-ggplot-advanced-317.R
Saving _problems/test-tf-ggplot-advanced-431.R
Saving _problems/test-tf-ggplot-advanced-460.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-53.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-99.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-214.R
Saving _problems/test-tf-ggplot-aesthetic-equivalence-344.R
Saving _problems/test-tf-ggplot-basic-107.R
Saving _problems/test-tf-ggplot-basic-204.R
Saving _problems/test-tf-ggplot-complex-222.R
Saving _problems/test-tf-ggplot-complex-264.R
Saving _problems/test-tf-ggplot-mv-98.R
Saving _problems/test-tf-ggplot-mv-329.R
Saving _problems/test-tf-ggplot-visual-75.R
Saving _problems/test-tf-ggplot-visual-127.R
Saving _problems/test-tf-ggplot-visual-173.R
Saving _problems/test-tf-ggplot-visual-219.R
Saving _problems/test-tf-ggplot-visual-279.R
Saving _problems/test-tf-ggplot-visual-315.R
Saving _problems/test-tf-ggplot-visual-384.R
Saving _problems/test-tf-ggplot-visual-424.R
Saving _problems/test-tf-ggplot-69.R
Saving _problems/test-tf-ggplot-124.R
[ FAIL 28 | WARN 0 | SKIP 0 | PASS 335 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fboxplot.R:63:3'): geom_fboxplot groups within a panel by fill and colour ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-fboxplot.R:63:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-fboxplot.R:72:3'): geom_fboxplot uses mapped colour for ribbons when fill is absent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─ggplot2::ggplotGrob(p) at test-fboxplot.R:72:3
2. ├─ggplot2::ggplot_gtable(ggplot_build(x))
3. │ └─ggplot2:::attach_plot_env(data@plot@plot_env)
4. │ └─base::options(ggplot2_plot_env = env)
5. ├─ggplot2::ggplot_build(x)
6. └─tidyfun:::ggplot_build.tf_ggplot(x)
7. └─tidyfun:::finalize_tf_ggplot(plot)
8. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
9. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
10. └─ggplot2:::validate_mapping(mapping)
11. └─cli::cli_abort(msg, call = call)
12. └─rlang::abort(...)
── Error ('test-fboxplot.R:89:3'): geom_fboxplot is compatible with facetting ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-fboxplot.R:89:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-fboxplot.R:128:3'): geom_fboxplot stat output is retransformed by y scales ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-fboxplot.R:128:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:217:3'): complex aesthetic mappings work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:217:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:313:3'): theme and scale customization works with tf_ggplot ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-advanced.R:313:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:431:3'): complex multi-layer plots with different aesthetics work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:431:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-advanced.R:460:3'): many layers with different tf expressions work ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-advanced.R:460:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:53:3'): tf aesthetics with color mapping are equivalent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:53:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:99:3'): mixed tf and regular aesthetics are equivalent ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:99:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:214:3'): aesthetic override in geom layer works ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:214:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-aesthetic-equivalence.R:344:3'): data transformation is identical regardless of aesthetic specification method ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p1) at test-tf-ggplot-aesthetic-equivalence.R:344:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p1)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-basic.R:107:3'): geom_line integration produces correct plot structure ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-basic.R:107:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-basic.R:204:3'): grouping variables are preserved in transformation ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-basic.R:204:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-complex.R:222:3'): tf aesthetics with scalars and derived quantities ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p_mixed) at test-tf-ggplot-complex.R:222:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p_mixed)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-complex.R:264:3'): tf transformations preserve grouping correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p_transform) at test-tf-ggplot-complex.R:264:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p_transform)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-mv.R:98:3'): aes(tf = mv) with d != 2 unnests to long with .component ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-mv.R:98:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-mv.R:329:3'): covariates named like generated mv columns don't break the build ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot-mv.R:329:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:69:3'): basic tf_ggplot line plots look sensible ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:69:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:120:3'): tf_ggplot with points and lines looks correct ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:120:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:163:3'): tf_ggplot ribbon plots look sensible ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:163:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:212:3'): tf_ggplot faceting looks correct ───
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:212:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:263:3'): tf_ggplot with multiple aesthetics looks good ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:263:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:309:3'): tf_ggplot comparison with current geom_spaghetti ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:309:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:376:3'): tf_ggplot with different geom types ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:376:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot-visual.R:420:3'): tf_ggplot edge cases render properly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...) at test-tf-ggplot-visual.R:420:3
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
5. └─ggplot2:::validate_mapping(mapping)
6. └─cli::cli_abort(msg, call = call)
7. └─rlang::abort(...)
── Error ('test-tf-ggplot.R:69:3'): data transformation via ggplot_build works correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot.R:69:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
── Error ('test-tf-ggplot.R:124:3'): tf_ggplot handles grouping aesthetics correctly ──
Error in `ggplot(data = NULL, mapping = base_mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::ggplot_build(p) at test-tf-ggplot.R:124:3
2. └─tidyfun:::ggplot_build.tf_ggplot(p)
3. └─tidyfun:::finalize_tf_ggplot(plot)
4. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
5. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
[ FAIL 28 | WARN 0 | SKIP 0 | PASS 335 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘x01_tf_Vectors.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x01_tf_Vectors.Rmd’
--- re-building ‘x02_Conversion.Rmd’ using rmarkdown
Quitting from x02_Conversion.Rmd:77-83 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. └─tidyfun:::`+.tf_ggplot`(...)
2. └─tidyfun:::finalize_tf_ggplot(e1)
3. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
4. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'x02_Conversion.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building ‘x02_Conversion.Rmd’
--- re-building ‘x03_Data_Wrangling.Rmd’ using rmarkdown
Quitting from x03_Data_Wrangling.Rmd:101-107 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. ├─base::withVisible(knit_print(x, ...))
2. ├─knitr::knit_print(x, ...)
3. └─knitr:::knit_print.default(x, ...)
4. └─knitr::normal_print(x)
5. ├─base::print(x)
6. └─tidyfun:::print.tf_ggplot(x)
7. └─tidyfun:::finalize_tf_ggplot(x)
8. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
9. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'x03_Data_Wrangling.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building ‘x03_Data_Wrangling.Rmd’
--- re-building ‘x04_Visualization.Rmd’ using rmarkdown
Quitting from x04_Visualization.Rmd:79-86 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
---
Backtrace:
▆
1. ├─base::withVisible(knit_print(x, ...))
2. ├─knitr::knit_print(x, ...)
3. └─knitr:::knit_print.default(x, ...)
4. └─knitr::normal_print(x)
5. ├─base::print(x)
6. └─tidyfun:::print.tf_ggplot(x)
7. └─tidyfun:::finalize_tf_ggplot(x)
8. ├─ggplot2::ggplot(data = NULL, mapping = base_mapping)
9. └─ggplot2:::ggplot.default(data = NULL, mapping = base_mapping)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'x04_Visualization.Rmd' failed with diagnostics:
`mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
--- failed re-building ‘x04_Visualization.Rmd’
--- re-building ‘x05_Advice.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x05_Advice.Rmd’
--- re-building ‘x06_Registration.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x06_Registration.Rmd’
--- re-building ‘x07_Vector-valued_Functions.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘x07_Vector-valued_Functions.Rmd’
SUMMARY: processing the following files failed:
‘x02_Conversion.Rmd’ ‘x03_Data_Wrangling.Rmd’ ‘x04_Visualization.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc