confirmed that going with this is probably more ideal (and doesn't have the same problem)
req_r_pkgs <- sort(unique(pak::pkg_deps(pkg = ".")$package))
pak::sysreqs_check_installed(packages = req_r_pkgs)
Originally posted by @cjyetman in RMI-PACTA/workflow.data.preparation#221 (comment)