pkg <- c("tidyverse", "shiny", "binom", "mosaic", "HDInterval", "markovchain") pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] if (length(pkg)){ install.packages(pkg, dependencies = TRUE)}
висит здесь