Closed rcannood closed 1 year ago
What are we waiting for? @rcannood in the essence of getting things to move, I've just used this in my code. Please don't break it :)
install.packages("devtools")
devtools::install_github("rcannood/ALRA")
Please don't break it :) @ryandward I won't ^^
@JunZhao1990 @linqiaozhi Could I kindly ask you to review this PR? It effectively turns the code in the ALRA repo into a package that allows people to use ALRA.
@rcannood Really embarrassed to be responding so late. My clinical duties have been pretty all-consuming. This is excellent. Thank you so much for working on it.
Hi @linqiaozhi !
To make ALRA a little easier to use, I turned the repo into an R package. I documented the process below.
I suggest editing the DESCRIPTION to fill in the placeholder fields generated by
usethis::create_package()
.Kind regards, Robrecht
Instructions used to turn this repo into a package
Create a package
Add dependencies
Move the source files
Download the example data files
Create unit test
Further processing
I adapted the
alra_test.R
into a unit test. You can run all unit tests using:I turned the documentation into roxygen code and ran
devtools::document()
to generate theman/
files.After this, I ran R CMD check a couple of times to fix minor issues.