Skip to contents

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. The default value "." points to the current directory.

theory_file

Character, referring to an existing theory file 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")
#>  Creating new theory file "theory.txt"
#>  Creating new theory file "theory.txt" ... done
#>