Skip to contents

Copy a file or directory into multiple environments.

Usage

envCopyTo(sourcePath, envName = envList(), targetPath = "", quiet = FALSE)

Arguments

sourcePath

A `character(1)` string specifying the path of the file or directory to copy.

envName

A `character()` vector specifying the environment(s) name(s) where the file should be copied. Default is all environments.

targetPath

A `character(1)` string specifying the relative path within each environment where the file should be copied. Default is root of the environment.

quiet

A `logical()` indicating whether messages should be suppressed. Default is `FALSE`.