We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the pendent of "/dev/null" on windows is "nul". https://stackoverflow.com/questions/4507312/how-to-redirect-stderr-to-null-in-cmd-exe
Currently, when the output of tests is captured in "/dev/null" the tests are omitted on windows. Consider instead sth like this:
test_that("plot.abnDag() works.", { mydag <- createAbnDag(dag = ~a+b|a, data.df = data.frame("a"=1, "b"=1)) if(.Platform$OS.type == "unix") { FILE <- "/dev/null" } else { FILE <- "nul" } capture.output({ expect_no_error({ plot(mydag) }) }, file = FILE) })
Not sure this example works well...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the pendent of "/dev/null" on windows is "nul".
https://stackoverflow.com/questions/4507312/how-to-redirect-stderr-to-null-in-cmd-exe
Currently, when the output of tests is captured in "/dev/null" the tests are omitted on windows.
Consider instead sth like this:
Not sure this example works well...
The text was updated successfully, but these errors were encountered: