validator_addin: Validate the current project from the RStudio Addins menu

View source: R/validator_addin.R

validator_addinR Documentation

Validate the current project from the RStudio Addins menu

Description

Binding for the RStudio addin Addins > Validate psych-DS-ish project. It runs validator() on the open RStudio project (or, if no project is open, the working directory), prints the results to the console, and shows them as a colour-coded table in the Viewer pane.

Usage

validator_addin(project_root = NULL, viewer = TRUE)

Arguments

project_root

Character scalar or NULL. Path to the project root. If NULL (default), the open RStudio project is used, or the working directory if no project is open.

viewer

Logical. If TRUE (default), show the results table in the RStudio Viewer pane when running inside RStudio.

Value

(Invisibly) the psychdsish_validation results from validator().

Examples

project <- file.path(tempdir(), "my_project")
create_project_skeleton(project, quiet = TRUE)
validator_addin(project, viewer = FALSE)
unlink(project, recursive = TRUE)


psychdsish documentation built on Nov. 29, 2026, 5:07 p.m.