jasp-desktop icon indicating copy to clipboard operation
jasp-desktop copied to clipboard

Renv Lockfiles + Flatpak Dev modules

Open RensDofferhoff opened this issue 1 year ago • 4 comments

Switches to renv lockfiles installed using jaspModuleInstaller.

Renv lockfiles in each jasp Module contain all dependencies of the module. jaspModuleInstaller will add/alter records to this lockfile to produce _processedLockFile.lock. renv restore is called on this lockfile. If MODULE_INSTALL_MODE is localizeAll every jaspModule source in the lockfile will be altered to those in the install folder. This mode is used in compilation of jasp. If it is localizeModuleOnly (as for dev module installation) only a record to source of module to be installed is added.

Flatpak installation now uses an renv cellar. Cellars are generated using the same mechanisms as normal installation. This way no special gathering script is required.

See https://static.jasp-stats.org/Nightlies/ for the latest lockfiletesting nightlies

Todo:

  • Write some documentation somewhere

Known Issues: jaspProcess is not installed correctly on Mac because blavaan compilation fails. I have no clue why but if we just use the CRAN binaries its all fine. I have a PR for this: https://github.com/jasp-stats/jaspProcess/pull/102 Maybe @vandenman has any clue why this is going on. Seems to fail on rstantools call.

RensDofferhoff avatar Jun 11 '24 07:06 RensDofferhoff