Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 3 committers (33.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.9%) to scientific vocabulary
Keywords
lorem-ipsum
lorem-ipsum-generator
r-pkg
rstats
rstudio
rstudio-addin
Last synced: 6 months ago
·
JSON representation
Repository
Generate Lorem Ipsum Text
Basic Info
- Host: GitHub
- Owner: gadenbuie
- License: other
- Language: R
- Default Branch: main
- Homepage: http://pkg.garrickadenbuie.com/lorem/
- Size: 554 KB
Statistics
- Stars: 32
- Watchers: 2
- Forks: 2
- Open Issues: 2
- Releases: 1
Topics
lorem-ipsum
lorem-ipsum-generator
r-pkg
rstats
rstudio
rstudio-addin
Created over 6 years ago
· Last pushed almost 3 years ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
set.seed(424342)
```
# lorem::ipsum()
[](https://CRAN.R-project.org/package=lorem)
[](https://gadenbuie.r-universe.dev/lorem)
[](https://github.com/gadenbuie/lorem/actions/workflows/check-standard.yaml)
* Quickly generate lorem ipsum placeholder text with `lorem::ipsum()`.
* Easy to integrate in RMarkdown documents.
* Includes an RStudio addin to insert *lorem ipsum* into the current document.
## Installation
You can install the latest released version of lorem from CRAN
``` r
install.packages("lorem")
```
or the current development version of lorem from GitHub or r-universe
``` r
# GitHub
# install.packages("remotes")
rmeotes::install_github("gadenbuie/lorem")
# R Universe
install.packages('lorem', repos = c('https://gadenbuie.r-universe.dev', 'https://cloud.r-project.org'))
```
## Usage
### RStudio Addin
**lorem** includes a simple addin for RStudio that
adds placeholder _lorem ipsum_ text to the current source document.
The addin allows you to specify the number of desired paragraphs and sentences.
### R Markdown
Another way to generate _lorem ipsum_ placeholder text is to call
`lorem::ipsum()` in an inline R chunk in R Markdown.
```markdown
`r knitr::inline_expr("lorem::ipsum(paragraphs = 2)")`
```
`r paste(">", lorem::ipsum(2), collapse = "\n>\n")`
You can control the number of `paragraphs` and `sentences` per paragraph.
```markdown
`r knitr::inline_expr("lorem::ipsum(paragraphs = 3, sentences = c(1, 2, 3))")`
```
`r paste(">", lorem::ipsum(3, 1:3), collapse = "\n>\n")`
You can also adjust the `avg_words_per_sentence` to create long or short paragraphs.
```markdown
`r knitr::inline_expr("lorem::ipsum(2, avg_words_per_sentence = 3)")`
```
`r paste(">", lorem::ipsum(paragraphs = 2, avg_words_per_sentence = 3), collapse = "\n>\n")`
```markdown
`r knitr::inline_expr("lorem::ipsum(1, avg_words_per_sentence = 20)")`
```
`r paste(">", lorem::ipsum(1, 2, avg_words_per_sentence = 20), collapse = "\n>\n")`
### Everywhere Else
Generate _lorem ipsum_ anywhere else using `lorem::ipsum()` or `lorem::ipsum_words()`.
```{r results='asis'}
ipsum_items <- replicate(5, lorem::ipsum_words(5))
cat(paste("-", ipsum_items), sep = "\n")
```
## Ipsum gratiam
Thank you to
[Luke Haas](https://getlorem.com)
for the node module
[getlorem](https://github.com/lukehaas/getlorem)
and for providing the lorem ipsum word list used in this package.
Owner
- Name: Garrick Aden-Buie
- Login: gadenbuie
- Kind: user
- Location: Atlanta-ish, Georgia
- Company: @rstudio
- Website: https://garrickadenbuie.com
- Twitter: grrrck
- Repositories: 255
- Profile: https://github.com/gadenbuie
R developer, software engineer for Shiny at @posit-pbc (the company formerly known as @rstudio)
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Garrick Aden-Buie | g****k@a****m | 39 |
| gadenbuie | g****e | 5 |
| Garrick Aden-Buie | g****e@m****u | 4 |
Committer Domains (Top 20 + Academic)
mail.usf.edu: 1
adenbuie.com: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 6
- Total pull requests: 4
- Average time to close issues: 10 months
- Average time to close pull requests: about 4 hours
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.67
- Average comments per pull request: 0.25
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- gadenbuie (4)
- cpsievert (2)
Pull Request Authors
- gadenbuie (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 427 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: lorem
Generate Lorem Ipsum Text
- Homepage: https://github.com/gadenbuie/lorem
- Documentation: http://cran.r-project.org/web/packages/lorem/lorem.pdf
- License: MIT + file LICENSE
-
Latest release: 1.0.0
published almost 3 years ago
Rankings
Stargazers count: 9.4%
Forks count: 17.0%
Downloads: 18.5%
Average: 19.5%
Dependent repos count: 23.9%
Dependent packages count: 28.7%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- R >= 2.10 depends
- knitr * imports
- stats * imports
- rstudioapi * suggests
.github/workflows/auto-pkg-maintenance.yaml
actions
.github/workflows/check-standard.yaml
actions
- actions/checkout v2 composite
- gadenbuie/status/actions/status-update-rcmdcheck main composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- actions/checkout v2 composite
- hasura/comment-progress v2.2.0 composite
- r-lib/actions/pr-fetch v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite