Skip to content

please add version number for all package dependencies #2199

@HedvigS

Description

@HedvigS

usethis does not specify a package version for some package decencies, like purrr and rappdirs. This is interpret to mean that R should fetch the most recent version. This can cause clashes when loading many other packages and versioning them specifically. For example, I want to install specifically purrr version 1.1.0 in a project. If I install and load usethis before purrr, then purrr most recent version (today 1.1.2) is installed and loaded. When I later want to install specifically purrr version 1.1.0 this becomes a bit cumbersome as R doesn't want to unload a package loaded that is a dependency of another loaded package, usethis.

There are definitely workarounds for this, but it would be much appreciated if for quality of life usethis could spell out the version number of all package dependencies.

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