From e7f79cd59d911570bab781f1c0203ad0126fc959 Mon Sep 17 00:00:00 2001 From: njlyon0 Date: Fri, 26 Apr 2024 15:27:57 -0400 Subject: [PATCH] Tweaked `creature_list` example to reduce odds of getting flagged for spelling errors by CRAN (because of weird fantasy words) --- vignettes/dndr_02_creatures.Rmd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vignettes/dndr_02_creatures.Rmd b/vignettes/dndr_02_creatures.Rmd index 88438b1..5f07573 100644 --- a/vignettes/dndr_02_creatures.Rmd +++ b/vignettes/dndr_02_creatures.Rmd @@ -27,11 +27,11 @@ If you want to identify creatures defined by official D&D source books, the `cre See the help file for `monster_list` for the full list of supported query criteria. ```{r creature_list} -# Find all tiny construct creatures -robot_df <- dndR::creature_list(size = "tiny", type = "construct") +# Find all small creatures with 'goblin' in their name +gobbo_df <- dndR::creature_list(name = "goblin", size = "small") # Check the structure of that output -str(robot_df) +str(gobbo_df) ``` ### Creature Descriptions @@ -42,7 +42,7 @@ If you need to access the specific description of a particular creature (or crea # Get the information for a hunter shark shark_df <- dndR::creature_text(name = "hunter shark") -# Check that our +# Check that out head(shark_df, n = 7) ```