Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(scriptexec)
  > 
  > test_check("scriptexec")
  == Skipped tests ===============================================================
  * On CRAN (1)
  
  == Failed tests ================================================================
  -- Failure (test_api_stability.R:23:13): public api: error exit code -----------
  `output <- scriptexec::execute("exit 1")` did not produce any warnings.
  -- Failure (test_api_stability.R:24:13): public api: error exit code -----------
  output$status not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  -- Failure (test_api_stability.R:34:13): public api: args as parameter 2 as text --
  `found` is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  -- Failure (test_api_stability.R:44:13): public api: args as parameter 2 as vector --
  `found` is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  -- Failure (test_api_stability.R:54:13): public api: args as named parameter ---
  `found` is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  -- Failure (test_api_stability.R:64:13): public api: env vars as paramter 3 as text --
  `found` not equal to TRUE.
  1 element mismatch
  -- Failure (test_api_stability.R:74:13): public api: env vars as paramter 3 as vector --
  `found` not equal to TRUE.
  1 element mismatch
  -- Failure (test_api_stability.R:84:13): public api: env vars as named paramter --
  `found` not equal to TRUE.
  1 element mismatch
  -- Failure (test_api_stability.R:150:13): public api: all paramters ------------
  `found` not equal to TRUE.
  1 element mismatch
  -- Failure (test_api_stability.R:173:13): public api: all named paramters ------
  `found` not equal to TRUE.
  1 element mismatch
  -- Failure (test_examples.R:8:9): Examples: all examples -----------------------
  grepl("command1", output$output) not equal to TRUE.
  1 element mismatch
  -- Failure (test_examples.R:9:9): Examples: all examples -----------------------
  grepl("command2", output$output) not equal to TRUE.
  1 element mismatch
  -- Failure (test_examples.R:32:9): Examples: all examples ----------------------
  grepl("TEST1 TEST2 TEST3", output$output) not equal to TRUE.
  1 element mismatch
  -- Failure (test_examples.R:35:9): Examples: all examples ----------------------
  `output <- scriptexec::execute("exit 1")` did not produce any warnings.
  -- Failure (test_examples.R:36:9): Examples: all examples ----------------------
  output$status not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  -- Failure (test_execute.R:34:9): execute: cli arguments -----------------------
  `found` is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  -- Failure (test_execute.R:44:9): execute: env vars ----------------------------
  `found` is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  -- Failure (test_execute.R:48:9): execute: error exit code ---------------------
  `output <- scriptexec::execute("exit 1")` did not produce any warnings.
  -- Failure (test_execute.R:49:9): execute: error exit code ---------------------
  output$status not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  -- Failure (test_execute.R:75:9): execute: error during invocation -------------
  output$status not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  
  [ FAIL 20 | WARN 0 | SKIP 1 | PASS 102 ]
  Error: Test failures
  Execution halted