ic_write_csv_wlog: Add to save log when csv is written

View source: R/save_log.R

ic_write_csv_wlogR Documentation

Add to save log when csv is written

Description

A wrapper for write_csv that adds a project-level log with pertinent info into file_log.csv [Stable]

Usage

ic_write_csv_wlog(x, file, ...)

Arguments

x

A data frame or tibble to write to disk.

file

File or connection to write to.

...

Additional arguments from readr::write_csv()

Details

Write csv with log

Value

starting or adding a file_log.csv at project-level, as well as saving csv as expected

Examples

## Not run: 
df <- data.frame(fishes <- c("red", "white", "blue"))
ic_write_csv_wlog(df, tempfile())

## End(Not run)

IntegralEnvision/integral documentation built on Nov. 4, 2024, 2 p.m.