use_template_client_test: Template filler for CodeCheck

View source: R/use_template_client_test.R

use_template_client_testR Documentation

Template filler for CodeCheck

Description

This function is very similar to the usethis original but changes the pathing options of where template will be save.

Usage

use_template_client_test(
  template,
  data = list(),
  save_as = NULL,
  package = "DSFunctionCreator"
)

Arguments

template

Path to template file relative to 'templates/' directory within 'package'; see details.

data

A list of data passed to the template.

save_as

A name for the file which is going to be saved.

package

Name of the package where the template is found.

Details

The function pulls a blank codeline file and fills it with arguments to create a final codeline file which can be used for CodeCheck.

Value

A logical vector indicating if file was modified.

Author(s)

Florian Schwarz for the German Institute of Human Nutrition


FlorianSchw/DSFunctionCreator documentation built on Sept. 27, 2024, 2:51 p.m.