Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Option to disable progressive output (e.g. for CI use) #94

@ilarischeinin

Description

@ilarischeinin

I have been enjoying the new prettier output from devtools::check() on my local machine for a while (thank you!). Now that I updated the packages installed on our GitLab CI, I noticed that GitLab doesn't support progressive output (i.e. the UI outputs lines to the client browser as they appear), so the output of checking packages looks like this:

screenshot 2018-11-15 at 11 05 17

This is an acknowledged issue on GitLab's side (mentioned at least in issues #1021, #12936, #2154). I saw a suggestion to wrap the CI command inside the command line tool script, which emulates a tty. As shown below, it does add colour to the output, but doesn't help with the progressive output (i.e. using \r to go back to the beginning of the line to overwrite it), as the output line has already been sent to the browser.

screenshot 2018-11-15 at 11 14 44

I know the bottomline issue here is with GitLab and not rcmdcheck, but would it be possible to add an option to disable progressive output for scenarios like this where it is not supported? It is of course a cosmetic issue, so not a high priority I'm sure. And depending on how complicated it would to implement, might not be worth the effort. I absolutely understand that and just thought I'd ask.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions