save_intermediate_result: Saves data to intermediate

Description Usage Arguments Value Author(s)

View source: R/input_output.R

Description

Saves data to intermediate

Usage

1
2
3
4
5
6
save_intermediate_result(
  r_object,
  rel_path = NULL,
  serializer = qs::qsave,
  ...
)

Arguments

r_object

the R object to be saved.

rel_path

optional path (relative to ‘data/intermediate') to pass on to serializer. Defaults to the object’s name without an extension added to the file on disk.

serializer

function used to serialize the data to disk. Defaults to 'qs::save'.

...

extra arguments passed to the serializer.

Value

serializes an R object to the 'data/intermediate' directory.

Author(s)

João Santiago


jcpsantiago/dvthis documentation built on Dec. 20, 2021, 10:03 p.m.