No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
3 changed files with
9 additions and
5 deletions
-
R/slugify.R
-
README.Rmd
-
README.md
|
|
@ -1,4 +1,4 @@ |
|
|
|
#' Slugif a string |
|
|
|
#' Slugify a string |
|
|
|
#' |
|
|
|
#' @param x string |
|
|
|
#' @param replacement replace spaces with replacement character, defaults to `-` |
|
|
|
|
|
@ -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} |
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|