Installation from CRAN
install.packages("directlabels")Install development version from GitHub
Development of directlabels on R-Forge stopped on 16 June 2015. Please install the development version from GitHub instead:
if(!require(devtools))install.packages("devtools")
devtools::install_github("tdhock/directlabels")Changes are listed in NEWS.
Usage examples
Please see the directlabels page on R-Forge.
Development and documentation
Documentation in R/*.R files is used to make man/*.Rd files using inlinedocs:
devtools::install_github("tdhock/inlinedocs")
inlinedocs::package.skeleton.dx("path/to/directlabels")The directlabels documentation examples web site can be generated using
directlabels::dldoc("~/R/directlabels/pkg/directlabels")Be careful about what you put in each of the R code files – they are used to generate the documentation. For example, R/dotplot.R defines just two R objects: angled.endpoints and top.qp. Don’t add anything to this file unless you want it to show up in the docs as another Positioning Method for dotplots. Miscellaneous functions that could be helpful for constructing Positioning Methods should be put in R/utility.function.R.