This is the original repository for the secuTrial R package. We have since restarted implementation of the package which is now here: https://github.com/SwissClinicalTrialOrganisation/secuTrialR
# if you do not have devtools installed
install.packages("devtools", dependencies=TRUE)
# install secuTrail R library
devtools::install_github("SwissClinicalTrialOrganisation/DM_secuTrial_R")
# load secuTrail R library
library(secuTrial)
# assuming that your R session's working directory is DM_secuTrial_R
# alternatively you can supply the fullpath to the package directory
devtools::test(".")
devtools::run_examples(".")
devtools::spell_check()
# use lintr on file in the R directory that you have edited
# example
lint("analysis.R", line_length_linter(125))
In order to contribute to this R library you should fork the main repository, make your changes and send a pull request (PR). The PR should also have a description to help the reviewer understand what has been added/changed. New functionalities must be thoroughly documented, have examples and should be accompanied by at least one test in test-secuTrial.R to ensure longterm robustness. The PR will only be reviewed if all travis checks are successful. The person sending the PR should not be the one merging it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.