[rkward] rkward/rbackend: Need to specify package type, explicitly, for Win and Mac

Thomas Friedrichsmeier null at kde.org
Tue Dec 31 08:27:29 GMT 2019


Git commit 109ef38edf730de22ef7a124b66dfcdbfa7522e6 by Thomas Friedrichsmeier.
Committed on 31/12/2019 at 08:27.
Pushed by tfry into branch 'master'.

Need to specify package type, explicitly, for Win and Mac

M  +1    -1    rkward/rbackend/rkrbackend.cpp

https://commits.kde.org/rkward/109ef38edf730de22ef7a124b66dfcdbfa7522e6

diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index a96439e7..b1c8b5d1 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -1657,7 +1657,7 @@ void RKRBackend::initialize (const char *locale_dir) {
 	                  "  suppressWarnings (try ({library (\"rkward\", lib.loc=libloc); " + versioncheck + "; ok <- TRUE}))\n"
 					  "  if (!ok) {\n"
 					  "    suppressWarnings (try (detach(\"package:rkward\")))\n"
-					  "    install.packages(normalizePath(paste(libloc, \"..\", c (\"rkward.tgz\", \"rkwardtests.tgz\"), sep=\"/\")), lib=libloc, repos=NULL)\n"
+					  "    install.packages(normalizePath(paste(libloc, \"..\", c (\"rkward.tgz\", \"rkwardtests.tgz\"), sep=\"/\")), lib=libloc, repos=NULL, type=\"source\")\n"
 					  "    library (\"rkward\",  lib.loc=libloc)\n"
 					  "  }\n"
 					  "})\n";



More information about the rkward-tracker mailing list