R/utils.R
use_pkg.Rd
Based on https://stackoverflow.com/a/44660688
use_pkg(..., strict = FALSE)
string; package(s) to check if installed
logical; strict requirements on package install?
None
use_pkg("ggplot2", "dplyr")