cl_save: Save a Checklist Object

Description Usage Arguments Examples

View source: R/checklist_external_functions.R

Description

This function allows you to save your checklist to a more permanent place than R's temp directory. It will check to make sure the supplied filename ends with .rds (or append .rds if no extension) is detected, but is oterwise just a wrapper for saveRDS.

Usage

1

Arguments

cl

A Checklist object to save

file

A String containing the file path of the checklist. Needs to be an .rds file.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# create a checklist
my_checklist <- cl_create()

# save it
cl_save(my_checklist, "my_checklist.rds")

# remove it from workspace
rm(cl)

# load it back in
cl <- cl_load("my_checklist.rds")

geoffwlamb/checklist documentation built on May 17, 2019, 2:59 p.m.