lock_study: Lock a study folder

View source: R/lock.R

lock_studyR Documentation

Lock a study folder

Description

Marks a study path as locked for the duration of the current R session. On Unix-like systems, cached study directories are also made read-only at the file-system level via Sys.chmod().

Usage

lock_study(study_path, reason = "Package installed")

Arguments

study_path

Path to the study folder

reason

Optional reason for the lock (included in messages only)

Value

Logical indicating success, invisibly


clinTrialData documentation built on March 3, 2026, 5:07 p.m.