https://github.com/egnha/quine
A Quine in R
https://github.com/egnha/quine
quine r
Last synced: 4 months ago
JSON representation
A Quine in R
- Host: GitHub
- URL: https://github.com/egnha/quine
- Owner: egnha
- License: other
- Created: 2018-06-19T11:31:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T23:35:27.000Z (over 7 years ago)
- Last Synced: 2025-01-11T15:34:22.647Z (9 months ago)
- Topics: quine, r
- Language: R
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```[](https://travis-ci.org/egnha/quine)
[](https://codecov.io/gh/egnha/quine)# quine
A trival (non-empty) [quine](https://en.wikipedia.org/wiki/Quine_(computing)) in
R, just for the hell of it: the functions `quine_lang()` and `quine_str()` are
quines that output a language object and string, respectively.The file `inst/bin/quine` is the same quine function as a script. Executing it
outputs its contents, i.e., `cat quine` and `./quine` are identical.## Installation
```{r eval = FALSE}
# install.packages("devtools")
devtools::install_github("egnha/quine")
```