Skip to content

keypress

1.3.2

Wait for a Key Press in a Terminal

2packages depend
10.2Kdownloads / year
57.1%test coverage
13/13checks pass

Overview

About
Maintained by Gábor CsárdiFirst published 2015-06-066 releasesCRAN page ↗GitHub ↗

Wait for a single key press at the 'R' prompt. This works in terminals, but does not currently work in the 'Windows' 'GUI', the 'macOS' 'GUI' ('R.app'), in 'Emacs' 'ESS', in an 'Emacs' shell buffer or in 'R Studio'. In these cases 'keypress' stops with an error message.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 1.14
57.1%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-03
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 207 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
67%
References docs
0%

Downloads

10.2K
CRAN downloads in the past year
Rank #3,903 · ~28/day · ~851/mo
Daily download trend is not available in this view yet.
47630 days
2.2K90 days
10.2K1 year
Compare downloads with other packages →
Also on448 r2u12 autocran

Repository

Repository
23Stars
3Forks
1Open issues
0Open PRs
3Releases
121Commits
2Contributors
121 commits · Last activity 2026-05-29 · 0% stars, 30d

Stars over time

2025-01-17 · 222026-07-22 · 23

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/gaborcsardi/keypress on 2026-08-16.

Continuous integration (1)
GitHub Actions
Lint, format, editor (3)
AirVS CodeRStudio project
Coverage (2)
Codecov.covrignore
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
2direct
1indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer, Copyright holder · added in 1.1.1
Authors (2)
Author, Maintainer, Copyright holder · added in 1.1.1
Author · added in 1.1.1
Copyright holders (2)
Author, Maintainer, Copyright holder · added in 1.1.1
Copyright holder, Funder · added in 1.3.2
Funders (1)
Copyright holder, Funder · added in 1.3.2
Listed in earlier versions (1)
no longer listed · 1.0.0
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.3.2Latest
    2026-05-28 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.1
    2023-12-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.3.0
    2022-10-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.0
    2020-01-10 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.1
    2017-03-02 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
Show 2 earlier events
  • 1.0.0
    2015-06-06
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-06-06
Total releases
6 / 11 yrs
License
MIT + file LICENSE OSI
Download size
14 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("keypress")
Csárdi, G., Posit Software, PBC, & Griffiths, J. (2026). keypress: Wait for a Key Press in a Terminal (Version 1.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.keypress

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for keypress version 1.3.2 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy