test_answer: Typing test

Description Usage Arguments

View source: R/tests.R

Description

Display one side of a card and ask which matches the other side of another card shown. The user must type in the other side of the card.

Usage

1
2
test_answer(card, deck, progress, max_chars = 20, max_dist = 0.2,
  ignore_case = TRUE)

Arguments

card

The index of the card to use

deck

The table containing the deck information.

progress

The progress table for the user

max_chars

The maximum number of characters the answer side of a card can have.

max_dist

The maximum proportion of differences the answer can be to the correct answer while still being considered correct.

ignore_case

If FALSE, capitalization needs to be correct.


zachary-foster/flashcards documentation built on April 23, 2020, 7:26 a.m.