Skip to content

Commit 568087c

Browse files
committed
some CRAN fix
1 parent b7042b4 commit 568087c

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: checkdown
22
Type: Package
33
Title: Check-Fields and Check-Boxes for 'rmarkdown'
44
Version: 0.0.13
5-
Depends: R (>= 3.5.0)
5+
Depends: R (>= 4.2.0)
66
Authors@R: c(person("George", "Moroz",
77
role = c("aut", "cre"),
88
email = "agricolamz@gmail.com",

vignettes/start_checkdown.Rmd

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ If you don't want to give the possibility of automatically check your question,
9898
check_question(NULL, options = c("apple", "banana", "bread"), type = "radio")
9999
```
100100

101-
There is also an experimental type of question `in_order`, wheere students need to drag and drop words in the correct order:
101+
There is also an type of question `in_order`, where students need to swap words over in the correct order:
102102

103103
```{r}
104104
check_question(answer = c("What", "do", "you", "think?"), type = "in_order")
@@ -123,9 +123,9 @@ You can put the question itself within the `check_question()` function using the
123123
check_question(answer = 42, title = "Put a number from 1 to 100")
124124
```
125125

126-
It is possible to put some markdown markup whithin the `title` argument. Since this argument wraps the form contents with \code{fieldset} tags, you can redefine it appearance with CSS.
126+
It is possible to put some markdown markup within the `title` argument. Since this argument wraps the form contents with \code{fieldset} tags, you can redefine it appearance with CSS.
127127

128-
There is an additional function `insert_score()` that make it possible to add a counter of the correct answers on the page (thanks to [Julieblas](https://github.com/Julieblas) for an idea). It make sense to use this function inline like here:
128+
There is an additional function `insert_score()` that make it possible to add a counter of the correct answers on the page (thanks to Julieblas for an idea). It make sense to use this function inline like here:
129129

130130
#### Results: `r insert_score()` out of 13
131131

@@ -194,7 +194,7 @@ check_hint(hint_text = "this<br>is<br>a<br>multiline<br>sentence")
194194

195195
Sometimes it is nice to use images as a question. It also could be useful to insert images in hints. In order to do it you need to use `insert_images()` function, and enumerate the correct answer.
196196

197-
```{r, eval=FALSE}
197+
```{r}
198198
check_question(answer = 3,
199199
type = "radio",
200200
options = insert_images(c("windows.png",
@@ -207,12 +207,11 @@ Arguments `image_width` and `image_height` also except vector of values in case
207207

208208
In case you want to use pictures within hints, it is better to use markdown markup for it:
209209

210-
```{r, eval=FALSE}
210+
```{r}
211211
check_hint("Here is a map: <br>
212212
![](https://upload.wikimedia.org/wikipedia/commons/f/f7/EU-Greece_%28orthographic_projection%29.svg){width=10%}")
213213
```
214214

215-
216215
## 3. Some important notes
217216

218217
- It is possible to avoid code in the output `.html`. Just use the chunk argument `echo=FALSE`.

0 commit comments

Comments
 (0)