Skip to content

Commit

Permalink
removed unneeded dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Elior Rahmani authored and Elior Rahmani committed Feb 14, 2021
1 parent 6a9c1ad commit e8d8ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ init_cluster <- function(num_cores = NULL){
flog.debug("Initiate cluster...")
cl <- makeCluster(get_num_cores(num_cores))
flog.debug("Parallel is on with %s nodes.",get_num_cores(num_cores))
invisible(clusterEvalQ(cl, c(library("pracma"), library("matrixcalc"), library("nloptr"), library("glmnet") )))
invisible(clusterEvalQ(cl, c(library("pracma"), library("matrixcalc"), library("nloptr") )))
flog.debug("Packages were loaded into the cluster nodes.")
return(cl)
}
Expand Down

0 comments on commit e8d8ffe

Please sign in to comment.