R/quiz_parse_file.R

Defines functions example

example = function() {
  file = "C:/libraries/shinyChatQuiz/quizes.yaml"

}

# load.quiz.yaml = function(file) {
#   qu.li = yaml.load_file(file)
#   qu.li = lapply(qu.li, function(qu) {
#     qu = makeQuiz(qu=qu)
#   })
#
# }
#
# import_dialog = function() {
#   ui = tagList(
#     fileInput("quiz_file", "Choose Yaml file that contains questions",
#       accept = c("text/yaml",".yaml"))
#   )
#   showModal(modalDialog(ui))
# }
skranz/shinyChatQuiz documentation built on Feb. 26, 2021, 1:41 p.m.