Learn R Programming

dockr (version 0.8.6)

Creation of Lightweight Docker Images for Your Packages

Description

Build a lightweight Docker r-base container image for your R package, in which the package itself is available. The Docker image seeks to mirror your R session as close as possible with respect to R specific dependencies. Both dependencies on CRAN R packages as well as local non-CRAN R packages will be included in the Docker container image.

Copy Link

Version

Install

install.packages('dockr')

Monthly Downloads

5

Version

0.8.6

License

MIT + file LICENSE

Maintainer

Lars Kjeldgaard

Last Published

December 20th, 2019

Functions in dockr (0.8.6)

setup_dir_image

Setup Directory for Docker Image
print_file

Print Contents of Text File
print_end_service_information

Print Service Information
mirror_package_versions

Mirror Version Numbers of Loaded and Installed Packages
prepare_docker_image

Prepare Docker Image
write_lines_to_file

Write Lines to File
set_rocker_image

Set Rocker Image
set_lib_paths

Set Library Paths Temporarily
match_pkg_archive

Match Archived Versions of CRAN Packages
match_pkg_local

Match Package with Local Source Packages
match_pkg_cran

Match Packages with CRAN
create_from_statement

Create From Statement for Dockerfile
create_statement_main_package

Create Install Statement for Main Package
combine_deps

Combine Identified Dependencies with CRAN and Local Source Packages
create_statement_local_pkgs

Create Install Statements for Local Source Packages
identify_dependencies

Identify R Package Dependencies of Package
copy_local_pkgs

Copy Local Source Packages to Docker Subdirectory
check_permissions_dir

Check Permissions for a Directory
create_statement_cran_versions

Create Install CRAN Packages Statement for Dockerfile
build_and_install_package

Build, Install and Load Package