Learn R Programming

styler (version 1.10.3)

construct_out: Construct *-out.R from a *-in.R

Description

Multiple *-in.R files can have the same *-out.R file since to create the *-out.R file, everything after the first dash is replaced by *-out.R.

Usage

construct_out(in_paths)

Arguments

in_paths

A character vector that denotes paths to *-in.R files.

Examples

Run this code
styler:::construct_out(c(
  "path/to/file/first-in.R",
  "path/to/file/first-extended-in.R"
))

Run the code above in your browser using DataLab