https://github.com/poissonconsulting/yesno
An R package to ask Yes-No questions with variable or custom responses
Science Score: 26.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.1%) to scientific vocabulary
Keywords
cran
r
rstats
yesno
Keywords from Contributors
assertions
dbi
write
units
sfc
read
posixct
checkr
chk
fish
Last synced: 10 months ago
·
JSON representation
Repository
An R package to ask Yes-No questions with variable or custom responses
Basic Info
- Host: GitHub
- Owner: poissonconsulting
- License: other
- Language: R
- Default Branch: main
- Homepage: https://poissonconsulting.github.io/yesno/
- Size: 2.27 MB
Statistics
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 0
- Releases: 3
Topics
cran
r
rstats
yesno
Created almost 10 years ago
· Last pushed 10 months ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
Support
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# yesno
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://github.com/poissonconsulting/yesno/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/poissonconsulting/yesno)
[](https://opensource.org/license/mit/)
[](https://cran.r-project.org/package=yesno)

## Introduction
Provides two functions.
The first, `yesno()`, asks a custom yes-no question with three variable responses.
The order and phrasing of the possible responses varies randomly to ensure the user consciously chooses (as opposed to automatically types their response).
The second, `yesno2()`, ask a yes-no question with two custom responses.
## Installation
To install the latest release from [CRAN](https://cran.r-project.org)
```{r, eval=FALSE}
install.packages("yesno")
```
To install the developmental version from [GitHub](https://github.com/poissonconsulting/yesno)
```{r, eval=FALSE}
# install.packages("remotes")
remotes::install_github("poissonconsulting/yesno")
```
## Demonstration
```
yesno("Do you like ", R.Version()$nickname ,"?")
Do you like Bug in Your Hair?
1: Definitely
2: No way
3: No
Selection: 1
[1] TRUE
yesno("Do you like ", R.Version()$nickname ,"?")
Do you like Bug in Your Hair?
1: No way
2: Uhhhh... Maybe?
3: I agree
Selection: 2
[1] FALSE
> yesno2("Do you like this question?", yes = "I really do")
Do you like this question?
1: I really do
2: No
Selection: 1
[1] TRUE
```
## Contribution
Please report any [issues](https://github.com/poissonconsulting/yesno/issues).
[Pull requests](https://github.com/poissonconsulting/yesno/pulls) are always welcome.
## Code of Conduct
Please note that the yesno project is released with a [Contributor Code of Conduct](https://poissonconsulting.github.io/yesno/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
Owner
- Name: Poisson Consulting Ltd.
- Login: poissonconsulting
- Kind: organization
- Email: software@poissonconsulting.ca
- Location: Nelson, BC, Canada
- Website: http://www.poissonconsulting.ca
- Repositories: 68
- Profile: https://github.com/poissonconsulting
Computational Biology and Statistical Ecology
GitHub Events
Total
- Delete event: 1
- Issue comment event: 1
- Push event: 91
- Pull request event: 44
- Pull request review event: 3
Last Year
- Delete event: 1
- Issue comment event: 1
- Push event: 91
- Pull request event: 44
- Pull request review event: 3
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Joe Thorley | j****e@p****a | 74 |
| Kirill Müller | k****r | 36 |
| Ayla Pearson | a****a@p****a | 32 |
| Duncan Kennedy | d****n@p****a | 18 |
| Nadine Hussein | n****3@g****m | 6 |
| Mowahid Latif | m****f@M****l | 4 |
| Maëlle Salmon | m****n@y****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 4
- Total pull requests: 52
- Average time to close issues: 6 months
- Average time to close pull requests: 1 day
- Total issue authors: 3
- Total pull request authors: 5
- Average comments per issue: 1.75
- Average comments per pull request: 0.04
- Merged pull requests: 49
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 44
- Average time to close issues: less than a minute
- Average time to close pull requests: 2 days
- Issue authors: 1
- Pull request authors: 3
- Average comments per issue: 0.0
- Average comments per pull request: 0.02
- Merged pull requests: 42
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- joethorley (2)
- krlmlr (1)
- aylapear (1)
Pull Request Authors
- krlmlr (41)
- nadinehussein (6)
- maelle (2)
- MowahidLatif (2)
- dunkenwg (1)
Top Labels
Issue Labels
Type: Enhancement (1)
Difficulty: 1 Novice (1)
Effort: 1 Low (1)
Priority: 3 Medium (1)
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 1,597 last-month
- Total docker downloads: 132,252
-
Total dependent packages: 15
(may contain duplicates) -
Total dependent repositories: 24
(may contain duplicates) - Total versions: 8
- Total maintainers: 1
cran.r-project.org: yesno
Ask Yes-No Questions
- Homepage: https://github.com/poissonconsulting/yesno
- Documentation: http://cran.r-project.org/web/packages/yesno/yesno.pdf
- License: MIT + file LICENSE
-
Latest release: 0.1.3
published almost 2 years ago
Rankings
Dependent packages count: 4.4%
Dependent repos count: 5.6%
Downloads: 14.5%
Average: 15.3%
Stargazers count: 18.3%
Forks count: 21.0%
Docker downloads count: 28.1%
Maintainers (1)
Last synced:
10 months ago
conda-forge.org: r-yesno
- Homepage: https://github.com/poissonconsulting/yesno
- License: GPL-2
-
Latest release: 0.1.2
published about 6 years ago
Rankings
Dependent packages count: 19.5%
Dependent repos count: 34.0%
Average: 40.9%
Stargazers count: 52.6%
Forks count: 57.4%
Last synced:
10 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.4 depends
- utils * imports
- covr * suggests
- testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 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
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 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/rhub.yaml
actions
- r-hub/actions/checkout v1 composite
- r-hub/actions/platform-info v1 composite
- r-hub/actions/run-check v1 composite
- r-hub/actions/setup v1 composite
- r-hub/actions/setup-deps v1 composite
- r-hub/actions/setup-r v1 composite
.github/workflows/R-CMD-check-dev.yaml
actions
- ./.github/workflows/check * composite
- ./.github/workflows/custom/after-install * composite
- ./.github/workflows/custom/before-install * composite
- ./.github/workflows/dep-matrix * composite
- ./.github/workflows/install * composite
- ./.github/workflows/rate-limit * composite
- ./.github/workflows/update-snapshots * composite
- actions/checkout v4 composite
- r-lib/actions/setup-r v2 composite
.github/workflows/check/action.yml
actions
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v2 composite
.github/workflows/commit/action.yml
actions
.github/workflows/dep-matrix/action.yml
actions
.github/workflows/dep-suggests-matrix/action.yml
actions
.github/workflows/fledge.yaml
actions
- ./.github/workflows/git-identity * composite
- ./.github/workflows/install * composite
- actions/checkout v4 composite
.github/workflows/git-identity/action.yml
actions
.github/workflows/install/action.yml
actions
- krlmlr/ccache-action parallel-dir 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/lock.yaml
actions
- dessant/lock-threads v5 composite
.github/workflows/pkgdown-build/action.yml
actions
.github/workflows/pkgdown-deploy/action.yml
actions
- nick-fields/retry v3 composite
.github/workflows/pr-commands.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/pr-fetch v2 composite
- r-lib/actions/pr-push v2 composite
- r-lib/actions/setup-r v2 composite
.github/workflows/rate-limit/action.yml
actions
.github/workflows/revdep.yaml
actions
- actions/checkout v4 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v2 composite
.github/workflows/roxygenize/action.yml
actions
.github/workflows/style/action.yml
actions
- actions/cache v4 composite
.github/workflows/update-snapshots/action.yml
actions
- peter-evans/create-pull-request v6 composite
.github/workflows/versions-matrix/action.yml
actions
.github/workflows/R-CMD-check-status.yaml
actions
.github/workflows/get-extra/action.yml
actions
.github/workflows/matrix-check/action.yml
actions