R/raise_issue_config.R

Defines functions raise_issue_config

Documented in raise_issue_config

#' Raise issue with config file
#'
#' @param handle an object of class \code{fdp, R6} containing metadata required
#' by the Data Pipeline API
#' @param issue a \code{string} specifying the issue
#' @param severity a \code{numeric} value specifying the severity
#'
#' @export
#'
raise_issue_config <- function(handle,
                               issue,
                               severity) {

  handle$raise_issue(index = NA,
                     type = "config",
                     use_data_product = NA,
                     use_component = NA,
                     use_version = NA,
                     use_namespace = NA,
                     issue = issue,
                     severity = severity)

  usethis::ui_done("Recording issues in handle")
}

Try the rDataPipeline package in your browser

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

rDataPipeline documentation built on Nov. 18, 2021, 1:14 a.m.