Learn R Programming

dockr (version 0.8.6)

copy_local_pkgs: Copy Local Source Packages to Docker Subdirectory

Description

Copy Local Source Packages to Docker Subdirectory

Usage

copy_local_pkgs(pkgs_df = NULL, dir_src = NULL,
  dir_src_docker = NULL, verbose = TRUE)

Arguments

pkgs_df

data.frame with names and version numbers of packages to be copied to Docker subdirectory.

dir_src

character directories with local source packages. Note, the source packages must have filenames like (packageName)_(packageVersion).tar.gz, e.g. "recorder_0.8.2.tar.gz". Put directories in prioritized order. The first directory will have the highest priority.

dir_src_docker

character subdirectory of Docker image directory with relevant source packages, that will be installed in the Docker container. Relevant local source packages will be copied to this directory.

verbose

logical should messages be printed or not?

Value

invisibly. As a side effect source package files (*.tar.gz) are copied to Docker subdirectory.