From 4ec0b09402236a0786cdb2791927119c238c4401 Mon Sep 17 00:00:00 2001 From: hrbrmstr Date: Fri, 26 Jun 2020 07:40:58 -0400 Subject: [PATCH] pkg done --- R/slugify.R | 2 +- README.Rmd | 2 ++ README.md | 10 ++++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/R/slugify.R b/R/slugify.R index 601a862..76b1886 100644 --- a/R/slugify.R +++ b/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 `-` diff --git a/README.Rmd b/README.Rmd index 5668c74..c4bc6fc 100644 --- a/README.Rmd +++ b/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} diff --git a/README.md b/README.md index 1893f54..1cccf84 100644 --- a/README.md +++ b/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