devtools::install_github("Novartis/xgxr", args = c('--library="./"'))
. If you want to install it in your default library path, you can delete the "args" option.Option 3: Download the package as a tar.gz file and then type: install.packages("xgxr_1.0.4.tar.gz", repos = NULL, lib = "./", type = "source")
``
* **Last Resort Failsafe:** If you want to copy code from xGx exploratory graphics webpage but are unable to install the
xgxrpackage, you can use an older version of the website that does not make use of the
xgxr` package. http://opensource.nibr.com/xgx_v1
Functions are located in the "R" folder. When creating a new function, copy an existing one and follow the same format, with the documentation in the header When creating a new function, make sure to also add example code and some code to the vignette. * For the function to be visible after the package is loaded, make sure to have the @export line.
Sample datasets are stored in the the data folder as ".Rda" files and also, for convenience, in the inst/extdata folder as csv files. Code for generating some of these datasets is stored in the data_create folder. And the Single Ascending Dose PKPD dataset came from [https://github.com/dpastoor/PKPDdatasets/blob/master/R/PKPDdatasets.R#L31]
Documentation is located in the "man" folder. Do not edit this folder. Instead, edit the documentation within the function header and the documentation will be automatically created [as described here] (https://CRAN.R-project.org/web/packages/roxygen2/vignettes/roxygen2.html).
Vignettes are documents that show how a package can be used. They are located in the "vignettes" folder. Build them using the devtools::build_vignettes() function.
Visit coveralls.io if later, we get to the point where we want to look at unit test coverage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.