check_psychds_deps: Check psychds Dependencies

View source: R/run_app.R

check_psychds_depsR Documentation

Check psychds Dependencies

Description

Verifies that all required and optional package dependencies are installed and meet minimum version requirements.

Usage

check_psychds_deps(
  install_missing = interactive(),
  detailed = FALSE,
  check_pdf = TRUE
)

Arguments

install_missing

Logical. If TRUE (and session is interactive), prompts the user to install any missing packages. Defaults to interactive().

detailed

Logical. If TRUE, displays additional information about the R environment. Default is FALSE.

check_pdf

Logical. Ignored. Retained for backwards compatibility. Default is TRUE.

Details

This function checks for:

  • Required packages: shiny, shinydashboard, shinyjs, DT, jsonlite

  • Optional packages: sortable, zip, pointblank

  • Minimum version requirements for each package

If dependencies are missing, the function provides installation instructions.

Value

Invisibly returns a list with missing_required and missing_recommended character vectors.

Examples

# Quick check
check_psychds_deps()

# Detailed check with environment info
check_psychds_deps(detailed = TRUE)


psychds documentation built on Oct. 16, 2026, 1:06 a.m.