Skip to content

Commit

Permalink
corrected output for demotivate function
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmonteagudo28 committed Aug 26, 2024
1 parent d114383 commit cf3768a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
^\.github$
^cran-comments\.md$

^CRAN-SUBMISSION$
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.1.0
Date: 2024-08-02 19:20:35 UTC
SHA: d114383062ab01c35ddb90ff615443b9ae17a7a1
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: despair
Title: Motivational Quotes and Shakespearean Bard–bits for Personal Projects
Version: 0.1.0
Version: 0.1.1
Authors@R:
person("JP", "Monteagudo",
email = "[email protected]",
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
# despair 0.1.0

* Initial development release

# despair 0.1.1

Previously `demotivate` would throw an error when the category was set to `rednecks`.
Correction to demotivate `rednecks` category output.
2 changes: 1 addition & 1 deletion R/demotivate.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ demotivate <- function(cat = "any",
my_quote <- sample(tv$values,1)
}
if(cat == "rednecks"){
my_red_quote <- sample(rednecks$values,1)
my_quote <- sample(rednecks$values,1)
}
if(cat == "family"){
my_quote <- sample(family$values,1)
Expand Down

0 comments on commit cf3768a

Please sign in to comment.