- Removing previously deprecated functions (deprecated as of 0.4.0)
- Adding conditional evaluation for tests and the vignette (and the readme)
for
glmmTMB
, in case it's not present / installable on a given system (as it's only a suggested package) - Removing
call. = FALSE
for errors and warnings - adding
future.seed = TRUE
tofuture.apply::future_lapply
call for better RNG - Minor vignette and README copy edits
- Changing a
donttest
to adontrun
within an example.
- if
parallelism = "parallel"
butnum_cores
is left as NULL, we default to usingparallel::detectCores() - 1L
cores. This was in fact the documented behaviour previously, just sadly not the actual behaviour bootstrap_model
(and internal functionbootstrap_runner
) accepts an argumentfuture_packages
that will be passed along tofuture.apply::future.lapply
; this is needed for futures that don't share memory, because the required global isn't visible (when using S3 generics...). This is also passed along to README/vignettes/tests etc.- Some documentation edits, shouldn't affect functionality
- sampling message shown by default in interactive settings
- fixing all incorrect uses of
class
(new matrix class is the biggest change) - mostly was in tests!
API changes:
BootGlmm
is nowbootstrap_model
as the primary exported functionBootCI
is nowbootstrap_ci
- Both of these functions should now work smoothly if your model returns a list of matrix coefficients; it will perform the bootstrap sampling on all of them
- You basically have to supply
base_data
tobootstrap_model
; to reflect this, it's now the second argument, prior toresamples
- parallel functionality is improve, now supporting the
future.apply::future_lapply
backend (and some slightly more robust versions of e.g.parallel::mclapply
if desired) - Added code coverage
- For general narrowness bias, now resampling k-1 levels of random effects / n-1 rows of regular data (depending on existence of random effects). This can be turned off with narrowness_avoid = FALSE in BootGlmm.
- Added a warning if data not supplied explicitly
- Changed two-sided p-value calculation to more tightly respect the fact that the bootstrap t-values intentionally are not forced to be symmetric.
- Added a
NEWS.md
file to track changes to the package. - Initial release of glmmboot