test-helpers: Helpers for cleanup of global state in examples and tests

.teardownProjectR Documentation

Helpers for cleanup of global state in examples and tests

Description

  1. remove project library directory created using setupProject();

  2. remove project paths created using setupProject;

  3. restore original library paths.

Usage

.teardownProject(prjPaths, origLibPaths)

Arguments

prjPaths

character vector of paths to be removed

origLibPaths

character string giving the original library path to be restored

Value

NULL. Invoked for its side effects.

Note

not intended to be called by users


PredictiveEcology/SpaDES.project documentation built on Dec. 23, 2024, 7:33 a.m.