source_design: Source the R Files that Contain the Design Steps

View source: R/source_design.R

source_designR Documentation

Source the R Files that Contain the Design Steps

Description

This sources all code files constructed by define_design()

Usage

source_design(
  d,
  rel_dir = "code",
  one_file = FALSE,
  one_file_name = "design_steps.R"
)

Arguments

d

A character vector of the research design steps function names

rel_dir

The relative path to your code directory, defaults to "code"

one_file

If TRUE, then all step code is expected to be in a file with the name one_file_name. If FALSE (the default), each step code is expected to be in a separate file with the step name as file name.

one_file_name

The name of the code file containing the code if all step code is in one file. Defaults to "design_steps.R".

Details

See the vignette of the package for further details.

Value

The result of the source() command.

Examples

## Not run: 
  print("Sorry. No examples yet.")

## End(Not run)

joachim-gassen/rdfanalysis documentation built on Aug. 22, 2023, 5:29 p.m.