Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vertesy opened this issue Sep 13, 2024 · 0 comments
Open

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

vertesy opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working qpie

Comments

@vertesy
Copy link
Owner

vertesy commented Sep 13, 2024

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.
@vertesy vertesy added bug Something isn't working qpie labels Sep 13, 2024
@vertesy vertesy changed the title lables in qpie does not work: it only accepts NULL labels in qpie does not work: it only accepts NULL Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working qpie
Projects
None yet
Development

No branches or pull requests

1 participant