GitXplorerGitXplorer
b

typingtutor

public
1 stars
0 forks
3 issues

Commits

List of commits on branch master.
Unverified
95d75fdeac9eb4e0f9d48c2c72628b08a2bfee34

Update README.md

bbaogorek committed 5 years ago
Unverified
ef0a167b9e8721450de5df47e8ae748b75396633

Update README.md

bbaogorek committed 5 years ago
Unverified
2a38c76571797f6399b64392dcbd1f9bba414b86

Update README.md

bbaogorek committed 5 years ago
Unverified
7b3d43483eab1f408309e5539055c1b78b806f09

Better message for lack of ANSI color support

bbaogorek committed 8 years ago
Unverified
919baabf4eb20907860cff838d77d0113b15390f

Allowing R version 3.2.2 and above. Chaning index.html header

bbaogorek committed 8 years ago
Unverified
3933cf20f15b7285ed9a9014bc136fddf9df3146

adding heading for bar graph

bbaogorek committed 8 years ago

README

The README file for this repository.

typingtutor: A typing tutor and code familiarizer for R

Build Status

Coverage Status

typingtutor is an R package that provides typing exercises based on R packages on github. Its purpose is to increase the user's speed of typing in general and typing R code in particular, with the side bonus of gaining familiarity with the code underlying successful R packages.

The typingtutor websiteThe typingtutor website

Installation

As typingtutor is only available on Github, the easiest way to install it is via devtools:

install.packages("devtools")
devtools::install_github("baogorek/typingtutor")

Usage

After starting R, load the typingtutor library:

library(typingtutor)

To practice typing on the Github repo tidyverse/dplyr, simply enter

type_github()

or, for another repo, enter the Github repository path as an argument:

type_github("stefvanbuuren/mice")

The user is presented with a choice of R files and then groups of R expressions within those files for which to type on. A maximum of 1000 characters will be presented to the user, and functions longer than 1000 characters are truncated.

The typingtutor companion webpage

You can always get to the typingtutor companion website by typing visit_site() in R or by visiting

https://baogorek.github.io/typingtutor/site/signed-in.html

which will redirect to

https://baogorek.github.io/typingtutor/

if the user is not signed in. Currently, a Github account is required for authentication to the typingtutor companion page.

Saving data

After practicing on a typing tutor expression group, the user will be given the option to save to the typingtutor companion page. For the first time in every new R session, the user will have to enter a "authentication metadata string" at a prompt. Once signed into the typingtutor companion webpage, this is accomplished by clicking the green button, pressing CTRL + C and Enter, and pasting the resulting string back into the R prompt.

Saving is optional, and the user may use the typingtutor without ever saving to the typingtutor companion webpage.