Sydney-Informatics-Hub / AgReFed-Workshop

Workshop documentation, workflows and use-case examples for AgReFed DataHarvester and GEE in Python and R.
https://sydney-informatics-hub.github.io/AgReFed-Workshop/
MIT License
2 stars 3 forks source link

Environment `envname` must be specified #1

Closed natbutter closed 2 years ago

natbutter commented 2 years ago

I get this error when trying to run initialise_harvester() on Windows, R 4.2.1, Rstudio 2022.07.2

...
** testing if installed package keeps a record of temporary installation path
* DONE (dataharvester)
> library(dataharvester)
> initialise_harvester()
• Checking Python/Conda install...
✔ Conda binary: C:/Users/nbutter/miniconda3/condabin/conda.bat
Error in initialise_harvester() : 
  ✘ Environment `envname` must be specified. We recommend "r=reticulate" or a unique name e.g. "dataharvester"
> 
natbutter commented 2 years ago

Run the command with argument to set an envname:

initialise_harvester("r-reticulate")