Skip to content

Set minimum version in use_package() #386

@strboul

Description

@strboul

I mostly require to have package version next to the package name in the DESCRIPTION file. An additional argument such as add.version to the function would be quite useful. For example:

usethis::use_package(package = "dplyr", type = "Imports", add.version = TRUE)

Then, it will be adding 'dplyr' to Imports field in DESCRIPTION:

Imports: 
    dplyr (>= 0.7.5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions