https://github.com/johncoene/egg
🥚 egg.js htmlwidget for R
https://github.com/johncoene/egg
easter-egg r rstats
Last synced: 2 months ago
JSON representation
🥚 egg.js htmlwidget for R
- Host: GitHub
- URL: https://github.com/johncoene/egg
- Owner: JohnCoene
- License: other
- Created: 2017-03-02T15:38:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T20:13:28.000Z (about 8 years ago)
- Last Synced: 2025-06-19T20:51:47.411Z (about 1 year ago)
- Topics: easter-egg, r, rstats
- Language: R
- Homepage: http://john-coene.com/post/egg/
- Size: 40 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://saythanks.io/to/JohnCoene)
# egg
htmlwidget for R to sneak Easter eggs in your Rmarkdown documents: [egg.js](http://thatmikeflynn.com/egg.js/).
## Installation
You can install egg from github with:
```R
# install.packages("devtools")
devtools::install_github("JohnCoene/egg")
```
## [Live Example](http://john-coene.com/post/egg/)
## Example
When the user strikes the keys "type" in your document the egg will appear.
```R
egg(c("t", "y", "p", "e"), "EASTER EGG", imegg = "https://upload.wikimedia.org/wikipedia/commons/5/54/Bg-easter-eggs.jpg")
```