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

rsofun installation #202

Closed
Zinny-E opened this issue Feb 7, 2024 · 3 comments
Closed

rsofun installation #202

Zinny-E opened this issue Feb 7, 2024 · 3 comments

Comments

@Zinny-E
Copy link

Zinny-E commented Feb 7, 2024

I am trying to install the rsofun package using the methods in the documentation and getting these errors.

Warning in install.packages :
package ‘rsofun’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at [https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages]

tried the other methods, it says this
Downloading GitHub repo geco-bern/rsofun@HEAD
Error: Failed to install 'rsofun' from GitHub:
Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.

How can i resolve this.

@lauramarques
Copy link
Collaborator

install.packages("rsofun") will not work because rsofun is not in CRAN at the moment.

If you are using Windows, you might need to install Rtools before (see here)
Then, downloading rsofun via GitHub should work.

@Zinny-E
Copy link
Author

Zinny-E commented Feb 7, 2024

I am using Mac. Should i follow the same steps.

@stineb
Copy link
Collaborator

stineb commented Feb 8, 2024

I've added information for installing rsofun from source in the README. Check there first and let us know if this resolves your question or not.

@stineb stineb closed this as completed May 17, 2024
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

3 participants