gargle icon indicating copy to clipboard operation
gargle copied to clipboard

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

Open pettyalex opened this issue 10 months ago • 0 comments

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 for ‘gargle’:
 .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

pettyalex avatar Apr 01 '24 17:04 pettyalex