R/make_AddOnFileDetailsDF.R

Defines functions make_AddOnFileDetailsDF

Documented in make_AddOnFileDetailsDF

#' Create a Readi Dataframe
#' @importFrom rubix map_names_set
#' @importFrom tibble tibble
#' @param disable_rstudioapi TRUE if the RStudioAPI should be disabled. Errors can be thrown in Jobs and running scripts from the command line.
#' @export

make_AddOnFileDetailsDF <-
    function(...) {
        Args <- list(...)
        Args <-
            Args %>%
            rubix::map_names_set(function(x) paste(x, collapse = ",\n"))
        return(tibble::tibble(Topic = names(Args),
                                            Details = unlist(Args)))
    }
patelm9/readi documentation built on Dec. 2, 2020, 5:08 p.m.