Skip to contents

Check whether an SBT fit can be rebuilt by the current package

Usage

sbt_fit_compatibility(x)

Arguments

x

An sbt_fit object.

Value

A list with compatible, errors, warnings, saved, and current components.

Examples

fit <- sbt_example_fit(rebuild = FALSE)
#> Warning: Dependency versions differ: RTMBdist, TMB
compatibility <- sbt_fit_compatibility(fit)
compatibility$compatible
#> [1] TRUE