find_project_root: Find R project root directory

View source: R/run_covr_modes.R

find_project_rootR Documentation

Find R project root directory

Description

Searches upward from a starting path to locate the root of an R package or project.

Usage

find_project_root(start = getwd())

Arguments

start

character, starting path (e.g., test directory or script path)

Value

character path to project root, or NULL if not found


test.assessr documentation built on March 3, 2026, 1:06 a.m.