Hi,
I'm trying to install the package "MLwrap" for a jamovi module but I'm getting the following error with jmvtools::install():
Warning message:
package ‘MLwrap’ is not available for this version of R
If I install the package manually from CRAN and adding the folder to the /build folder it does work. Does jamovi access the latests cran release? Thank you in advance.
cheers,
Javier
unable to install dependencies
Re: unable to install dependencies
jamovi installs dependencies using a snapshot ... for example, the 2.7 series use a 2025-05-25 snapshot, so whatever versions of packages were current on CRAN on that date, are the versions which are used. this insulates us from breaking changes in R packages.
we bring the snapshot forward when we introduce a new series, i.e. 2.8 ... (and it's then that we deal with any breaking changes).
looking at the archives of MLwrap, it looks as though it was first published 2025-07-22
https://cran.r-project.org/src/contrib/Archive/MLwrap/
so it doesn't exist in the 2025-05-25 snapshot.
a solution here is to add MLwrap to remotes in your DESCRIPTION file
i.e.
that will install it from https://github.com/AlbertSesePsy/MLwrap
(the hash is the git commit ID you want to use)
cheers
jonathon
we bring the snapshot forward when we introduce a new series, i.e. 2.8 ... (and it's then that we deal with any breaking changes).
looking at the archives of MLwrap, it looks as though it was first published 2025-07-22
https://cran.r-project.org/src/contrib/Archive/MLwrap/
so it doesn't exist in the 2025-05-25 snapshot.
a solution here is to add MLwrap to remotes in your DESCRIPTION file
i.e.
Code: Select all
Imports:
jmvcore,
...
Remotes: AlbertSesePsy/MLwrap#54e1be3427cf4256468fc3a74ab73af8f9f0bdf4
(the hash is the git commit ID you want to use)
cheers
jonathon