Browse Source

pkg done

master
boB Rudis 4 years ago
parent
commit
4ec0b09402
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 2
      R/slugify.R
  2. 2
      README.Rmd
  3. 10
      README.md

2
R/slugify.R

@ -1,4 +1,4 @@
#' Slugif a string
#' Slugify a string
#'
#' @param x string
#' @param replacement replace spaces with replacement character, defaults to `-`

2
README.Rmd

@ -23,6 +23,8 @@ The following functions are implemented:
hrbrpkghelpr::describe_ingredients()
```
- `slugify`: Slugify a string
## Installation
```{r install-ex, results='asis', echo=FALSE, cache=FALSE}

10
README.md

@ -25,6 +25,8 @@ Tools are provided to turn phrases into slugs.
The following functions are implemented:
- `slugify`: Slugify a string
## Installation
``` r
@ -59,10 +61,10 @@ slugify("R is great!")
## slugify Metrics
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
| :--- | -------: | --: | --: | ---: | ----------: | ---: | -------: | --: |
| R | 4 | 0.8 | 33 | 0.79 | 13 | 0.45 | 20 | 0.4 |
| Rmd | 1 | 0.2 | 9 | 0.21 | 16 | 0.55 | 30 | 0.6 |
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
| :--- | -------: | --: | --: | ---: | ----------: | ---: | -------: | ---: |
| R | 4 | 0.8 | 33 | 0.79 | 13 | 0.43 | 20 | 0.39 |
| Rmd | 1 | 0.2 | 9 | 0.21 | 17 | 0.57 | 31 | 0.61 |
## Code of Conduct

Loading…
Cancel
Save