Skip to content

Commit

Permalink
updating logo, readme and yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmonteagudo28 committed Aug 2, 2024
1 parent 9fcc734 commit 0d61fbf
Show file tree
Hide file tree
Showing 16 changed files with 481 additions and 15 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,33 @@ permissions: read-all

jobs:
R-CMD-check:
runs-on: ubuntu-latest
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
4 changes: 2 additions & 2 deletions R/motivate.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#' \code{motivate()} is a tool to lift up even the unmotivated individual.
#' Use with caution and remember— DO take it personally.
#'
#' @param cat a demotivational category to choose from. The function defaults to 'any'.
#' @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 demotivational quote for the user to feel worse at any given time.
#' to return a motivational quote for the user to feel better at any given time.
#' @export
#'
#'
Expand Down
11 changes: 3 additions & 8 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
output: github_document
---
# despair <a href="https://www.despair.jpmonteagudo.com"><img src="man/figures/logo.png" align="right" height="120" alt="despair website" /></a>

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r, include = FALSE}
knitr::opts_chunk$set(
Expand All @@ -15,13 +12,11 @@ knitr::opts_chunk$set(
)
```

# Generation of bard bits and daily (de)motivational quotes for personal projects


[![CRAN status](https://www.r-pkg.org/badges/version/despair)](https://CRAN.R-project.org/package=despair)

# Overview

`despair` allows the user to create short 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 (de)motivational quotes for personal use or to share with others.

## Installation

Expand Down
455 changes: 455 additions & 0 deletions README.html

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
home:
title: An R package for (de)motivation and bard–bis generation
description: (de)motivational quotes and Shakespearian word combintations (bard–bits) to mitigate the unavoidable sadness after long hours of coding.

url: https://www.despair.jpmonteagudo.com


template:
bootstrap: 5
bslib:
Expand Down
Binary file removed man/figures/README-pressure-1.png
Binary file not shown.
Binary file added man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkgdown/favicon/favicon.ico
Binary file not shown.

0 comments on commit 0d61fbf

Please sign in to comment.