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

View source: R/testing.R

construct_outR Documentation

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

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

krlmlr/styler documentation built on April 8, 2024, 7:53 p.m.