Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix empty exercise code execution error #235

Merged
merged 1 commit into from
Jun 4, 2019
Merged

Conversation

schloerke
Copy link
Collaborator

Fixes #216

If no user exercise code is submitted, then no work should be done. Only return and clear out the visible output.

@schloerke schloerke added this to the 0.10.0 milestone May 15, 2019
@schloerke schloerke requested a review from wch May 15, 2019 18:18
@schloerke schloerke removed the request for review from wch May 29, 2019 14:52
@schloerke schloerke merged commit 3ef0fa7 into master Jun 4, 2019
@schloerke schloerke deleted the empty_exercise branch June 4, 2019 15:00
cpsievert added a commit that referenced this pull request Jul 17, 2020
cpsievert added a commit that referenced this pull request Jul 29, 2020
* empty_results()'s html_output needs to req()-able; otherwise, a value is never actually returned (follow up to #235)

* Refactor evaluate_exercise() and add exercise.error.checker for running a checker function on exercise evaluation errors, closes #356

* code review feedback

* knitr fig options were actually needed

* shorter tempfile pattern

* docs

* Provide an exercise.error.checker option

* Document new exercise.error.checker option

* update news
schloerke pushed a commit that referenced this pull request Jul 30, 2020
* empty_results()'s html_output needs to req()-able; otherwise, a value is never actually returned (follow up to #235)

* Refactor evaluate_exercise() and add exercise.error.checker for running a checker function on exercise evaluation errors, closes #356

* code review feedback

* knitr fig options were actually needed

* shorter tempfile pattern

* docs

* Provide an exercise.error.checker option

* Document new exercise.error.checker option

* update news
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when running empty code segment
2 participants