loading...

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.

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).

Value

A list with components message, correct and location.

Details

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

See also