Skip to contents

Writes type = <value> under the [nonmem.comments] section of pharos.toml.

Usage

use_comments(type = c("type1", "type2"), path = NULL)

use_type1_comments(path = NULL)

Arguments

type

Comment parsing type. One of "type1" (strict structured) or "type2" (flexible structured grammar).

path

Path to pharos.toml. If NULL, finds it automatically.

Value

The path to the modified pharos.toml file (invisibly).

Examples

if (FALSE) { # \dontrun{
use_comments("type2")
} # }