Skip to contents

Walks up the directory tree until an .Rproj file is found. Prevents execution inside an R package source directory.

Usage

project_root()

Value

Absolute path to project root