Closed alwil closed 1 year ago
@Selkubi , once the issue is fixed, you might be interested in the paragraph about testing the functions which make use of Python dependencies
Based on the system.file()
function behaviour when using devtools
(see here), It might be sufficient to call the virtual environment that already exists in the inst/
folder.
Still have to figure out whether it will work if the user does not have anaconda/miniconda installed in their system.
The function currently includes the path to the python file that assumes the R package file structure which is not the case if the person installs the package.
the code needs to be adapted to s that python is available for the
mintEMU
users too.See Use reticulate package in a function for details.