check package version and load
Usage
check_package_version_and_load(pkg, minimum_version, quietly = FALSE)
Arguments
- pkg
character with the name of the package
- minimum_version
character with the minimum required version
- quietly
logical indicating if messages shall be printed
Note
this is the same code as in the inlabru package