Skip to contents

Checks whether the SAS Language Compiler Quarto extension is available in the current directory or a specified directory.

Usage

has_slc_extension(dir = ".")

Arguments

dir

Character. Directory to check for the extension. Defaults to current working directory.

Value

Logical. TRUE if extension is found, FALSE otherwise.

Examples

# Check if extension is available in current directory
has_slc_extension()
#> [1] FALSE

# Check in specific directory
has_slc_extension("path/to/project")
#> [1] FALSE