Skip to content

Commit

Permalink
final check before submission to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmonteagudo28 committed Aug 2, 2024
1 parent 57994ad commit 699ab9a
Show file tree
Hide file tree
Showing 18 changed files with 45 additions and 40 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Authors@R:
role = c("aut", "cre", "cph"),
comment = c(ORCID = "0009-0003-6465-6658"))
Maintainer: JP Monteagudo <[email protected]>
Description: Generate (de)motivational quotes and Shakespearean word combinations (bard–bits) that a user can consider for their personal projects. Each of the package functions takes two arguments, cat which default to any, and a a numeric or character seed to ensure reproducible results.
Description: Generate motivational quotes and Shakespearean word combinations (bard–bits) that a user can consider for their personal projects. Each of the package functions takes two arguments, cat which default to any, and a a numeric or character seed to ensure reproducible results.
License: GPL (>= 3)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand All @@ -16,5 +16,7 @@ LazyData: true
URL: https://github.com/jpmonteagudo28/despair
BugReports: https://github.com/jpmonteagudo28/despair/issues
Suggests:
spelling,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Language: en-US
10 changes: 5 additions & 5 deletions R/bard.bits.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
#' 'The Bard of Avon' and the bits ( Shakespeare's characters, places, professions) used to come up with coherent combinations.
#'
#' @details
#' When the category is 'any' (the default), the function combines Shakespeare's adjectives,
#' When the category is "any" (the default), the function combines Shakespeare's adjectives,
#' DSM-5 adjectives, colors and the characters, jobs, animals and things data frames
#' to then sample one adjective and one noun from each of the two combinations.
#'
#' When the category is 'alliterate', the function combines the adjectives and colors
#' When the category is "alliterate", the function combines the adjectives and colors
#' data frames and the animals and characters data frame. After an adjective is selected,
#' the first letter will be used to match against a noun.
#'
#' When the category is 'character', the function will derive a bard bit from a data frame of Shakespeare's
#' When the category is "character", the function will derive a bard bit from a data frame of Shakespeare's
#' characters and the adjectives data frame.
#'
#' When the category is 'jobs', the function will derive a bard bit from the adjectives and colors data frame
#' When the category is "jobs", the function will derive a bard bit from the adjectives and colors data frame
#' and sample one value from the Shakespeare's jobs data frame.
#'
#' When the category is 'dsm_5', the function will derive a bard bit from the combined jobs,
#' When the category is "dsm_5", the function will derive a bard bit from the combined jobs,
#' characters, animals and the DSM-5 adjectives data frame.
#'
#' @param cat a category to be used as bard–bit. Defaults to "any", but "character",
Expand Down
2 changes: 1 addition & 1 deletion R/demotivate.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' When cat is 'any' (default), the function combines all category data frames and then
#' samples from the new,combined data frame.
#'
#' There are a total of six categories: family, life, work, science, tv, and rednecks.
#' There are a total of six categories: family, life, work, science, TV, and rednecks.
#' When a specific category is chosen the function will sample from a demotivational quote data
#' frame and output a random quote for your spiritual and mental decay.
#'
Expand Down
4 changes: 2 additions & 2 deletions R/motivate.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#' \code{motivate()} is a tool to lift up even the unmotivated individual.
#' Use with caution and remember— DO take it personally.
#'
#' @param cat a motivational category to choose from. The function defaults to 'any'.
#' @param seed a numeric or character seed for reproducible results. The function defaults to 'NULL'.
#' @param cat a motivational category to choose from. The function defaults to "any".
#' @param seed a numeric or character seed for reproducible results. The function defaults to "NULL".
#'
#' @return \code{motivate()} takes a preferred category and an optional reproducible seed
#' to return a motivational quote for the user to feel better at any given time.
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(

# Overview

`despair` is a package inspired by Shakespeare's work and his well-known pessimism. It allows the user to create short, clever codes called bard–bits inspired by Shakespeare's work and use daily (de)motivational quotes for personal use or to share with others.
`despair` is a package inspired by Shakespeare's work and his well-known pessimism. It allows the user to create short, clever codes called bard–bits inspired by Shakespeare's work and use daily demotivational quotes for personal use or to share with others.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

`despair` is a package inspired by Shakespeare’s work and his well-known
pessimism. It allows the user to create short, clever codes called
bard–bits inspired by Shakespeare’s work and use daily (de)motivational
bard–bits inspired by Shakespeare’s work and use daily demotivational
quotes for personal use or to share with others.

## Installation
Expand Down
4 changes: 2 additions & 2 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pandoc: 3.1.1
pkgdown: 2.1.0
pkgdown_sha: ~
articles: {}
last_built: 2024-08-02T17:20Z
last_built: 2024-08-02T19:05Z
urls:
reference: https://despair.jpmonteagudo.com/reference
article: https://despair.jpmonteagudo.com/articles
12 changes: 6 additions & 6 deletions docs/reference/bard.bits.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/demotivate.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/reference/motivate.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/set.char.seed.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions man/bard.bits.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/demotivate.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 699ab9a

Please sign in to comment.