Skip to content

Commit

Permalink
update news, codemeta, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Dec 5, 2024
1 parent abb78bc commit 31592b0
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 22 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Title: Messages, Warnings, Strings with Ascii Animals
Description: Allows printing of character strings as messages/warnings/etc.
with ASCII animals, including cats, cows, frogs, chickens, ghosts,
and more.
Version: 0.9.1.91
Version: 1.0.0
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = c("aut", "cre"),
Expand Down
23 changes: 23 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
cowsay 1.0.0
============

### BREAKING CHANGES

* Though this may not cause your code to fail/etc. the bubbles have changed to match that of the original cowsay program created in Perl - both the `say` function and the new `think` function. This is breaking in the sense that the output of `say` is fundamentally different assuming you care about ascii art.
* `say` color args change: `by_color` param now by default is whatever is set for `what_color` - allowing for setting one color for both the quote and the animal. If no colors are supplied behavior is unchanged from previous version. (#85)

### NEW FEATURES

* new function `think()` to duplicate what cowthink function does with command line cowsay - different bubble sides and tail (see examples) (#93)
* A user (@oganm) suggested removing the speech bubble from the ascii art - and we agree! `say` has been refactored, now using separate new functions `bubble_say`/`bubble_think` and `bubble_tail` to construct the quote/speech bubble and its tail. You can use these separate new functions yourself to manually do what `say` and `think` do. See the docs for details (`?bubble_say`/`?bubble_tail`) (#67)

### MINOR IMPROVEMENTS

* Added notes about history of cowsay in readme (#94)
* remove `multicolor` package for good as it's not coming back to CRAN (#90)

### BUG FIXES

* stegosaurus fixed! apparently the ascii art for the stegosaurus in this package was a diplodocus. thanks @stochastics ! (#88)


cowsay 0.9.0
============

Expand Down
2 changes: 2 additions & 0 deletions R/bubble.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' Thought/speech bubble/balloon
#'
#' @export
#' @family bubble
#' @param x (character) a character vector
#' @param width (integer/numeric) width of each line. default: 60
#' @return character vector of length greater than the input `x`
Expand Down Expand Up @@ -87,6 +88,7 @@ bubble_think <- function(x, width = 60) {
#' Make the tail part of a thought bubble
#'
#' @export
#' @family bubble
#' @param animal (character) a string
#' @param thought_sym (character) scalar character to use for the
#' speech bubble tail (see <https://en.wikipedia.org/wiki/Speech_balloon>).
Expand Down
48 changes: 27 additions & 21 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
"identifier": "cowsay",
"description": "Allows printing of character strings as messages/warnings/etc. with ASCII animals, including cats, cows, frogs, chickens, ghosts, and more.",
"name": "cowsay: Messages, Warnings, Strings with Ascii Animals",
"relatedLink": "https://sckott.github.io/cowsay/",
"codeRepository": "https://github.com/sckott/cowsay",
"issueTracker": "https://github.com/sckott/cowsay/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.9.0",
"version": "1.0.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.3.1 (2023-06-16)",
"runtimePlatform": "R version 4.4.2 (2024-10-31)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -104,6 +105,11 @@
"@type": "Person",
"givenName": "Marion",
"familyName": "Louveaux"
},
{
"@type": "Person",
"givenName": "David",
"familyName": "Schoch"
}
],
"maintainer": [
Expand All @@ -117,15 +123,27 @@
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "curl",
"name": "curl",
"identifier": "fortunes",
"name": "fortunes",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=fortunes"
},
{
"@type": "SoftwareApplication",
"identifier": "rmsfact",
"name": "rmsfact",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=curl"
"sameAs": "https://CRAN.R-project.org/package=rmsfact"
},
{
"@type": "SoftwareApplication",
Expand Down Expand Up @@ -191,29 +209,17 @@
},
"2": {
"@type": "SoftwareApplication",
"identifier": "fortunes",
"name": "fortunes",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=fortunes"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "rmsfact",
"name": "rmsfact",
"identifier": "rlang",
"name": "rlang",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rmsfact"
"sameAs": "https://CRAN.R-project.org/package=rlang"
},
"SystemRequirements": null
},
"fileSize": "334.382KB"
"fileSize": "391.52KB"
}
5 changes: 5 additions & 0 deletions man/bubble_say.Rd

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

5 changes: 5 additions & 0 deletions man/bubble_tail.Rd

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

0 comments on commit 31592b0

Please sign in to comment.