https://github.com/eddelbuettel/rfoaas
R interface to FOAAS service
https://github.com/eddelbuettel/rfoaas
Last synced: about 1 year ago
JSON representation
R interface to FOAAS service
- Host: GitHub
- URL: https://github.com/eddelbuettel/rfoaas
- Owner: eddelbuettel
- Created: 2013-07-20T15:08:25.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T16:09:17.000Z (over 1 year ago)
- Last Synced: 2025-03-24T11:06:20.924Z (about 1 year ago)
- Language: R
- Size: 140 KB
- Stars: 28
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
## rfoaas: R interface to the [FOAAS](http://foaas.com) service
[](https://github.com/eddelbuettel/rfoaas/actions?query=workflow%3Aci)
[](https://www.gnu.org/licenses/gpl-2.0.html)
[](https://cran.r-project.org/package=rfoaas)
[](https://cran.r-project.org/package=rfoaas)
[](https://www.r-pkg.org/pkg/rfoaas)
[](https://app.codecov.io/gh/eddelbuettel/rfoaas)
[](https://github.com/eddelbuettel/rfoaas)
### Where
You can install released version of the package from
[CRAN](https://cran.r-project.org/) using the
```{.r}
install.packages("rfoaas")
```
function.
### Example
Just like [FOAAS](https://www.foaas.com), the package provides a number of
standard profanity-issuing access points, as well as some less profane
classics from pop culture:
```{.r}
R> greed("R Programming", "Random R Hacker")
The point is, ladies and gentleman, that r programming -- for lack of a better word -- is
good. R Programming is right. R Programming works. R Programming clarifies, cuts through,
and captures the essence of the evolutionary spirit. R Programming, in all of its forms -- R
Programming for life, for money, for love, knowledge -- has marked the upward surge of
mankind. - Random R Hacker
R>
```
This shows the default print method as action as well which wraps long paragraphs.
Since version 0.1.6, internationalization is taken more seriously, so if you
want to express the preceeding message even more lovingly in German, you can
do so:
```{.r}
R> greed("R Programming", "Random R Hacker", language="de")
Der Punkt ist, meine Damen und Herren, dass r-Programmierung - in Ermangelung eines besseren
Wortes - ist gut. R-Programmierung richtig ist. R-Programmierung funktioniert. R
Programmierung stellt klar, durchschneidet, und fängt die Essenz des evolutionären Geistes.
R Programmierung, in all seinen Formen - R-Programmierung für das Leben, für Geld, für die
Liebe, Wissen - hat die Aufwärtsschub der Menschheit geprägt. - Random R Hacker
R>
```
Lastly, there is also an interface to [shoutcloud](http://shoutcloud.io/)
which provides the immensely useful ALL CAPS AS A SERVICE because, well,
sometimes you just got to yell:
```{.r}
R> greed("R Programming", "Random R Hacker", filter="shoutcloud")
THE POINT IS, LADIES AND GENTLEMAN, THAT R PROGRAMMING -- FOR LACK OF A BETTER WORD -- IS
GOOD. R PROGRAMMING IS RIGHT. R PROGRAMMING WORKS. R PROGRAMMING CLARIFIES, CUTS THROUGH,
AND CAPTURES THE ESSENCE OF THE EVOLUTIONARY SPIRIT. R PROGRAMMING, IN ALL OF ITS FORMS -- R
PROGRAMMING FOR LIFE, FOR MONEY, FOR LOVE, KNOWLEDGE -- HAS MARKED THE UPWARD SURGE OF
MANKIND. - RANDOM R HACKER
R>
```
### Who
Dirk Eddelbuettel
### License
GPL (>= 2) as most of my code though a case could be made for aligning with
the [WTFPL](http://www.wtfpl.net/) license that the
[FOAAS code](https://github.com/tomdionysus/foaas/) is under.
### Contributor Code of Conduct
This project adheres to No Code of Conduct. We are all adults. We accept anyone's contributions.
Nothing else matters.
For more information please visit the [No Code of Conduct](https://github.com/domgetter/NCoC) page.