Skip to content

labels in qpie does not work: it only accepts NULL #40

@vertesy

Description

@vertesy

Description
...

Expected Behavior
...

Buggy Behavior
...

[1] 1
Error in `dplyr::pull()`:
! Can't extract column with `!!enquo(var)`.
✖ `!!enquo(var)` must be numeric or character, not `TRUE`.
Run `rlang::last_trace()` to see where the error occurred.
> rlang::last_trace()
<error/vctrs_error_subscript_type>
Error in `dplyr::pull()`:
! Can't extract column with `!!enquo(var)`.`!!enquo(var)` must be numeric or character, not `TRUE`.
---
Backtrace:#  1. └─Seurat.utils::plotMetadataCategPie(...)
  2.   └─ggExpress::qpie(...) at Seurat.utils/R/Seurat.Utils.Metadata.R:1296:3
  3.     └─ggpubr::ggpie(...) at ggExpress/R/ggExpress.R:317:3
  4.       ├─ggplot2::scale_y_continuous(...)
  5.       │ └─ggplot2::continuous_scale(...)
  6.       │   └─ggplot2:::check_breaks_labels(breaks, labels, call = call)
  7.       ├─dplyr::pull(data, label)
  8.       └─dplyr:::pull.data.frame(data, label)
  9.         └─tidyselect::vars_pull(names(.data), !!enquo(var))
 10.           └─tidyselect:::pull_as_location2(...)
 11.             ├─tidyselect:::with_subscript_errors(...)
 12.             │ └─base::withCallingHandlers(...)
 13.             └─vctrs::vec_as_subscript2(...)
 14.               └─vctrs:::result_get(...)
Run rlang::last_trace(drop = FALSE) to see 1 hidden frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingqpie

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions