From 76025a48fb249a93c47be2a606835c69aaf5f049 Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Fri, 18 Oct 2019 10:46:47 +0200 Subject: [PATCH] Set R_LIBS_SITE when installing PsNR in its own library. Otherwise not all dependencies will be installed. --- bin/setup.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/setup.pl b/bin/setup.pl index 7eb09da5b..4ed83de6a 100644 --- a/bin/setup.pl +++ b/bin/setup.pl @@ -943,6 +943,7 @@ sub update_conf_file } my $rsafe_path = $rlib_path; $rsafe_path =~ s/\\/\\\\/g; + $ENV{'R_LIBS_SITE'} = $rlib_path; run_r("install.packages('remotes', lib='$rsafe_path', repos='$repos')"); install_psnr($rlib_path, $repos); }