
ALT A hexagonal logo for "dockitect" with a blue border. Inside the hexagon is a grid background with five blue squares arranged in a pattern (three in the top row, two below). Various drafting tools are scattered throughout including a compass, triangle ruler, straight ruler, pencil, and eraser. The word "dockitect" appears at the bottom of the hexagon in blue font.

ALT Screenshot of RStudio IDE showing code for generating a Dockerfile for data analysis using the dockitect package. The code demonstrates: Generate the Dockerfile using library(dockitect) dk_from_script("analysis.R") |> write_dockerfile() Build the Docker image with: docker build -t my-analysis . Run with volume mounting: docker run -v $(pwd)/data:/app/data -v $(pwd)/results:/app/results my-analysis The cell output shows successful execution with the message "Dockerfile written to Dockerfile". The terminal shows Docker build details and the results from automatically running the script including the mapped data output in the file panel.

ALT Screenshot of RStudio showing code for creating an interactive R environment with Docker. The code includes: Generate a Dockerfile with specific packages including "visualize" library(dockitect) dk_template_base( r_version = "4.4.3", additional_pkgs = c("visualize") ) |> write_dockerfile() Build the image with: docker build -t r-interactive . Run interactively with: docker run -it -v $(pwd):/app r-interactive R The terminal shows R 4.4.3 running with its standard startup message, license information, and help commands.

ALT Screenshot showing a complete workflow for containerizing a Shiny app. Left panel shows R code that: Creates a Dockerfile using dockitect's template for Shiny Sets R version 4.4.0, port 3838, and app directory library(dockitect) dk_template_shiny( r_version = "4.4.0", port = 3838, app_dir = "shiny_app/" ) |> write_dockerfile() Builds with: docker build --platform linux/amd64 -t my-shiny-app . Runs with: docker run -p 3838:3838 my-shiny-app Right panel shows the running Shiny app with "Hello Docker!" and a histogram of waiting times. Terminal displays Shiny server logs.

























