agricolamz / checkdown

R package for Rmarkdown for creating autocheck questions and hints
https://agricolamz.github.io/checkdown/
GNU General Public License v2.0
31 stars 2 forks source link

No reply after pressing "check" #1

Closed Pozdniakov closed 4 years ago

Pozdniakov commented 4 years ago

This document is knitted but pressing "check" doe not return "Correct" or whatever else. Seems that the page is reloaded after pressing the button.

P.S. Example from docs works well.

I deleted all asterisks from the code:


title: "Test_checkdown" author: "Поздняков Иван" date: "13 02 2020" output: html_document

{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) library(checkdown)

{r, results='asis'} autocheck_question(question_id = 1, answer = 4)

agricolamz commented 4 years ago

Hi, it is because in the current version you obligatory need run autocheck_code() function. I will try to rid of it in the future.