R/05_project-condition-helpers.R

Defines functions project_uses_git project_is_package

Documented in project_is_package project_uses_git

#' Project Focused Condition Helpers
#' @export
#' @rdname project-condition-helpers
project_is_package <- function() {
  file.exists("NAMESPACE")
}


#' @export
#' @rdname project-condition-helpers
project_uses_git <- function() {
  file.exists(".gitignore")
}
moodymudskipper/poof documentation built on Dec. 10, 2024, 12:07 a.m.