Skip to content

Commit a47a7e0

Browse files
authored
v0.10.0 (#271)
* add revdep checks * fix missing var from bad merge * bump version to v0.10.0 * run revdep * remove remotes for checking * rerun revdep * Use cran comments * spelling * Remove completed TODO-barret 's * document * fix link * ignore cran-release
1 parent c41c381 commit a47a7e0

13 files changed

+78
-42
lines changed

.Rbuildignore

+3
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@
1616
rsconnect/
1717
^\.github/
1818
^inst/tutorials/.*\.html$
19+
^revdep$
1920
^LICENSE\.md$
21+
^cran-comments\.md$
22+
^CRAN-RELEASE$

DESCRIPTION

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: learnr
22
Type: Package
33
Title: Interactive Tutorials for R
4-
Version: 0.9.2.9006
4+
Version: 0.10.0
55
Authors@R: c(
66
person("Barret", "Schloerke", role = c("aut", "cre"), email = "[email protected]",
77
comment = c(ORCID = "0000-0001-9986-114X")),
@@ -33,12 +33,9 @@ Imports:
3333
markdown,
3434
shiny (>= 1.0),
3535
rmarkdown (>= 1.12.0),
36-
packrat (>= 0.5.0-7),
3736
ellipsis (>= 0.2.0.1),
3837
checkmate,
3938
renv (>= 0.8.0)
40-
Remotes:
41-
rstudio/packrat
4239
Encoding: UTF-8
4340
LazyData: true
4441
Roxygen: list(markdown = TRUE)

NEWS.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
learnr 0.10.0 (unreleased)
1+
learnr 0.10.0
22
===========
33

44
## New features
@@ -11,7 +11,7 @@ learnr 0.10.0 (unreleased)
1111

1212
* Added the last evaluated exercise submission value, `last_value`, as an exercise checker function argument. ([#228](https://github.com/rstudio/learnr/pull/228))
1313

14-
* Added tabset support. ([#219](https://github.com/rstudio/learnr/pull/219) [#213](https://github.com/rstudio/learnr/issues/213))
14+
* Added tabset support. ([#219](https://github.com/rstudio/learnr/pull/219) [#212](https://github.com/rstudio/learnr/issues/212))
1515

1616
* Question width will expand to the container width. ([#222](https://github.com/rstudio/learnr/pull/222))
1717

R/quiz.R

+1-31
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,9 @@
33
# X - Allow for null input$answer
44
## No. If the quiz module wants a null value, it can provide a placeholder value that is not NULL
55

6-
# √-barret revert to old params names in question
7-
## or deprecate old names and use new names
8-
## double check answer params
9-
# √-barret gut unused R and JS methods from old JS quiz hooks
10-
11-
# √ TODO-barret question / quiz print method
12-
## If a quiz is printed in the console... should it open in the browser or print a list?
13-
## either way it should be document or fixed
14-
# TODO-barret Documentation
15-
# TODO-barret re-render tutorials
16-
# TODO-barret re-render documentation pictures
17-
# √-barret A new question type (“text”)
18-
# TODO-barret You can now extend learnr with your own question types
19-
# TODO-barret Questions are now Shiny apps
20-
# TODO-barret print() behavior is different from before
21-
# TODO-barret R CMD check/rev-dep check
22-
# TODO-barret QA pass (check existing education primers)
23-
24-
25-
# √-barret make the question div a class and data-label combo to be found at render, like an exercise
26-
# √-barret validate that chunk lables do not have unwanted characters to function better on JS side
27-
# √-barret chunk labels are now NS ids
28-
# √-barret use the new label in js to attach the element right away, regardless if it is ready or not
29-
## this allows js to function regardless of state of the quiz question
30-
## this allows for sections to be completed regardless of what is returned from the user
31-
32-
33-
34-
35-
366
#' Tutorial quiz questions
377
#'
38-
#' Add interative quiz questions to a tutorial.
8+
#' Add interactive quiz questions to a tutorial.
399
#' Each quiz question is executed within a shiny runtime to provide more flexibility in the types of questions offered.
4010
#' There are three default types of quiz questions:
4111
#' \describe{

R/quiz_print.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#' Formatting and printing quizes, questions, and answers
1+
#' Formatting and printing quizzes, questions, and answers
22
#'
33
#' Notes:
44
#' \itemize{
55
#' \item If custom question types are created, custom s3 formating methods may be implemented as well.
6-
#' \item Due to the shiny runtime of questions, a text representation of quizes, questions, and answers will be presented.
6+
#' \item Due to the shiny runtime of questions, a text representation of quizzes, questions, and answers will be presented.
77
#' }
88
#'
99
#' @param x object of interest

cran-comments.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
## Comments
3+
### 2019-11-08
4+
5+
Please let me know if there is anything I can do.
6+
7+
Thank you,
8+
Barret
9+
10+
11+
## Test environments
12+
* local OS X install, R 3.6.1
13+
* ubuntu 14.04 (on travis-ci), release, oldrel, devel
14+
* win-builder (oldrelease, release, devel)
15+
* R-hub windows-x86_64-release (r-release)
16+
* R-hub windows-x86_64-devel (r-devel)
17+
* R-hub ubuntu-gcc-release (r-release)
18+
* R-hub fedora-clang-devel (r-devel)
19+
20+
## R CMD check results
21+
22+
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
23+
24+
25+
## revdepcheck results
26+
27+
We checked 4 reverse dependencies (3 from CRAN + 1 from BioConductor), comparing R CMD check results across CRAN and dev versions of this package.
28+
29+
* We saw 0 new problems
30+
* We failed to check 0 packages

man/format_quiz.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/quiz.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

revdep/.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
checks
2+
library
3+
checks.noindex
4+
library.noindex
5+
data.sqlite
6+
*.html

revdep/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Platform
2+
3+
|field |value |
4+
|:--------|:----------------------------|
5+
|version |R version 3.6.1 (2019-07-05) |
6+
|os |macOS Mojave 10.14.6 |
7+
|system |x86_64, darwin15.6.0 |
8+
|ui |X11 |
9+
|language |(EN) |
10+
|collate |en_US.UTF-8 |
11+
|ctype |en_US.UTF-8 |
12+
|tz |America/New_York |
13+
|date |2019-11-08 |
14+
15+
# Dependencies
16+
17+
|package |old |new |Δ |
18+
|:-------|:-------|:------|:--|
19+
|learnr |0.9.2.1 |0.10.0 |* |
20+
|Rcpp |NA |1.0.2 |* |
21+
22+
# Revdeps
23+

revdep/email.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
release_date: ???
2+
rel_release_date: ???
3+
my_news_url: ???
4+
release_version: ???
5+
release_details: ???

revdep/failures.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*Wow, no problems at all. :)*

revdep/problems.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*Wow, no problems at all. :)*

0 commit comments

Comments
 (0)