check_user_world: Check user's own world

View source: R/helpers.R

check_user_worldR Documentation

Check user's own world

Description

This function analyzes if a world provided by the user satisfies all requirements.

Usage

check_user_world(world, lang)

Arguments

world

The world provided by the user. It's a list. See details in generar_mundo.

Details

This function is called by .generate_world.

Value

If a misespecification is found, this function produces a stop and provides a descriptive error message.


mpru/karel documentation built on May 12, 2024, 5:16 p.m.