ioos / notebooks_demos

Notebook demonstrations and examples
https://ioos.github.io/notebooks_demos/
MIT License
19 stars 19 forks source link

try to build an env with latest robis #373

Closed ocefpaf closed 3 years ago

ocefpaf commented 3 years ago

Also remove rise from the env.

ocefpaf commented 3 years ago

@MathewBiddle the env builds correctly and I get:

> conda list obis
# packages in environment at /home/filipe/miniconda3/envs/IOOS:
#
# Name                    Version                   Build  Channel
r-robis                   2.3.9             r40h6115d3f_0    conda-forge

Note that is the latest version on CRAN, which conda-forge uses to create the package. However, there are some GitHub releases upstream, not sure if that is what you need. See https://github.com/iobis/robis/releases

If so, I need to package from GitHub instead of CRAN.

MathewBiddle commented 3 years ago

@ocefpaf, that's the version I was hoping to have. Looks like I need to rebuild the environment. Apparently, when I built it, version 2.1.8 was the most recent?

(IOOS) C:\>conda list obis
# packages in environment at C:\Users\Mathew.Biddle\programs\Anaconda3\envs\IOOS:
#
# Name                    Version                   Build  Channel
r-robis                   2.1.8             r35h6115d3f_1    conda-forge

I'll remove the environment and rebuild it. That should resolve the issue.

MathewBiddle commented 3 years ago

@ocefpaf, somethings up. I just removed the IOOS env, then reinstalled from the file environment-python_and_r.yml which used to be linked at https://ioos.github.io/notebooks_demos/other_resources/. Now the link is broken.

Luckily, I had a copy of the file locally still, so I was able to build the env using that (downloaded back in Sept).

However, now in the newly created IOOS env, I have the older version of r-obis:

(IOOS) C:\Users\Mathew.Biddle\Downloads>conda list obis
# packages in environment at C:\Users\Mathew.Biddle\programs\Anaconda3\envs\IOOS:
#
# Name                    Version                   Build  Channel
r-robis                   2.1.8             r35h6115d3f_1    conda-forge
MathewBiddle commented 3 years ago

Ahh, didn't realize I needed to grab the new yml file from https://github.com/ocefpaf/notebooks_demos/blob/latest_robis/.binder/environment-python_and_r.yml (once this PR is closed, the webpage should be updated). Trying that file now.

MathewBiddle commented 3 years ago

All is good now:

(IOOS) C:\Users\Mathew.Biddle\Downloads>conda list obis
# packages in environment at C:\Users\Mathew.Biddle\programs\Anaconda3\envs\IOOS:
#
# Name                    Version                   Build  Channel
r-robis                   2.3.9             r40h6115d3f_0    conda-forge
ocefpaf commented 3 years ago

OK. Let's merge this one then to ensure we'll get the latest version. The link to the env file was fixed in #375 will be live as soon as we publish the new page.