make_r_template: make_r_template

Description Usage Arguments Details Value Examples

View source: R/pengToolkit.R

Description

A head comment template auto-generator

Usage

1
2
3
4
5
6
7
make_r_template(
  filename = "file.R",
  project = "Rescue the Princess",
  author = "Peng",
  email = "mugpeng@foxmail.com",
  dir = getwd()
)

Arguments

filename

input a character type or not

project

input a character type or not

author

input a character type or not

dir

input a character type or not

Details

This is some description of this function.

you can use this function to create your header in the script.

Value

file a new file with designed header

Examples

1
2
make_r_template()
make_r_template(project = "How to Fire My Boss.", filename = "01-preparation.R", author = "Tony", dir = getwd())

mugpeng/pengToolkit documentation built on Dec. 21, 2021, 11:01 p.m.