rk.set.comp: Define the component you're currently working on

View source: R/rk.set.comp.R

rk.set.compR Documentation

Define the component you're currently working on

Description

This small tool let's you set a component name as kind of "active", which simply means it will be returned by rk.get.comp. This can be used by functions like, e.g., rk.XML.cbox, to add text for .rkh pages automatically to the current plugin component.

Usage

rk.set.comp(component = NULL)

Arguments

component

Character string, name of the component to set. If NULL, no component will be set as default, and rk.get.comp will return NULL subsequently.


rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.