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

Installing R package RWA #18

Open
research-max opened this issue Feb 19, 2025 · 2 comments
Open

Installing R package RWA #18

research-max opened this issue Feb 19, 2025 · 2 comments

Comments

@research-max
Copy link

Dear GitHub,
I've downloaded the latest version of R 4.4.2 to run relative weights analysis (RWA). I've then downloaded the package file (rwa_0.0.3.zip) from https://cloud.r-project.org/web/packages/rwa/index.html and also stepped through the Packages->Install package(s)->rwa-OK on RStudio but can't get the rwa function to work. I get the following:

utils:::menuInstallPkgs()
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://mirror.aarnet.edu.au/pub/CRAN/bin/windows/contrib/4.4/rwa_0.0.3.zip'
Content type 'application/zip' length 27988 bytes (27 KB)
downloaded 27 KB

package ‘rwa’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\swanson\AppData\Local\Temp\Rtmp2jw3NX\downloaded_packages

rwa()
Error in rwa() : could not find function "rwa"
library(rwa)
Error: package or namespace load failed for ‘rwa’:
.onLoad failed in loadNamespace() for 'rlang', details:
call: NULL
error: The rlang package is not properly installed.
The DLL version does not correspond to the package version.
Please update rlang to the latest version.
Updating packages on Windows requires precautions:
rstats-wtf/what-they-forgot#62

Would someone be able to help me successfully install package "rwa" so I can perform the analysis I need to?
Many thanks
Steve

@martinctc
Copy link
Owner

@research-max have you tried following the instructions to update rlang to the latest version?

@research-max
Copy link
Author

research-max commented Feb 19, 2025 via email

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