Skip to content

Commit

Permalink
remove symlinks on packrat loading
Browse files Browse the repository at this point in the history
  • Loading branch information
enantz-lilly committed Feb 5, 2019
1 parent 67a6d1d commit d590dc4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# ensure no symlinks are present in lib-R subdirectory
sfiles <- list.files(paste0("packrat/lib-R/x86_64-pc-linux-gnu/", getRversion()), full.names = TRUE)
if (length(sfiles) > 0L) {
tmp <- file.remove(sfiles)
rm(tmp)
}
rm(sfiles)

#### -- Packrat Autoloader (version 0.5.0) -- ####
source("packrat/init.R")
#### -- End Packrat Autoloader -- ####

0 comments on commit d590dc4

Please sign in to comment.