-
Notifications
You must be signed in to change notification settings - Fork 54
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
shinytest doesn't capture any outputs from learnr doc #259
Comments
Thanks, Barret. When I got that error, I had an I am actually encountering a different set of problems now. When I use app <- ShinyDriver$new("../index.Rmd", seed = 0)
app$snapshotInit("open")
app$snapshot() and {
"input": {
},
"output": {
},
"export": {
}
} I have been meaning to post a reprex, but I have been short on time lately. |
I have uploaded an example of the problem I mentioned before (now described here). |
@wlandau do you still see this problem? |
Just revisited https://github.com/wlandau/shinytest-learnr-reprex with rstudio/learnr@51b4fcb and fa31169 on my work's RStudio Server (R 3.6.3, RHEL 7.8). Without an |
@schloerke how about this one? |
@wlandau it doesn't make sense to test learnr docs with an library(shinytest)
app <- ShinyDriver$new("path/to/doc.Rmd")
app$snapshotInit("mytest")
app$snapshot() |
Sure, Hadley. The following seems to produce believable output on my work's RHEL machine.
I still get an error on my work Macbook (at > webdriver::run_phantomjs()
Error in process_get_error_connection(self, private) :
stderr is not a pipe.
Type .Last.error.trace to see where the error occured
> .Last.error.trace
Stack trace:
1. webdriver::run_phantomjs()
2. base:::stop("Cannot start phantom.js, or cannot connect to it", ...
3. base:::strwrap(ph$read_error_lines())
4. ph$read_error_lines()
5. processx:::process_read_error_lines(self, private, n)
6. processx:::process_get_error_connection(self, private)
7. throw(new_error("stderr is not a pipe."))
x stderr is not a pipe. |
Great, thanks for following up on this! |
@wlandau from rstudio/learnr#237
The text was updated successfully, but these errors were encountered: