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

verison of R? #5

Closed
mooreann opened this issue Oct 25, 2023 · 3 comments
Closed

verison of R? #5

mooreann opened this issue Oct 25, 2023 · 3 comments

Comments

@mooreann
Copy link

Hi! What version of R did you guys use to write the snakemake scripts? I keep getting weird dependency issues for packages that don't seem to install on some versions of R (ie rgeos, rgdal) when I run the snakemake script. Thanks!

@shafiqnoa
Copy link

hi @mooreann did you solve it. I am having similar issue. it would be great if you can share your solution.

@mooreann
Copy link
Author

Yes! I was able to

  1. install terra via mamba install -c conda-forge r-terra, which allowed me to then
  2. install.packages("raster") in R

  3. rgeos has been archived, but was able to install it manually in R via

packageurl <- "https://cran.r-project.org/src/contrib/Archive/rgeos/rgeos_0.6-4.tar.gz"
install.packages(packageurl, repos=NULL, type="source")

@shafiqnoa
Copy link

Thank you very much for your reply. I am still encountering an error with rgeos. May I ask which version of R you used for this?

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

No branches or pull requests

2 participants