get_files_not_in_simulations: Find files in simulator directory not referred to by any...

View source: R/manage.R

get_files_not_in_simulationsR Documentation

Find files in simulator directory not referred to by any simulations

Description

Once one has completed all simulation studies, this function can be called to identify any files that may have been created along the way that are no longer being used in any simulations. It would then be safe to delete these files.

Usage

get_files_not_in_simulations(dir, out_loc = "out")

Arguments

dir

name of the directory where directory named "files" exists

out_loc

a length-1 character vector that gives location (relative to model's path) that method outputs are stored.This can be useful for staying organized when multiple simulations are based on the same Model and Draws objects. Usually this is just "out"


simulator documentation built on Feb. 16, 2023, 9:34 p.m.