PackageCopyStrategy {muttest}R Documentation

Package copy strategy

Description

It copies all files and directories from the original directory to a temporary directory.

Super class

muttest::CopyStrategy -> PackageCopyStrategy

Methods

Public methods


Method execute()

Copy project files, excluding hidden and temp directories

Usage
PackageCopyStrategy$execute(original_dir, plan)
Arguments
original_dir

The original directory to copy from

plan

The current test plan

Returns

The path to the temporary directory


Method clone()

The objects of this class are cloneable with this method.

Usage
PackageCopyStrategy$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other CopyStrategy: CopyStrategy, default_copy_strategy()


[Package muttest version 0.1.0 Index]