Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.351 kB
load_depends <- function(pkg = ".") {
pkg <- as.package(pkg)
# Get data frame of dependency names and versions
deps <- parse_deps(pkg$depends)
if (is.null(deps) || nrow(deps) == 0) return(invisible())
mapply(check_dep_version, deps$name, deps$version, deps$compare)
lapply(deps$name, require, character.only = TRUE)
invisible(deps)
}
Jump to Line
Something went wrong with that request. Please try again.