Records a NOTE entry — a free-text annotation that adds context, intent, or
an observation without requiring a discrete action verb or a before/after
value. Use it to document analytical decisions, assumptions, or rationale
that do not fit log_action() or log_change().
Arguments
- log
A
regulogobject returned byregulog_init()orregulog_shiny_init().- text
The note text. Cannot be blank or whitespace-only.
Details
Like all regulog entries, text is mandatory with no default and is
included in the hash chain, making it tamper-evident.
Examples
log <- regulog_init(app = "analysis", version = "1.0", user = "jsmith")
log_note(log, "Baseline window defined as Day -1 to Day 1 per protocol v3 §5.2")
#> regulog: note logged
log_note(log, "Outlier in subject 042 discussed with medical monitor — retained per SAP")
#> regulog: note logged
