CRAN Package Check Results for Package scriptexec

Last updated on 2019-11-20 02:48:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 2.11 23.25 25.36 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 1.61 18.92 20.53 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 30.81 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 30.37 OK
r-devel-windows-ix86+x86_64 0.3.1 7.00 40.00 47.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.3.1 8.00 41.00 49.00 ERROR
r-patched-linux-x86_64 0.3.1 1.69 21.97 23.66 OK
r-patched-solaris-x86 0.3.1 44.50 OK
r-release-linux-x86_64 0.3.1 1.43 21.99 23.42 OK
r-release-windows-ix86+x86_64 0.3.1 4.00 55.00 59.00 ERROR
r-release-osx-x86_64 0.3.1 OK
r-oldrel-windows-ix86+x86_64 0.3.1 5.00 52.00 57.00 ERROR
r-oldrel-osx-x86_64 0.3.1 OK

Check Details

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
Flavors: r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    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
Flavors: r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-oldrel-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
Flavors: r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [8s]
    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 in re-building vignettes:
     ...
    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
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64