Skip to content

Specify extra repos in pkg_install() #306

Description

@bwiernik

With base install.packages(), it's possible to specify additional repos to search in addition to the ones listed in options("repos") with the repos argument:

install.packages('correlation', repos = 'https://easystats.r-universe.dev')

This is convenient, and I've found also easier to explain to my students and users of my packages. It would be nice to be able to do similarly with pkg_install() to add an extra repo to the list at function runtime:

pak::pkg_install('correlation', repos = 'https://easystats.r-universe.dev')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions