Skip to content

Commit

Permalink
fix #84 use _PACKAGE approach for pkg level manual file via usethis::…
Browse files Browse the repository at this point in the history
…use_package_doc
  • Loading branch information
sckott committed Oct 14, 2023
1 parent d2c105c commit 8d68cb6
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 72 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
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.8.2
Version: 0.8.4
License: MIT + file LICENSE
Authors@R: c(
person("Scott", "Chamberlain", role = c("aut", "cre"),
Expand Down
38 changes: 5 additions & 33 deletions R/cowsay-package.r
@@ -1,36 +1,8 @@
#' Sling messages and warnings with flair
#'
#' If you are familiar with `cowsay` on the cli, then you know what this
#' is, but for R. If not, read below. Why? Why not?
#'
#' Contributors:
#'
#' - Amanda Dobbyn
#' - Andreas Brandmaier
#' - Andy Teucher
#' - Carson Sievert
#' - Franz-Sebastian Krah
#' - Guangchuang Yu
#' - Karl Broman
#' - Kiyoko Gotanda
#' - Lucy D'Agostino McGowan
#' - Noam Ross
#' - Paolo Sonego
#' - Philipp Boersch-Supan
#' - Rich FitzJohn
#' - Scott Chamberlain
#' - Thomas Leeper
#' - Tyler Rinker
#' - Marion Louveaux
#'
#' There is only one function in the cowsay package. Simplicity for the win.
#'
#' Say something:
#'
#' say('hello world!')
#'
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @importFrom fortunes fortune
#' @importFrom rmsfact rmsfact
#' @name cowsay
#' @docType package
## usethis namespace: end
NULL
46 changes: 46 additions & 0 deletions man/cowsay-package.Rd

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

38 changes: 0 additions & 38 deletions man/cowsay.Rd

This file was deleted.

0 comments on commit 8d68cb6

Please sign in to comment.