# \donttest{
ufs::checkPkgs('base');
### Require a specific version
ufs::checkPkgs(ufs = "0.3.1");
### This will show the error message
tryCatch(
ufs::checkPkgs(
base = "99",
stats = "42.5",
ufs = 20
),
error = print
);
# }
Run the code above in your browser using DataLab