Remove Specific Docker ContainersSource:
This function stops and removes the Docker containers used for rendering the R Markdown document based on the output YAML file from the (possibly unsuccessful) rendering process.
The YAML file path (output of
prune_info = TRUEwhich stores the information of the Docker container to be stopped and removed. If not specified, will prune all dangling containers.