You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crayon::num_colors() sometimes returns just 1, which causes undesired results with make_style(). The error occurs for me after building a package with ctrl+shift+b, though I do not know if this is consistent way to reproduce the error.
Using crayon::num_colors(forget = TRUE) always returns the correct number of colors. Maybe this should be the default?
I am using Rstudio Version 1.1.338
The text was updated successfully, but these errors were encountered:
We cannot make forget = TRUE the default, because it is slow.
This probably happens because crayon is loaded from an R profile, and at this point, rstudioapi is not ready to let crayon know about the color support. We'll try to work around this with the RStudio IDE team.
crayon::num_colors()
sometimes returns just1
, which causes undesired results withmake_style()
. The error occurs for me after building a package with ctrl+shift+b, though I do not know if this is consistent way to reproduce the error.Using
crayon::num_colors(forget = TRUE)
always returns the correct number of colors. Maybe this should be the default?I am using Rstudio Version 1.1.338
The text was updated successfully, but these errors were encountered: