Inspects a directory and returns a named list describing the project type,
all discovered R/Rmd/qmd source files, and (if applicable) a parsed
DESCRIPTION. Directories that are typically not user-authored
(renv, packrat, .Rproj.user, node_modules, .git) are excluded
from file discovery.
Value
A named list with elements:
typeCharacter(1): one of
"package","shiny","quarto","rmarkdown","script".r_filesCharacter vector of absolute paths to
.Rfiles.test_filesCharacter vector of absolute paths to files under
tests/testthat/.rmd_filesCharacter vector of absolute paths to
.Rmdfiles.qmd_filesCharacter vector of absolute paths to
.qmdfiles.descriptionNamed list of DESCRIPTION fields (or
NULL).rootCharacter(1): the absolute path of the project root.