Checks a DESCRIPTION file for the fields an R package requires: Package,
Version, License, Description, Title, Author, and Maintainer.
These are described in the
Writing R Extensions
manual.
Examples
is_pkg_description(
system.file("pkg", "DESCRIPTION",
package = "shinypak"))
#> [1] TRUE
is_pkg_description(
system.file("pkg", "DESCRIPTION",
package = "shinypak"), verbose = TRUE)
#> ✔ Package found!
#> ✔ Version found!
#> ✔ License found!
#> ✔ Description found!
#> ✔ Title found!
#> ✔ Author found!
#> ✔ Maintainer found!
#> [1] TRUE