Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate upgrading ‘tidymodels’ / Upgrade R #485

Closed
bryanpaget opened this issue Jul 13, 2023 · 5 comments
Closed

Investigate upgrading ‘tidymodels’ / Upgrade R #485

bryanpaget opened this issue Jul 13, 2023 · 5 comments

Comments

@bryanpaget
Copy link
Contributor

bryanpaget commented Jul 13, 2023

I am able to install the latest version of tidymodels==1.1.0 but I am unable to import the package.

> library("tidymodels")
Error: package or namespace load failed for ‘tidymodels’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace ‘rlang’ 1.0.6 is being loaded, but >= 1.1.0 is required

In order to upgrade this package we may need to upgrade R.

@bryanpaget bryanpaget changed the title Investigate upgrading ‘tidymodels’ Investigate upgrading ‘tidymodels’ / Upgrade R Jul 13, 2023
@bryanpaget bryanpaget self-assigned this Jul 26, 2023
@bryanpaget
Copy link
Contributor Author

I've noticed we are installing R in the base image but then also using R from Anaconda.

@bryanpaget
Copy link
Contributor Author

We updated the base of the docker image to use the latest R (4.3.1 as of this writing) but our Anaconda environment is stuck on 4.1.3:

image

@bryanpaget
Copy link
Contributor Author

I will investigate updating the Anaconda base environment to 4.3.1.

@bryanpaget
Copy link
Contributor Author

We only install Anaconda on the remote desktop image which means all other images have an unmanaged Anaconda installation. I moved the Anaconda installation block from the remote desktop Dockerfile and I moved it into one of the dockerbits shared by all images. This way we can update the Anaconda environment for all images in one go resulting in greater consistency and we also get more control over versioning.

@bryanpaget
Copy link
Contributor Author

This issue has uncovered another issue: we don't have a consistent Anaconda installation across our images and all images seem to be stuck using an older version of Anaconda. Perhaps the Anaconda version is being pinned somewhere. The work of updating Anaconda in order to have the latest R packages such as tidymodels, will be tracked with the following ticket: #496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants