Git Product home page Git Product logo

ohwhaley's Introduction

ohwhaley

R-CMD-check Codecov test coverage

Whale-come! This R package was inspired by cowsay and praise. I hope this package made you smile today!

First things first

ohwhaley is a toy project and is still under development. You can install the latest version from GitHub with:

# install.packages("remotes")
remotes::install_github("fontikar/ohwhaley")

Take it for a spin

ohwhaley contains one function only. say() will echo a randomly chosen whale-themed phrase for your enjoyment.

library(ohwhaley)
 
say() 
#> 
#>             ------ 
#>            What do you call a pod of noisy whales?        An ORCASTRA! 
#>             ------ 
#>                \   
#>                 \  
#>                  \
#>      .-'
#> '--./ /     _.---.
#> '-,  (__..-`       \
#>    \          .     |
#>     `,.__.   ,__.--/
#>      '._/_.'___.-`

Alternatively, you can supply your own phrase

say("I'm beached as bro!!!")
#> 
#>             ------ 
#>            I'm beached as bro!!! 
#>             ------ 
#>                \   
#>                 \  
#>                  \
#>      .-'
#> '--./ /     _.---.
#> '-,  (__..-`       \
#>    \          .     |
#>     `,.__.   ,__.--/
#>      '._/_.'___.-`

ohwhaley's People

Contributors

fontikar avatar jrfep avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

ohwhaley's Issues

Change the say.R function to accept alternative ASCII art ?

Just a random idea on a Saturday morning:

What if you change the say.R function to accept a custom string for the ASCII art?

Something like:

say <- function(what, asciiArt=NULL){
 if (is.null(asciiArt)) {
  asciiArt <- whale...
 }
...
} 

So you could have a collection of whale ASCII art and phrases and combine both... just for fun!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.