Comment: Creates a comment with character content

Description Usage Arguments Value Examples

View source: R/Class-Comment.R

Description

Creates a comment with character content

Usage

1

Arguments

text

The comment text

Value

the object

Examples

1
2
3
4
5
# A simple label that occupies one line:
comment <- Comment(text = "this is important to note")
the_dockerfile <- dockerfile(clean_session())
addInstruction(the_dockerfile) <- comment
print(the_dockerfile)

o2r-project/containerit documentation built on June 28, 2021, 2:46 p.m.