I am new to bioBakery and MelonnPan, and I am trying to download the MelonnPan package and run it on the demo dataset. However, I keep running into the error " ERROR: dependency ‘AssocTests’ is not available for package ‘melonnpan’ "
I tried to install AssocTests, but it is no longer available on CRAN as of 2025-06-13, and I have run into a continuous loop of downloading outdated dependencies and packages trying to get AssocTests to install and eventually be able to use MelonnPan. I tried to download an older version of R or older versions of AssocTests, but I’ve had no luck. Is there a way around this issue?
Thank you!
Hi @juliacapperella,
The best solution at this time is to install that package from source using their archive. You should be able to achieve this with the following code:
url <- "https://cran.r-project.org/src/contrib/Archive/AssocTests/AssocTests_1.0-1.tar.gz"
pkgFile <- "AssocTests_1.0-1.tar.gz"
download.file(url = url, destfile = pkgFile)
install.packages(pkgs=pkgFile, type="source", repos=NULL)
unlink(pkgFile)
Hope that works.
Cheers,
Jacob
Hi Jacob,
Thank you for your reply! Unfortunately, I tried to use the archive package and fell down a rabbit hole of other packages not being installed to download the archive, for example:
ERROR: dependency ‘fExtremes’ is not available for package ‘AssocTests’
And when I try to download fExtremes I get another error that a different (also archived) dependency is required, and so on.
Is there anything else I can do?