R functions that I use commonly
# install.packages("remotes")
remotes::install_github("luiarthur/rcommon")
library(rcommon)
X <- matrix(rnorm(5*100),ncol=5)
my.pairs(X)
The DESCRIPTION
file must exist first. Also, remotes
and roxygen
must
be installed in R
. See Usage above.
Make edits in the R/
dir. Test in test.R
. Before pushing changes, run the
whole test.R
script. If no errors occur, the docs and package will be
created. a man
dir and NAMESPACE
file will be generated. Do not touch them.
Edit the roxygen comments in R
instead. Only functions with #' @export
are
exported.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.