Skip to content

Download only necessary packages #112

@vnijs

Description

@vnijs

When I run the lines below all dependencies of the packages in the pkg_src character vector are downloaded from CRAN, even the ones that are already up to date in the local miniCRAN directory. This can take a pretty long time if there are many deps. Is there already a function in the miniCRAN package to check this? I looked around but could not see one. Did I miss something?

pkgList <- pkgDep(pkgs_src, repos = "a-cran-repo", type = "source", suggests = FALSE)
dl <- makeRepo(pkgList, path = pth, type = "source")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions