### Use the code below to check if you have all required packages installed. If some are not installed already, the code below will install these. If you have all packages installed, then you could load them with the second code.
requiredPackages = c('tidyverse', 'broom', 'knitr', 'party', 'ranger','doFuture', 'tidymodels', 'pROC', 'varImp', 'lattice', 'vip', 'PresenceAbsence', 'cowplot')
for(p in requiredPackages){
if(!require(p,character.only = TRUE)) install.packages(p, dependencies = TRUE)
library(p,character.only = TRUE)
}
options(ggrepel.max.overlaps = Inf)