Dependencies on other RKWard
|Prev||Handling dependencies and compatibility issues||Next|
If your plugins depend on plugins defined in another
.pluginmap (that is not part of your package) you can define this dependency like this:
<dependencies> <pluginmap name="heisenberg_plugins" url="http://eternalwondermaths.example.org/hsb" /> </dependencies>
Currently will neither load, nor install, nor even warn about missing
.pluginmaps, but at least information on dependencies (and where to obtain them) will be shown on the plugin's help page. You do not have to (and you should not) declare dependencies on
.pluginmaps that are shipped with the official RKWard distribution, or on
.pluginmaps that are inside your own package. Further, if a required
.pluginmap is distributed as an R package, declare a dependency of the package (as shown in the previous section), rather than on the map.
To make sure that required
.pluginmaps are actually loaded, use the <require>-tag (refer to the reference for details).
|Dependencies on R packages||Up||An example|