obfuscate: Obfuscate answers in learnr documents

View source: R/obfuscate.R

obfuscateR Documentation

Obfuscate answers in learnr documents

Description

Obfuscate answers in learnr documents

Usage

obfuscate(object, password)

._(object)

obfuscate_logical(x, y, r = FALSE)

ans(correct, text, message = NULL)

Arguments

object

An R object to obfuscate, or Obfuscation string to decrypt.

password

The password to use (otherwise, the password defined by the application is used)

x

A logical value or an integer.

y

Obfuscation parameter.

r

Reset obfuscation (not intended for end-user)?

correct

Is the answer is correct or not (either a logical value, or an integer that obfuscates the results).

text

Text of the option.

message

Message displayed if the item is selected

Value

The encrypted or decrypted object.

Examples

obfuscate("test", "password")

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