Skip to content

Commit

Permalink
fix grader -> gradethis in testthat.R (rstudio#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
chendaniely authored and schloerke committed Aug 1, 2019
1 parent 17a011f commit c021340
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
if: |
branch IN (master, travis, grade_exercise_answer) AND \
type = push AND \
repo = rstudio-education/grader
repo = rstudio-education/gradethis
before_deploy: # build site and copy over files
- Rscript -e 'if(!require("pkgdown")) install.packages("pkgdown")'
- Rscript -e 'pkgdown::build_site()'
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ Pairing with the `learnr` R package, `grader` provides multiple methods to grade
You can install the released version of grader from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("grader")
install.packages("gradethis")
```

## Grading Demo <img src="man/figures/missing_sqrt.png" style="border: 1px solid black; box-shadow: 5px 5px 5px #eee; float: right;" width="50%">

To view the latest grading demo of the different checking methods:

``` r
library(grader)
grader::grading_demo()
library(gradethis)
gradethis::grading_demo()
```
4 changes: 2 additions & 2 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library(testthat)
library(grader)
library(gradethis)

test_check("grader")
test_check("gradethis")

0 comments on commit c021340

Please sign in to comment.