add_theory_file: Add Theory File

View source: R/add_fair_theory.R

add_theory_fileR Documentation

Add Theory File

Description

Writes a theory file to a specific path.

Usage

add_theory_file(path, theory_file = "theory.txt")

Arguments

path

Character, indicating the directory in which to create the FAIR theory.

theory_file

Character, referring to existing theory file(s) to be copied, or a new theory file to be created. Default NULL does nothing.

Value

Invisibly returns a logical value, indicating whether the function was successful or not.

Examples

add_theory_file(path = tempdir(), theory_file = "theory.txt")

theorytools documentation built on Aug. 8, 2025, 6:43 p.m.