Skip to content

Commit

Permalink
Enable force delete
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Feb 7, 2024
1 parent 1c2de8d commit 6e51af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ setup_universes <- function(){
oldies <- subset(installs, days > 10)
empties <- setdiff(oldies$name, c(skiplist, stats$universe))
cat("Found empty universes: ", paste(empties, collapse = ", "), "\n")
if(length(empties) > 10){
if(length(empties) > 10 && Sys.getenv('FORCE_DELETE') == ""){
stop("Found more than 10 empty installations. Maybe this is not right.")
}
for(username in empties){
Expand Down

0 comments on commit 6e51af3

Please sign in to comment.