Closed D3SL closed 4 weeks ago
Thank you!! Would you like to make a PR with what comes after "If you want to stick with base R this is what I would suggest:"?
Done in #775 , I think. I've never actually made a pull request to a third party repo before so I'm not 100% sure I did that right.
I just found this package and was very excited, unfortunately I haven't been able to get it to work yet. I've troubleshot a few of the stumbling blocks to getting
fledge::bump_version()
to work but this one seems to be impassable.In bump-version.R
get_main_branch_config()
(line 98) relies on the testlength(local)
(line 103). Dataframes, tibbles, and data.tables all return their number of columns forlength()
, even if they are empty. This causesget_main_branch_config()
to spuriously returninit[init$level == "local", ]$value
(line 104) instead ofinit[init$level == "global"]$value
(line 108)Below is a redacted sample of my exact data to demonstrate
If you want to stick with base R this is what I would suggest:
You could also just get rid of this function entirely.