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

View source: R/find_buildingblock.R

find_buildingblockR Documentation

Internal Function for pathing of the building blocks for the template

Description

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

Usage

find_buildingblock(buildingblock_name, package = "DSFunctionCreator")

Arguments

buildingblock_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.