Skip to content

fensorechase/BMI510Docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI510Docs

Final documentation of R functions

This repository contains 20 R functions with Roxygen documentation for the BMI 510 course final project at Emory University, Dept of Biomedical Informatics.

Table of Contents

Dependencies

The following R packages are required:

testthat
Roxygen2

Getting Started

To get started with this project, you can clone the repository locally and browse the documentation and assignments. To do so, run the following command in your terminal:

git clone https://github.com/fensorechase/BMI510Docs.git

Or to install the package locally, run the following in the R console:

devtools::install_github("https://github.com/fensorechase/BMI510Docs")

Testing can be performed by running the following in the R console:

testthat::test_file("R/bmi510-tests.R")

If you'd like to implement new functions for testing and documentation generation in the file R/bmi510-template.R, please implement the function and Roxygen2 commenting as seen with the other functions. Then to use Roxygen2 to automatically generate the Rd files in the 'man' directory, run the following in the R console:

devtools::document()

Materials

This repository contains the following materials testing the 20 functions and modifying the Roxygen documentation:

  • R: Folder containing the R files (file with documented functions, file with tests for these functions).
  • man: Folder containing man files corresponding to each function in R/bmi510-template.R).

License

The contents of this repository are licensed under the MIT License.

About

Final documentation of R functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages