Running examples in ‘CallEshotgun-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: checkLibraries
> ### Title: Check for required Library and Python Packages
> ### Aliases: checkLibraries
> 
> ### ** Examples
> 
> checkLibraries()
Warning in check_forbidden_install("Python packages") :
  cannot install Python packages during R CMD check
Warning in check_forbidden_install("Python packages") :
  cannot install Python packages during R CMD check
Using virtual environment '~/.virtualenvs/r-reticulate' ...
Warning in system2(python, c("-c", shQuote(command)), stdout = TRUE, stderr = TRUE) :
  running command ''/home/hornik/.virtualenvs/r-reticulate/bin/python' -c 'import sys; import pip; sys.stdout.write(pip.__version__)' 2>&1' had status 1
Error in if (idx != -1) version <- substring(version, 1, idx - 1) : 
  the condition has length > 1
Calls: checkLibraries -> <Anonymous> -> virtualenv_install -> pip_version
Execution halted
Running examples in ‘CallEshotgun-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: checkLibraries
> ### Title: Check for required Library and Python Packages
> ### Aliases: checkLibraries
> 
> ### ** Examples
> 
> checkLibraries()
Warning in check_forbidden_install("Python packages") :
  cannot install Python packages during R CMD check
Warning in check_forbidden_install("Python packages") :
  cannot install Python packages during R CMD check
Using virtual environment '~/.virtualenvs/r-reticulate' ...
Warning in system2(python, c("-c", shQuote(command)), stdout = TRUE, stderr = TRUE) :
  running command ''/home/hornik/.virtualenvs/r-reticulate/bin/python' -c 'import sys; import pip; sys.stdout.write(pip.__version__)' 2>&1' had status 1
Error in if (idx != -1) version <- substring(version, 1, idx - 1) : 
  the condition has length > 1
Calls: checkLibraries -> <Anonymous> -> virtualenv_install -> pip_version
Execution halted
Running examples in ‘CallEshotgun-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: checkLibraries
> ### Title: Check for required Library and Python Packages
> ### Aliases: checkLibraries
> 
> ### ** Examples
> 
> checkLibraries()
Warning in check_forbidden_install("Python packages") :
  cannot install Python packages during R CMD check
Warning in check_forbidden_install("Python packages") :
  cannot install Python packages during R CMD check
Using virtual environment '~/.virtualenvs/r-reticulate' ...
Warning in system2(python, c("-c", shQuote(command)), stdout = TRUE, stderr = TRUE) :
  running command ''/home/hornik/.virtualenvs/r-reticulate/bin/python' -c 'import sys; import pip; sys.stdout.write(pip.__version__)' 2>&1' had status 1
Error in if (idx != -1) version <- substring(version, 1, idx - 1) : 
  the condition has length > 1
Calls: checkLibraries -> <Anonymous> -> virtualenv_install -> pip_version
Execution halted