ic_copy_script: Start a new file with header *[Experimental]*

View source: R/templates.R

ic_copy_scriptR Documentation

Start a new file with header [Experimental]

Description

Creates a new file with header. Function is not exported.

Usage

ic_copy_script(filepath, rfile_path, open = F)

Arguments

filepath

File to be created.

rfile_path

R file to source

open

Should the file be open (True/False)

Examples

## Not run: 
ic_new_file("myfile.R", fs::path_package(
  "integral",
  "templates/example_project/rfile_w_header.R"
))

## End(Not run)


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