Dependencies on R packages

Dependencies on specific R packages can be defined, but as of RKWard 0.6.1, these dependencies are neither checked, nor installed / loaded, automatically. They are shown in the plugin help files, however. Here is an example definition:

	<dependencies>
		<package 
			name="heisenberg"
			min_version="0.11-2"
			repository="http://rforge.r-project.org"
		/>
	</dependencies>

Note

Always make sure to add appropriate require() calls, if you plugin needs certain packages to be loaded.

Note

If you distribute your .pluginmap as an R package, and all plugins depend on a particular package, then you should define that dependency on the R package level. Defining dependencies to R packages on the level of the RKWard .pluginmap is most useful, if only some of your plugins need the dependency, the dependency is not available from CRAN, or your .pluginmap is not distributed as an R package.