Skip to content
New issue

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

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

Already on GitHub? # to your account

Add option to enable colored output #119

Closed
jimhester opened this issue Jan 24, 2020 · 3 comments
Closed

Add option to enable colored output #119

jimhester opened this issue Jan 24, 2020 · 3 comments
Labels
feature a feature request or enhancement

Comments

@jimhester
Copy link
Member

Right now if the autodetection fails you can set crayon options to turn on color for the rcmdcheck output, e.g. options(crayon.enabled = TRUE).

For the GitHub Actions use case it would be useful to have a rcmdcheck specific option or environment variable to control this, then the setup-r action can enable this without affecting color elsewhere in the workflow, e.g. hadley/mastering-shiny#132

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label Apr 27, 2021
@jimhester jimhester reopened this Sep 7, 2021
@jimhester
Copy link
Member Author

This would still be somewhat useful to have a rcmdcheck specific option to control the color, but for now we are setting the crayon option before running rcmdcheck(), which works ok.

@gaborcsardi
Copy link
Member

Closed by #126, right @jimhester?

@jimhester
Copy link
Member Author

yeah

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants