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)
#> Error in is_pkg_rproj(system.file("pkg", "pkg.Rproj", package = "shinypak"), verbose = TRUE): The .Rproj file '' does not exist. Please provide a valid file path.
is_pkg_rproj(system.file("pkg", "pkg.Rproj", package = "shinypak"))
#> Error in is_pkg_rproj(system.file("pkg", "pkg.Rproj", package = "shinypak")): The .Rproj file '' does not exist. Please provide a valid file path.