find_testblock: Internal Function for pathing of the building blocks for the...

View source: R/find_testblock.R

find_testblockR Documentation

Internal Function for pathing of the building blocks for the test template of a function

Description

This is an internal function which will find the correct path for the test buildingblocks.

Usage

find_testblock(testblock_name, package = "DSFunctionCreator")

Arguments

testblock_name

specifies which buildingblock is called.

package

is the name of the package where the buildingblocks are included ("DSFunctionCreator").

Details

This function adapts the code from the internal function find_template from the usethis::use_template function.

Value

the path of the buildingblock.

Author(s)

Florian Schwarz for the German Institute of Human Nutrition


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