Package: dndR 2.0.0.900

dndR: Dungeons & Dragons Functions for Players and Dungeon Masters

The goal of 'dndR' is to provide a suite of Dungeons & Dragons related functions. This package is meant to be useful both to players and Dungeon Masters (DMs). All functions currently focus on Fifth Edition (a.k.a. "5e") but once the next edition is published functions will likely be expanded to include any rule changes.

Authors:Nicholas Lyon [aut, cre, cph], Tim Schatto-Eckrodt [aut], Humberto Nappo [ctb]

dndR_2.0.0.900.tar.gz
dndR_2.0.0.900.zip(r-4.5)dndR_2.0.0.900.zip(r-4.4)dndR_2.0.0.900.zip(r-4.3)
dndR_2.0.0.900.tgz(r-4.4-any)dndR_2.0.0.900.tgz(r-4.3-any)
dndR_2.0.0.900.tar.gz(r-4.5-noble)dndR_2.0.0.900.tar.gz(r-4.4-noble)
dndR_2.0.0.900.tgz(r-4.4-emscripten)dndR_2.0.0.900.tgz(r-4.3-emscripten)
dndR.pdf |dndR.html
dndR/json (API)
NEWS

# Install 'dndR' in R:
install.packages('dndR', repos = c('https://njlyon0.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/njlyon0/dndr/issues

Datasets:
  • creatures - Dungeons and Dragons Creature Information
  • monster_table - Dungeons and Dragons Quick Table for Creature Statistics
  • spells - Dungeons and Dragons Spell Information

On CRAN:

data-sciencedungeons-and-dragonsttrpg

7.18 score 17 stars 16 scripts 201 downloads 35 exports 36 dependencies

Last updated 7 months agofrom:d2ca14221f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winOKNov 02 2024
R-4.5-linuxOKNov 02 2024
R-4.4-winOKNov 02 2024
R-4.4-macOKNov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:ability_scoresability_singularclass_blockcoincr_convertcreature_listcreature_textd10d100d12d2d20d3d4d6d8dnd_classesdnd_damage_typesdnd_racesencounter_creatormod_calcmonster_creatormonster_statsnpc_creatorparty_diagrampc_creatorpc_level_calcprobability_plotrace_modsrerollrollspell_listspell_textxp_costxp_pool

Dependencies:clicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Character Creation

Rendered fromdndr_01_characters.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-04-17
Started: 2024-04-17

Dice Rolling

Rendered fromdndr_00_dice.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-04-17
Started: 2024-04-17

DMG versus dndR

Rendered fromdndr_99_dmg-vs-dndr.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-05-03
Started: 2024-04-17

Encounter Balancing

Rendered fromdndr_04_encounters.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-04-26
Started: 2024-04-17

Finding & Making Creatures

Rendered fromdndr_02_creatures.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-04-26
Started: 2024-04-17

Spells

Rendered fromdndr_03_spells.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-04-17
Started: 2024-04-17

Visual Tools

Rendered fromdndr_05_visuals.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-04-17
Started: 2024-04-17

Readme and manuals

Help Manual

Help pageTopics
Roll for All Ability Scoresability_scores
Rolls for a Single Ability Scoreability_singular
Assign Ability Scores Based on Classclass_block
Flip a Coincoin
Convert Challenge Rating to Experience Pointscr_convert
List Creatures Based on Criteriacreature_list
Retrieve Full Creature Description Text by Creature Namecreature_text
Dungeons and Dragons Creature Informationcreatures
Roll a Ten-Sided Dice ("d10")d10
Roll a One Hundred-Sided Dice ("d100")d100
Roll a Twelve-Sided Dice ("d12")d12
Roll a Two-Sided Diced2
Roll a Twenty-Sided Dice ("d20")d20
Roll a Three-Sided Diced3
Roll a Four-Sided Dice ("d4")d4
Roll a Six-Sided Dice ("d6")d6
Roll an Eight-Sided Dice ("d8")d8
Return Vector of Accepted Classesdnd_classes
Return Vector of Supported DnD Damage Typesdnd_damage_types
Return Vector of Supported DnD Racesdnd_races
Balance a Combat Encounter for Given Party Composition and Difficultyencounter_creator
Calculate Modifier for Specified Ability Scoremod_calc
Creates a Monster for Given Party Level and Sizemonster_creator
Quickly Identify Monster Statisticsmonster_stats
Dungeons and Dragons Quick Table for Creature Statisticsmonster_table
Create a Non-Player Character (NPC)npc_creator
Generate a Diagram of a Party's Ability Scoresparty_diagram
Create a Player Character (PC)pc_creator
Calculate Player Character (PC) Level from Current Experience Points (XP)pc_level_calc
Generate a Plot of the Frequency of Roll Outcomesprobability_plot
Identify Race-Based Ability Modifiersrace_mods
Re-Roll 1s from a Prior Dice Rollreroll
Roll Any Number of Diceroll
List Spells Based on Criteriaspell_list
Retrieve Full Spell Description Text by Spell Namespell_text
Dungeons and Dragons Spell Informationspells
Adjust the XP Total by Number of Monsters and Party Sizexp_cost
Calculate Total XP of Monsters for Given Party Level and Difficultyxp_pool