Package: karel 0.1.1.9001

Marcos Prunello

karel: Learning programming with Karel the robot

This is the R implementation of Karel the robot, a programming language created by Dr. R. E. Pattis at Stanford University in 1981. Karel is an useful tool to teach introductory concepts about general programming, such as algorithmic decomposition, conditional statements, loops, etc., in an interactive and fun way, by writing programs to make Karel the robot achieve certain tasks in the world she lives in. Originally based on Pascal, Karel was implemented in many languages through these decades, including 'Java', 'C++', 'Ruby' and 'Python'. This is the first package implementing Karel in R.

Authors:Marcos Prunello [aut, cre, cph]

karel_0.1.1.9001.tar.gz
karel_0.1.1.9001.zip(r-4.5)karel_0.1.1.9001.zip(r-4.4)karel_0.1.1.9001.zip(r-4.3)
karel_0.1.1.9001.tgz(r-4.4-any)karel_0.1.1.9001.tgz(r-4.3-any)
karel_0.1.1.9001.tar.gz(r-4.5-noble)karel_0.1.1.9001.tar.gz(r-4.4-noble)
karel_0.1.1.9001.tgz(r-4.4-emscripten)karel_0.1.1.9001.tgz(r-4.3-emscripten)
karel.pdf |karel.html
karel/json (API)
NEWS

# Install 'karel' in R:
install.packages('karel', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropensci/karel/issues

On CRAN:

learningprogrammingr-language

46 exports 8 stars 7.03 score 55 dependencies 28 scripts 226 downloads

Last updated 3 months agofrom:439aa6d0ff (on master). Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 25 2024
R-4.5-winOKSep 25 2024
R-4.5-linuxOKSep 25 2024
R-4.4-winOKSep 25 2024
R-4.4-macOKSep 25 2024
R-4.3-winOKSep 25 2024
R-4.3-macOKSep 25 2024

Exports:avanzarbeepers_presentcargar_super_kareldarse_vueltaderecha_abiertoderecha_cerradoejecutar_accionesfacing_eastfacing_northfacing_southfacing_westfrente_abiertofrente_cerradofront_is_blockedfront_is_cleargenerar_mundogenerate_worldgirar_derechagirar_izquierdahay_cososizquierda_abiertoizquierda_cerradojuntar_cosokarel_has_beeperskarel_has_no_beeperskarel_no_tiene_cososkarel_tiene_cososleft_is_blockedleft_is_clearload_super_karelmira_al_estemira_al_nortemira_al_oestemira_al_surmoveno_beepers_presentno_hay_cosospick_beeperponer_cosoput_beeperright_is_blockedright_is_clearrun_actionsturn_aroundturn_leftturn_right

Dependencies:classclassIntclicolorspacecpp11crayonDBIdplyre1071fansifarvergenericsgganimateggplot2gluegtablehmsisobandKernSmoothlabelinglatticelifecyclelpSolvemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigprettyunitsprogressproxypurrrR6RColorBrewerRcpprlangs2scalessfstringistringrtibbletidyrtidyselecttransformrtweenrunitsutf8vctrsviridisLitewithrwk

1 - Introducción y nociones básicas

Rendered froma_intro_progrbasics_es.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-07-27
Started: 2021-08-08

1 - Introduction and programming basics

Rendered froma_intro_progrbasics_en.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-07-27
Started: 2023-06-14

2 - Conociendo a Karel

Rendered fromb_meetingkarel_es.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-03-27
Started: 2021-08-08

2 - Meeting Karel

Rendered fromb_meetingkarel_en.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-04-24
Started: 2023-06-14

3 - Algorithmic decomposition

Rendered fromc_decomposition_en.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-04-24
Started: 2023-06-16

3 - Descomposición algorítmica

Rendered fromc_decomposition_es.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-03-27
Started: 2021-08-08

4 - Control structures

Rendered fromd_controlstructures_en.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-03-27
Started: 2023-06-16

4 - Estructuras de control del código

Rendered fromd_controlstructures_es.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-03-27
Started: 2021-08-08

5 - Examples

Rendered frome_examples_en.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-03-27
Started: 2023-06-16

5 - Varios problemas de ejemplo

Rendered frome_examples_es.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-03-27
Started: 2021-08-08

Get started with Karel the robot

Rendered fromaa_get_started_en.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-04-24
Started: 2023-06-15

Primeros pasos con la robot Karel

Rendered fromaa_get_started_es.Rmdusingknitr::rmarkdownon Sep 25 2024.

Last update: 2024-03-27
Started: 2023-06-15

Readme and manuals

Help Manual

Help pageTopics
Acciones que Karel puede realizaracciones avanzar darse_vuelta girar_derecha girar_izquierda juntar_coso poner_coso
Available actions for Karelactions move pick_beeper put_beeper turn_around turn_left turn_right
Habilitar los superpoderes de Karelcargar_super_karel
Condiciones que Karel puede verificarcondiciones derecha_abierto derecha_cerrado frente_abierto frente_cerrado hay_cosos izquierda_abierto izquierda_cerrado karel_no_tiene_cosos karel_tiene_cosos mira_al_este mira_al_norte mira_al_oeste mira_al_sur no_hay_cosos
Conditions that Karel can testbeepers_present conditions facing_east facing_north facing_south facing_west front_is_blocked front_is_clear karel_has_beepers karel_has_no_beepers left_is_blocked left_is_clear no_beepers_present right_is_blocked right_is_clear
Obtener el ambiente de Karelconseguir_amb
Ejecutar accionesejecutar_acciones
Generar el mundo de Karelgenerar_mundo
Create Karel's worldgenerate_world
Get Karel's environmentget_pkg_env
Producir un gráfico del mundo de Karel en un momento dadograficar_mundo_estatico
Turn on Karel's superpowersload_super_karel
Plot the world at a given timeplot_static_world
Run actionsrun_actions