dndR: Dungeons & Dragons Functions for Players and Dungeon Masters

R-CMD-check GitHub issues GitHub pull requests

The goal of dndR is to provide a suite of Dungeons & Dragons (Fifth Edition a.k.a. “5e”) related functions to help both players and Dungeon Masters (DMs). Below are short descriptions of the functions currently included in dndR. I am always willing to expand that list though so if you have a D&D-related task that could be cool as a function, please post it as an Issue on this package’s GitHub repository!


You can install the development version of dndR from GitHub with:

# install.packages("devtools")

Function Descriptions

Dice Rolling

Character Creation




Visual Tools

Contributing to dndR

If you’d like to contribute function scripts or ideas, that is more than welcome! For specific instructions check out CONTRIBUTING.md but at a glance: