check_worcs: Evaluate project with respect to WORCS checklist

View source: R/worcs_badge.R

check_worcsR Documentation

Evaluate project with respect to WORCS checklist

Description

Evaluates whether a project meets the criteria of the WORCS checklist (see worcs_checklist).

Usage

check_worcs(path = ".", verbose = TRUE)

Arguments

path

Character. Path to a WORCS project folder (a project with a .worcs file). Default: '.' (path to current directory).

verbose

Logical. Whether or not to show status messages while evaluating the checklist. Default: TRUE.

Value

A data.frame with a description of the criteria, and a column with evaluations ($pass). For criteria that must be evaluated manually, $pass will be FALSE.

Examples

example_dir <- file.path(tempdir(), "badge")
dir.create(example_dir)
write("a", file.path(example_dir, ".worcs"))
check_worcs(path = example_dir)

cjvanlissa/worcs documentation built on Nov. 7, 2024, 1:20 p.m.