rk.XML.require: Create XML "require" node for RKWard plugins

View source: R/rk.XML.require.R

rk.XML.requireR Documentation

Create XML "require" node for RKWard plugins

Description

This function will create a require node for .pluginmap files.

Usage

rk.XML.require(file = NULL, map = NULL)

Arguments

file

Character string, file name of another .pluginmap file to be included. Should be preferred over map if that file is in the same package.

map

Character string, should be "namespace::id" of another .pluginmap to be included. Can be used to address plugin maps which are not part of the same plugin package.

Details

Note that only one of the values can be set at a time. file should be preferred whenever possible.

Value

An object of class XiMpLe.node.

See Also

Introduction to Writing Plugins for RKWard

Examples

test.require <- rk.XML.require("another.pluginmap")
cat(pasteXML(test.require))

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