comment_lines: Comment and uncomment lines of control file
Description
![[Stable]](figures/lifecycle-stable.svg?package=NMproject&version=0.6.9)
Comment out lines of code with that are matched by a patter string.
Usage
comment_out(m, pattern = ".*")uncomment(m, pattern = ".*")
Value
An nm object with modified ctl_contents
field.
Arguments
- m
An nm object.
- pattern
Character regex. Passed to gsub()
.