You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.6 KiB

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. ---
  2. output: rmarkdown::github_document
  3. editor_options:
  4. chunk_output_type: console
  5. ---
  6. ```{r pkg-knitr-opts, include=FALSE}
  7. hrbrpkghelpr::global_opts()
  8. ```
  9. ```{r badges, results='asis', echo=FALSE, cache=FALSE}
  10. hrbrpkghelpr::stinking_badges()
  11. ```
  12. ```{r description, results='asis', echo=FALSE, cache=FALSE}
  13. hrbrpkghelpr::yank_title_and_description()
  14. ```
  15. ## What's Inside The Tin
  16. The following functions are implemented:
  17. ```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
  18. hrbrpkghelpr::describe_ingredients()
  19. ```
  20. ## Installation
  21. NOTE: This requires [{swiftr}](https://github.com/hrbrmstr/swiftr).
  22. ```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
  23. hrbrpkghelpr::install_block()
  24. ```
  25. ## Usage
  26. ```{r lib-ex}
  27. library(swiftspeech)
  28. # current version
  29. packageVersion("swiftspeech")
  30. ```
  31. ```{r ex01}
  32. tibble::as_tibble(parts_of_speech(paste0(c(
  33. "The comm wasn't working. Feeling increasingly ridiculous, he pushed",
  34. "the button for the 1MC channel several more times. Nothing. He opened",
  35. "his eyes and saw that all the lights on the panel were out. Then he",
  36. "turned around and saw that the lights on the refrigerator and the",
  37. "ovens were out. It wasn’t just the coffeemaker; the entire galley was",
  38. "in open revolt. Holden looked at the ship name, Rocinante, newly",
  39. "stenciled onto the galley wall, and said, Baby, why do you hurt me",
  40. "when I love you so much?"
  41. ), collapse = " ")))
  42. ```
  43. ## swiftspeech Metrics
  44. ```{r cloc, echo=FALSE}
  45. cloc::cloc_pkg_md()
  46. ```
  47. ## Code of Conduct
  48. Please note that this project is released with a Contributor Code of Conduct.
  49. By participating in this project you agree to abide by its terms.