# NOT RUN {
# copy example file
dir_example = paste0(tempdir(), '/liftr-minimal/')
dir.create(dir_example)
file.copy(system.file("examples/liftr-minimal.Rmd", package = "liftr"), dir_example)
# containerization
input = paste0(dir_example, "liftr-minimal.Rmd")
lift(input)
# }
# NOT RUN {
# render the document with Docker
render_docker(input)
# view rendered document
browseURL(paste0(dir_example, "liftr-minimal.html"))
# purge the generated Docker image
purge_image(paste0(dir_example, "liftr-minimal.docker.yml"))
# }
Run the code above in your browser using DataLab