checker_ack_learnr: A default checker that just acknowledges submission

View source: R/learnitdown_learnr.R

checker_ack_learnrR Documentation

A default checker that just acknowledges submission

Description

Check code submitted during an exercise. This version just acknowledges reception of the submission. This function is used internally by the tutorials and is not intended for the end-user.

Usage

checker_ack_learnr(
  label,
  user_code,
  solution_code,
  check_code,
  envir_result,
  evaluate_result,
  ...
)

Arguments

label

The label for the learnr exercise.

user_code

The code submitted by the user.

solution_code

The code provided by the "-solution" chunk.

check_code

The code provided by the "-check" chunk.

envir_result

The environment after the execution of the chunk.

evaluate_result

Result from evaluation of the code.

...

Additional parameters (currently not used).

Details

This is a simple checker function for learnitdown learnr applications that just indicates to the user that its answer is taken into account.

Value

A list with components message, correct and location.

See Also

record_learnr()


SciViews/learndown documentation built on Sept. 17, 2024, 8:06 a.m.