listCaseStudies: List available case studies

View source: R/listCaseStudies.R

listCaseStudiesR Documentation

List available case studies

Description

Lists all case study R Markdown files shipped with the package and prints them as a formatted text table.

Usage

listCaseStudies()

listCS()

lcs()

Details

Case studies are expected to live in inst/case_studies and to be named using the pattern CS<chapter>_<number>.Rmd (e.g. CS9_2.Rmd).

The table has two columns: File (the case study identifier) and Title (extracted from the YAML header). Case studies are listed in numerical order, not alphabetical order.

The function invisibly returns a character vector of case study identifiers.

Value

Invisibly returns a character vector of case study identifiers.

Examples

## Not run: 
listCaseStudies()
ids = listCaseStudies()

## End(Not run)


s20x documentation built on Jan. 14, 2026, 9:07 a.m.