knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

This is package is to create a flash card for Shiny application with desired data.frame.

Introduction

Simply create a data frame with front column and back column. Then put this data frame into flashCard() function, we will get a nice flash card.

library(flashCard)
df1 <- data.frame(
  front = c("Title front","contentfront", "content second line"),
  back =c("Title back","content back", "second line")
)
flashCard(df1, elementId = "card", front_text_color = "white")


jienagu/flashCard documentation built on Jan. 11, 2022, 7:01 a.m.