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

Error: Invalid HTML color strings for argument(s) bg, fg; single-element character vectors are required #93

Open
DishengHuang opened this issue Apr 25, 2024 · 4 comments

Comments

@DishengHuang
Copy link

When I run chattr::chattr_app(), it throws me below issue

Error: Invalid HTML color strings for argument(s) bg, fg; single-element character vectors are required

@edgararuiz
Copy link
Collaborator

Hi, are you using RStudio? And if so, what kind of theme do you have? Is it a custom one?

@DishengHuang
Copy link
Author

Yes, I am using RStudio (version 2023.12.1+402 (2023.12.1+402)), but I didn't add any theme. I am also using R 4.4.0. Does it matter?

@edgararuiz
Copy link
Collaborator

I think R 4.4.0 is ok. Can you run this and let me know what it returns on your machine?

rstudioapi::getThemeInfo()

@DishengHuang
Copy link
Author

$editor
[1] "Textmate (default)"

$global
[1] "Modern"

$dark
[1] FALSE

$foreground
[1] "rgb(0, 0, 0)"

$background
[1] "rgb(255, 255, 255)"

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