sckott / cowsay

cowsay w/ more animals, in R
https://sckott.github.io/cowsay/
Other
301 stars 48 forks source link

why is animals object not exported? #37

Closed stevenpollack closed 8 years ago

stevenpollack commented 8 years ago

subject says it all.

I would love to just be able to import animals with ::, as opposed to ::: (which has build checks yell at me).

An easy way to allow people (like my lazy self) to get cowsay animals without having to use ::: would be something like

#' @export
getAnimal <- function(animalName) {
    return(animals[animalName])
}

Just an idea, though...

sckott commented 8 years ago

thanks for your message @stevenpollack

I guess this use case if if you don't necessarily want to do a typical cowsay message/warning/stop, but do something else with the animal. Sounds good.

stevenpollack commented 8 years ago

Yeah, that's precisely it: I wanted to integrate the cool cowsay ASCII into my own project, but not necessary use cowsay::say...

sckott commented 8 years ago

okay, try now

stevenpollack commented 8 years ago

The import now works, thanks!


This comment was moved to another issue...

sckott commented 8 years ago

great!