Last updated on 2020-08-19 01:50:15 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.3.1 | 2.08 | 24.14 | 26.22 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.3.1 | 1.60 | 19.25 | 20.85 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.3.1 | 40.89 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.3.1 | 32.21 | OK | |||
r-devel-windows-ix86+x86_64 | 0.3.1 | 8.00 | 60.00 | 68.00 | OK | |
r-patched-linux-x86_64 | 0.3.1 | 2.11 | 24.39 | 26.50 | OK | |
r-patched-solaris-x86 | 0.3.1 | 48.10 | OK | |||
r-release-linux-x86_64 | 0.3.1 | 2.15 | 24.16 | 26.31 | OK | |
r-release-macos-x86_64 | 0.3.1 | OK | ||||
r-release-windows-ix86+x86_64 | 0.3.1 | 9.00 | 39.00 | 48.00 | ERROR | |
r-oldrel-macos-x86_64 | 0.3.1 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.3.1 | 4.00 | 60.00 | 64.00 | OK |
Version: 0.3.1
Check: examples
Result: ERROR
Running examples in 'scriptexec-Ex.R' failed
The error most likely occurred in:
> ### Name: execute
> ### Title: Executes a script and returns the output. The stdout and stderr
> ### are captured and returned. In case of errors, the exit code will
> ### return in the status field.
> ### Aliases: execute
>
> ### ** Examples
>
> library('scriptexec')
> library('testthat')
>
> # execute script text
> output <- scriptexec::execute('echo command1\necho command2')
> expect_equal(output$status, 0)
> expect_equal(grepl('command1', output$output), TRUE)
Error: grepl("command1", output$output) not equal to TRUE.
1 element mismatch
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.3.1
Check: tests
Result: ERROR
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(scriptexec)
>
> test_check("scriptexec")
-- 1. Failure: public api: error exit code (@test_api_stability.R#23) ---------
`output <- scriptexec::execute("exit 1")` did not produce any warnings.
-- 2. Failure: public api: error exit code (@test_api_stability.R#24) ---------
output$status not equal to 1.
1/1 mismatches
[1] 0 - 1 == -1
-- 3. Failure: public api: args as parameter 2 as text (@test_api_stability.R#34
`found` isn't true.
-- 4. Failure: public api: args as parameter 2 as vector (@test_api_stability.R#
`found` isn't true.
-- 5. Failure: public api: args as named parameter (@test_api_stability.R#54) -
`found` isn't true.
-- 6. Failure: public api: env vars as paramter 3 as text (@test_api_stability.R
`found` not equal to TRUE.
1 element mismatch
-- 7. Failure: public api: env vars as paramter 3 as vector (@test_api_stability
`found` not equal to TRUE.
1 element mismatch
-- 8. Failure: public api: env vars as named paramter (@test_api_stability.R#84)
`found` not equal to TRUE.
1 element mismatch
-- 9. Failure: public api: all paramters (@test_api_stability.R#150) ----------
`found` not equal to TRUE.
1 element mismatch
-- 10. Failure: public api: all named paramters (@test_api_stability.R#173) ---
`found` not equal to TRUE.
1 element mismatch
-- 11. Failure: Examples: all examples (@test_examples.R#8) -------------------
grepl("command1", output$output) not equal to TRUE.
1 element mismatch
-- 12. Failure: Examples: all examples (@test_examples.R#9) -------------------
grepl("command2", output$output) not equal to TRUE.
1 element mismatch
-- 13. Failure: Examples: all examples (@test_examples.R#32) ------------------
grepl("TEST1 TEST2 TEST3", output$output) not equal to TRUE.
1 element mismatch
-- 14. Failure: Examples: all examples (@test_examples.R#35) ------------------
`output <- scriptexec::execute("exit 1")` did not produce any warnings.
-- 15. Failure: Examples: all examples (@test_examples.R#36) ------------------
output$status not equal to 1.
1/1 mismatches
[1] 0 - 1 == -1
-- 16. Failure: execute: cli arguments (@test_execute.R#34) -------------------
`found` isn't true.
-- 17. Failure: execute: env vars (@test_execute.R#44) ------------------------
`found` isn't true.
-- 18. Failure: execute: error exit code (@test_execute.R#48) -----------------
`output <- scriptexec::execute("exit 1")` did not produce any warnings.
-- 19. Failure: execute: error exit code (@test_execute.R#49) -----------------
output$status not equal to 1.
1/1 mismatches
[1] 0 - 1 == -1
-- 20. Failure: execute: error during invocation (@test_execute.R#75) ---------
output$status not equal to 1.
1/1 mismatches
[1] 0 - 1 == -1
== testthat results ===========================================================
[ OK: 102 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 20 ]
1. Failure: public api: error exit code (@test_api_stability.R#23)
2. Failure: public api: error exit code (@test_api_stability.R#24)
3. Failure: public api: args as parameter 2 as text (@test_api_stability.R#34)
4. Failure: public api: args as parameter 2 as vector (@test_api_stability.R#44)
5. Failure: public api: args as named parameter (@test_api_stability.R#54)
6. Failure: public api: env vars as paramter 3 as text (@test_api_stability.R#64)
7. Failure: public api: env vars as paramter 3 as vector (@test_api_stability.R#74)
8. Failure: public api: env vars as named paramter (@test_api_stability.R#84)
9. Failure: public api: all paramters (@test_api_stability.R#150)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.3.1
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building 'scriptexec.Rmd' using rmarkdown
Quitting from lines 24-62 (scriptexec.Rmd)
Error: processing vignette 'scriptexec.Rmd' failed with diagnostics:
grepl("command1", output$output) not equal to TRUE.
1 element mismatch
--- failed re-building 'scriptexec.Rmd'
SUMMARY: processing the following file failed:
'scriptexec.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-windows-ix86+x86_64