R/utils.R

Defines functions has_r_source_dir has_description

has_description <- function(path) {
  file.exists(file.path(path, "DESCRIPTION"))
}

has_r_source_dir <- function(path) {
  dir.exists(file.path(path, "R"))
}

Try the dupree package in your browser

Any scripts or data that you put into this service are public.

dupree documentation built on April 21, 2020, 5:06 p.m.