Checks an .Rproj file for the fields RStudio writes when a project is
configured with build tools: BuildType, PackageUseDevtools, and
PackageInstallArgs.
Examples
is_pkg_rproj(system.file("pkg", "pkg.Rproj", package = "shinypak"),
verbose = TRUE)
#> ✔ BuildType found!
#> ✔ PackageUseDevtools found!
#> ✔ PackageInstallArgs found!
#> [1] TRUE
is_pkg_rproj(system.file("pkg", "pkg.Rproj", package = "shinypak"))
#> [1] TRUE