project_list_to_yaml: Convert list to yaml and save

View source: R/project-pipeline.R

project_list_to_yamlR Documentation

Convert list to yaml and save

Description

Convert list to yaml and save

Usage

project_list_to_yaml(project_list, filepath = NULL)

Arguments

project_list

list object containing all actions (created using action function) and comment-actions (created using comment_action function) and front-matter.

filepath

file path and name where yaml file should be saved. If not provided, then prints to console!

Details

Convert list to yaml string and then prints or saves the results. This also does some reformatting of comment blocks, whitespace, etc.


wjchulme/osutils documentation built on Dec. 20, 2024, 9:56 a.m.