Skip to content

gargle depends on lifecycle v0.2.0 or higher but does not specify minimum version #283

Open
@pettyalex

Description

@pettyalex

Hello,

Gargle seems to need a function that was added to lifecycle in v0.2.0: https://github.com/r-lib/lifecycle/releases/tag/v0.2.0 , but gargle does not specify a minimum lifecycle version.

My group only happened to encounter this because lifecycle v0.1.0 is what's in the Ubuntu 20.04 repositories bundled with r-cran-tidyverse: https://packages.ubuntu.com/focal/amd64/r-cran-lifecycle

This could be easily fixed by adding >= 2.0.0 to lifecycle in DESCRIPTION.

library(devtools)
install_version('lifecycle', version='0.1.0')
install.packages('gargle')
Error: package or namespace load failed forgargle:
 .onLoad failed in loadNamespace() for 'gargle', details:
  call: NULL
  error: 'is_present' is not an exported object from 'namespace:lifecycle'
Error: loading failed
Execution halted

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