[go: up one dir, main page]

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

theme_excel_new() error #151

Open
MatthewFaiello opened this issue Dec 21, 2023 · 1 comment
Open

theme_excel_new() error #151

MatthewFaiello opened this issue Dec 21, 2023 · 1 comment

Comments

@MatthewFaiello
Copy link
MatthewFaiello commented Dec 21, 2023

The theme_excel_new function started throwing an error for me this morning. The error I'm seeing is shown below. Thank you!

p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
facet_wrap(~am)
p + theme_excel_new()

Error in list2():
! Argument 1 can't be empty.
Run rlang::last_trace() to see where the error occurred.

rlang::last_trace()
<error/rlang_error>
Error in list2():
! Argument 1 can't be empty.

Backtrace:

  1. ├─ggthemes::theme_excel_new()
  2. │ └─ggplot2::theme(...)
  3. │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
  4. │ ├─ggplot2:::modify_list(vals, list2(..., ... = NULL))
  5. │ └─rlang::list2(..., ... = NULL)
  6. └─rlang::abort(message = message)
@Yann-C-INN
Copy link

Hey. Commenting since I offered some changes to excel_new(), however your error didnt reproduce for me.
d640da8e-cbd2-4245-90a1-c7b31796f236

It generated the expected plot (shown as img)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants