Skip to content

install_github does not respect maximum version numbers #491

@mem48

Description

@mem48

In a package DESCRIPTION file it is possible to specifiy the maximum or minimum version number.

Imports:
    xml2 (<= 1.2.5)

But install_github ignores this and installs the latest cran version of any imported packages.

Reprex

remove.packages("xml2")
remotes::install_github("ITSleeds/UK2GTFS", upgrade = "never")
packageVersion("xml2")
# 1.3.1 installed but 1.2.5 expected 

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