diff --git a/Modules/install-jaspModuleInstaller.R.in b/Modules/install-jaspModuleInstaller.R.in index 13f7cb5a04..a446cd4d68 100644 --- a/Modules/install-jaspModuleInstaller.R.in +++ b/Modules/install-jaspModuleInstaller.R.in @@ -94,7 +94,9 @@ renv::restore(lockfile = lf, library = .libPaths(), rebuild = pkgName) cat("jaspModuleInstaller::writeModuleStatusObject\n") -jaspModuleInstaller::writeModuleStatusObject("@PROJECT_SOURCE_DIR@", oldModuleStatusObject, "@MODULES_BINARY_PATH@") +modulesToInstallRaw <- "@JASP_COMMON_MODULES@;@JASP_EXTRA_MODULES@" +modulesToInstall <- strsplit(modulesToInstallRaw, ";", fixed = TRUE)[[1]] # should perhaps use CMAKE_PREFIX_PATH +jaspModuleInstaller::writeModuleStatusObject("@PROJECT_SOURCE_DIR@", oldModuleStatusObject, "@MODULES_BINARY_PATH@", modulesToInstall) #This is necessary because of conflicts with Matrix dep of base R lib. #Can be removed when a new version of R updates its Matrix