eq-r: Fix use of Executable.__call__() (#13952)

This commit is contained in:
Justin M Wozniak 2019-12-02 12:13:05 -07:00 committed by Adam J. Stewart
parent 71eaffa46b
commit 543f37ea51

View File

@ -46,7 +46,7 @@ def configure_args(self):
if not os.path.exists(r_location):
rscript = which('Rscript')
if rscript is not None:
r_location = rscript('-e', 'cat(R.home())')
r_location = rscript('-e', 'cat(R.home())', output=str)
else:
msg = 'couldn\'t locate Rscript on your PATH'
raise RuntimeError(msg)