The value of the internal evaluation of a top-level R expression is always
assigned to .Last.value before further processing (e.g., printing).
The created file path, invisibly.
Four types of files are written, based on object class:
For data frames, a tab-separated file via readr::write_tsv().
For vectors, a newline-separated file via readr::write_lines().
For ggplots, a raster image (by default) via ggplot2::ggsave().
For other objects, an uncompressed data file via readr::write_rds().