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

Add argument to suppress "screenshot completed" messages #24

Closed
gadenbuie opened this issue Jul 19, 2021 · 2 comments · Fixed by #45
Closed

Add argument to suppress "screenshot completed" messages #24

gadenbuie opened this issue Jul 19, 2021 · 2 comments · Fixed by #45

Comments

@gadenbuie
Copy link
Member

Because the "screenshot completed" message is called inside a promise chain, suppressMessages() can't suppress messages generated in webshot(), rmdshot(), etc.

library(webshot2)

suppressMessages({
    webshot2::webshot("https://tidyverse.org")
})
# https://tidyverse.org screenshot completed

@wch
Copy link
Collaborator

wch commented Jul 19, 2021

I believe that this issues is the root cause: r-lib/later#108

@mattwarkentin
Copy link

Came here to file the same issue. @gadenbuie did you ever find a solution?

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

Successfully merging a pull request may close this issue.

3 participants