Cannot install dependency

Everything related to the development of modules in jamovi
Post Reply
DStuder
Posts: 6
Joined: Wed Jun 07, 2023 8:07 am

Cannot install dependency

Post by DStuder »

Hi there

I'm creating an analysis for the exact sign test and I want to use `rstatix` to extract the test statistic `S` and the degrees of freedom. After adding `rstatix` to the DESCRIPTION and NAMESPACE files and hitting `jmvtools::install()` I get the following error message:
Installing dependencies
rstatix
Warning: unable to access index for repository https://cran.microsoft.com/snapshot/202 ... ontrib/4.1:
can not open URL 'https://cran.microsoft.com/snapshot/202 ... 1/PACKAGES'
Error message:
package 'rstatix' is not available as a binary package 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/ ... g-packages
ERROR: dependency 'rstatix' is not available for package 'nonpara'
* removing 'C:/GitHub/jamovi-Projekte/nonpara/build/R4.1.2-win64/nonpara'

Could not build module
Other packages that I rely on are imported as expected, so I don't think I forgot a step or anything like that.
Is there a way that I can manually install `rstatix` and place it in the build folder, or do I have to find another way to get `S` and `df`?

Thanks in advance!
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Cannot install dependency

Post by jonathon »

looks like an outage at MRAN ... i assume if you wait it will come back online again. MRAN is slated for a shutdown, but i don't think its due to be shutdown yet.

you can try manually browsing to:

https://cran.microsoft.com/snapshot/202 ... 1/PACKAGES

when that comes back online, you'll be able to install rstatix

cheers
Post Reply