pbs-assess / sdmTMB

:earth_americas: An R package for spatial and spatiotemporal GLMMs with TMB
https://pbs-assess.github.io/sdmTMB/
183 stars 26 forks source link

Expand unit testing #243

Closed seananderson closed 1 year ago

seananderson commented 1 year ago

Journal pointed out covergae ~40%, which I confirmed, but covr::report() used to return around 80% as per the badge on this repo. I can see lots of tested code that cover::report() is now missing.

  1. Figure out why covr is now missing some tests. E.g., 'test-cross-validation.R' is missed. Maybe it's following skip_on_cran()?
  2. Expand unit testing

Ah, I see issues like this: https://github.com/r-lib/covr/issues/314 That likely explains it.