Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
config:
- { os: macOS-latest, r: "release" }
- { os: windows-latest, r: "release" }
- { os: ubuntu-20.04, r: "devel", http-user-agent: "release" }
- { os: ubuntu-20.04, r: "release" }
- { os: ubuntu-20.04, r: "oldrel-1" }
- { os: ubuntu-20.04, r: "oldrel-2" }
- { os: ubuntu-20.04, r: "oldrel-3" }
- { os: ubuntu-20.04, r: "oldrel-4" }
- { os: ubuntu-latest, r: "devel", http-user-agent: "release" }
- { os: ubuntu-latest, r: "release" }
- { os: ubuntu-latest, r: "oldrel-1" }
- { os: ubuntu-latest, r: "oldrel-2" }
- { os: ubuntu-latest, r: "oldrel-3" }
- { os: ubuntu-latest, r: "oldrel-4" }

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Schedule shinyapps.io deploy
id: request-shinyapps-deploy
if: matrix.config.os == 'ubuntu-20.04' && matrix.config.r == 'release'
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
run: |
echo "::set-output name=requested::true"

Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# learnr (development version)

- Fixed a test that was failing on CRAN's Fedora gcc environment. (#827)

- Added a new option, `tutorial.exercise.throttle`, to slow down successive exercise execution. This option should be set to the number of seconds a user will have to wait between performing code executions. The option defaults to 1 second to deter rapid code executions. To disable submission throttling, call `options(tutorial.exercise.throttle = 0)` within your setup chunk. (@internaut, #818)

- Removed dependency on ellipsis (@olivroy, #809)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-auto-complete.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test_that("R auto complete finds runif vars", {

expect_equal(auto_complete_r("method not found"), list())
expect_equal(auto_complete_r("this_variable_will_not_be_found"), list())
expect_equal(auto_complete_r("runif"), list(
list("runif", TRUE)
))
Expand Down
Loading