babelwhale: talk to docker and singularity from R

R-CMD-check CRAN_Status_Badge Codecov test coverage

Specify docker or singularity

library(babelwhale)
config <- create_docker_config()
set_default_config(config)

Run a command in a container

run("alpine", "echo", c("hello"))
## $status
## [1] 0
## 
## $stdout
## [1] "hello\n"
## 
## $stderr
## [1] ""
## 
## $timeout
## [1] FALSE

Get a file from a container

read_file("alpine", "/etc/alpine-release")
## [1] "3.16.2"

Latest changes

Check out news(package = "dynutils") or NEWS.md for a full list of changes.

Recent changes in babelwhale 1.1.0

Recent changes in babelwhale 1.0.3