Running 'run-all.R'
Running the tests in 'tests/run-all.R' failed.
Complete output:
  > library("testthat")
  > 
  > test_check("argparse")
  Loading required package: argparse
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-argparse.R:26:5): print_help works as expected ──────────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:26:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:44:5): convert_argument works as expected ────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:44:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:53:5): convert_..._to_arguments works as expected ────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:53:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:75:5): add_argument works as expected ────────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:75:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:124:5): version flags works as expected ──────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:124:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:142:5): ArgumentParser works as expected ─────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:142:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:158:5): parse_args works as expected ─────────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:158:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:201:5): Unicode support works if Python and OS sufficient ──
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:201:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:214:5): Unicode attempt throws error if Python or OS not sufficient ──
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:214:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:230:5): mutually exclusive groups works as expected ──
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:230:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:253:5): add argument group works as expected ─────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:253:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:266:5): sub parsers work as expected ─────────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:266:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  ── Error (test-argparse.R:294:5): Paths that quit() ────────────────────────────
  Error: Couldn't find a sufficient Python binary. If you haven't installed the Python dependency yet please do so. If you have but it isn't on the system path (as is default on Windows) please add it to path or set options('python_cmd'='/path/to/binary')  or set the PYTHON, PYTHON2, or PYTHON3 environmental variables.   Python must have access to the modules: argparse, json | simplejson
  Backtrace:
      █
   1. ├─testthat::skip_if_not(detects_python()) test-argparse.R:294:4
   2. │ └─base::isTRUE(condition)
   3. └─argparse:::detects_python()
   4.   └─argparse:::find_python_cmd()
   5.     └─findpython::find_python_cmd(required_modules = required_modules)
  
  [ FAIL 13 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted