R/add_ld_fnd.R

Defines functions add_ld_fnd

Documented in add_ld_fnd

#' Add Locke Data as funder to DESCRIPTION
#'
#' @param path path to package
#'
#' @export
add_ld_fnd <- function(path = getwd()){
  descr <- desc::desc(file.path(path, "DESCRIPTION"))
  descr$add_author(given = "Locke Data",
                   role = "fnd",
                   comment = "https://itsalocke.com")
  descr$write("DESCRIPTION")
}
lockedata/lockedev documentation built on Oct. 25, 2019, 3:55 a.m.