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

progress bar output being included in RMarkdown output #616

Closed
francisbarton opened this issue Jun 26, 2023 · 2 comments
Closed

progress bar output being included in RMarkdown output #616

francisbarton opened this issue Jun 26, 2023 · 2 comments

Comments

@francisbarton
Copy link

I get progress bar output included when knitting Rmd:

image

This occurs if I have .progress = rlang::is_interactive() set within the calling map function. I thought knitting Rmd would count as non-interactive.

I think this is the same issue as Hadley is referring to in #583 but I'm not sure.

@gaborcsardi
Copy link
Member

This occurs if I have .progress = rlang::is_interactive() set within the calling map function. I thought knitting Rmd would count as non-interactive.

Which means that this can only be addressed in rlang::is_interactive(), no? cli only receives .progress = TRUE, so that's what it does.

@francisbarton
Copy link
Author

Fair point Gabor. message = FALSE suppresses the progress bar output within knitr, which solves my problem. Sorry - not a cli issue.

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