poissonconsulting / ypr

An R package of equilibrium-based yield per recruit methods
https://poissonconsulting.github.io/ypr/
Other
7 stars 1 forks source link

Checking ypr #72

Closed dunkenwg closed 2 weeks ago

dunkenwg commented 1 month ago

Updating the documentation gives:

ℹ Updating ypr documentation
ℹ Loading ypr
Updating vignettes
Rebuilding ypr.Rmd
Error in `purrr::map2()`:
ℹ In index: 3.
Caused by error in `map_lgl()`:
ℹ In index: 2.
Caused by error in `tools::Rd_db()`:
! installed help of package 'ypr' is corrupt
Backtrace:
 1. ypr::ypr_tabulate_parameters(ypr_population())
 2. tools::Rd_db("ypr")
      at ypr/R/tabulate-parameters.R:20:3

Two tests are also failing because the installed help of package 'ypr' is corrupt.

I've taken a look at tabulate-parameters.R, population.R, and ypr_population.Rd but haven't been able to figure anything out.

joethorley commented 1 month ago

I had a quick look and can confirm issue is that the tools::Rd_db("ypr") call inside ypr_tabulate_parameters() is choking on the documentation for the ypr package. This is a nasty issue and I'm not sure how to fix.

Can you file an issue for it?

joethorley commented 1 month ago

related to issue #74

joethorley commented 3 weeks ago

@dunkenwg - has this spontaneously fixed itself?

dunkenwg commented 2 weeks ago

@joethorley, we're still having the same issue locally although all of the actions are passing on GitHub

joethorley commented 2 weeks ago

OK I merged!