Creates a comment with character content

Comment(text)

Arguments

text

The comment text

Value

the object

Examples

# A simple label that occupies one line: comment <- Comment(text = "this is important to note") the_dockerfile <- dockerfile(clean_session())
#> INFO [2019-08-20 16:43:40] Creating an R session with the following expressions: #> #> INFO [2019-08-20 16:43:41] Created Dockerfile-Object based on sessionInfo
addInstruction(the_dockerfile) <- comment print(the_dockerfile)
#> FROM rocker/r-ver:3.6.1 #> LABEL maintainer="daniel" #> WORKDIR /payload/ #> # this is important to note #> CMD ["R"]