Sets the results folder in the project environment and creates a date-based subfolder.
The date-based folder is accessible via proj$results_today
and empty date folders
are automatically cleaned up when new results are added.
Usage
set_results(results, proj = org::project)
Arguments
- results
A character vector specifying one or more possible results folder paths. The first existing path will be used.
- proj
The project environment. Default is
org::project
.