cynkra / fledge

Wings for your R packages: Streamline the process of versioning R packages and updating NEWS
https://fledge.cynkra.com
187 stars 11 forks source link

fix: better error message when duplicate version name #673

Closed maelle closed 1 year ago

maelle commented 1 year ago

Fix #672

> withr::with_dir("../tic", read_fledgling())
Error in `read_news()` at fledge/R/fledgling.R:195:2:
! Can't deal with duplicate version names: tic 0.2.13.9011.
ℹ Fix the duplication then retry.
Backtrace:
 1. withr::with_dir("../tic", read_fledgling())
 3. fledge:::read_fledgling()
 4. fledge:::read_news()
      at fledge/R/fledgling.R:195:2

@pat-s

krlmlr commented 1 year ago

Thanks!