This function performs additional checks prior to release. It is called automatically by release().
release_checks(pkg = ".", built_path = NULL)
The package to use, can be a file path to the package or a package object. See as.package() for more information.