Running 'testthat.R' [53s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(stevedore)
  > 
  > test_check("stevedore")
  -- 1. Failure: python_locate_version (@test-httppipe-unix.R#97)  ---------------
  `python_locate_version("nosuchmodule")` threw an error with unexpected message.
  Expected match: "Did not find required python module 'nosuchmodule'"
  Actual message: "lexical error: invalid char in json text.\n                                       NA\n                     (right here) ------^\n"
  Backtrace:
    1. testthat::expect_error(...)
    6. stevedore:::python_locate_version("nosuchmodule")
    7. reticulate::py_discover_config(module)
    8. reticulate:::python_conda_versions()
   11. reticulate::conda_list(conda = conda)
   12. jsonlite::fromJSON(conda_envs)
   13. jsonlite:::parse_and_simplify(...)
   14. jsonlite:::parseJSON(txt, bigint_as_char)
   15. jsonlite:::parse_string(txt, bigint_as_char)
  
  -- 2. Failure: python_locate_version (@test-httppipe-unix.R#100)  --------------
  `python_locate_version("nosuchmodule")` threw an error with unexpected message.
  Expected match: "Did not find required python module 'nosuchmodule'"
  Actual message: "lexical error: invalid char in json text.\n                                       NA\n                     (right here) ------^\n"
  Backtrace:
    1. testthat::expect_error(...)
    6. stevedore:::python_locate_version("nosuchmodule")
    7. reticulate::py_discover_config(module)
    8. reticulate:::python_conda_versions()
   11. reticulate::conda_list(conda = conda)
   12. jsonlite::fromJSON(conda_envs)
   13. jsonlite:::parse_and_simplify(...)
   14. jsonlite:::parseJSON(txt, bigint_as_char)
   15. jsonlite:::parse_string(txt, bigint_as_char)
  
  == testthat results  ===========================================================
  [ OK: 3275 | SKIPPED: 159 | WARNINGS: 3 | FAILED: 2 ]
  1. Failure: python_locate_version (@test-httppipe-unix.R#97) 
  2. Failure: python_locate_version (@test-httppipe-unix.R#100) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  In extract_lang(f = comp_lang, y = quote(if (.isMethodsDispatchOn() &&  :
    devtools is incompatible with the current version of R. `load_all()` may function incorrectly.
  Execution halted