/usr/lib/R/site-library/praise/README.Rmd is in r-cran-praise 1.0.0-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | ```{r, setup, echo = FALSE, message = FALSE}
knitr::opts_chunk$set(
comment = "#>",
tidy = FALSE,
error = FALSE,
fig.width = 8,
fig.height = 8)
```
# praise
> Praise Users
[![Linux Build Status](https://travis-ci.org/gaborcsardi/praise.svg?branch=master)](https://travis-ci.org/gaborcsardi/praise)
[![Windows Build status](https://ci.appveyor.com/api/projects/status/github/gaborcsardi/praise?svg=true)](https://ci.appveyor.com/project/gaborcsardi/praise)
[![](http://www.r-pkg.org/badges/version/praise)](http://www.r-pkg.org/pkg/praise)
[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/praise)](http://www.r-pkg.org/pkg/praise)
Build friendly R packages that praise their users if they have
done something good, or they just need it to feel better.
## Installation
```{r eval = FALSE}
devtools::install_github("gaborcsardi/praise")
```
## Usage
```{r}
library(praise)
praise()
```
You can supply a template, and `praise()` fills in random words of the specified
part of speech:
```{r}
praise("${EXCLAMATION}! You have done this ${adverb_manner}!")
```
Note that capitalization in the inserted words will be the same as in the template:
```{r}
praise("${Exclamation}! ${EXCLAMATION}!-${EXCLAMATION}! This is just ${adjective}!")
```
Currently supported parts of speech:
```{r}
names(praise_parts)
```
## License
MIT © [Gabor Csardi](https://github.com/gaborcsardi), [Sindre Sorhus](http://sindresorhus.com)
|