# NOT RUN {
# retrieve package directory for the 'dockr' package.
package_dir <- system.file(package = "dockr")
# this concludes the preparations.
# now for the real action.
# create all files for a Docker image for the package in the current directory.
img <- prepare_docker_image(pkg = package_dir, dir_image = tempdir(), dir_install = "temp")
# look up meta data for files for Docker image.
img
# }
Run the code above in your browser using DataLab