Skip to content

Commit

Permalink
Set R_LIBS_SITE when installing PsNR in its own library.
Browse files Browse the repository at this point in the history
Otherwise not all dependencies will be installed.
  • Loading branch information
rikardn committed Oct 18, 2019
1 parent 5fca5bf commit 76025a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/setup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 76025a4

Please sign in to comment.