35 lines
650 B
Plaintext
35 lines
650 B
Plaintext
---
|
|
output: github_document
|
|
---
|
|
|
|
<!-- README.md is generated from README.Rmd. Please edit that file -->
|
|
|
|
```{r, include = FALSE}
|
|
knitr::opts_chunk$set(
|
|
collapse = TRUE,
|
|
comment = "#>",
|
|
fig.path = "man/figures/README-",
|
|
out.width = "100%"
|
|
)
|
|
```
|
|
|
|
# RComplexity
|
|
|
|
<!-- badges: start -->
|
|
<!-- badges: end -->
|
|
|
|
The goal of RComplexity is to scan a directory or file for R functions provide a cyclic complexity score for each.
|
|
|
|
## Installation
|
|
|
|
You can install the development version of RComplexity like so:
|
|
|
|
``` r
|
|
remotes::install_git("https://git.avsdev.uk/R/RComplexity")
|
|
```
|
|
|
|
## Example
|
|
|
|
```{r example}
|
|
RComplexity::complexityDir("R", TRUE)
|
|
``` |