register_render: Function for rendering the register into different view

View source: R/register.R

register_renderR Documentation

Function for rendering the register into different view

Description

NOTE: You should put a GitHub API token in the environment variable 'GITHUB_PAT' to fix rate limits. Acquire one at see https://github.com/settings/tokens.

Usage

register_render(
  register = read.csv("register.csv", as.is = TRUE),
  filter_by = c("venues", "codecheckers"),
  outputs = c("html", "md", "json"),
  config = c(system.file("extdata", "config.R", package = "codecheck"))
)

Arguments

register

A ‘data.frame' with all required information for the register’s view

outputs

The output formats to create

config

A list of configuration files to be sourced at the beginning of the rending process

Details

- '.html' - '.md“

Value

A 'data.frame' of the register enriched with information from the configuration files of respective CODECHECKs from the online repositories

Author(s)

Daniel Nüst


codecheckers/codecheck documentation built on Dec. 6, 2024, 7:38 p.m.