Skip to contents

The goal of mypackage is to print a personalised greeting from me!

Installation

You can install the development version of mypackage from GitHub with:

# install.packages("remotes")
remotes::install_github("annakrystalli/mypackagedemo")

Example

This is a basic example which shows you how to print a generic greeting:

library(mypackagedemo)
## basic example code
hello()
## 
##  ------------------------ 
## < Hello world from Anna! >
##  ------------------------ 
##         \
##          \
## 
##            _,
##       -==<' `
##           ) /
##          / (_.
##         |  ,-,`\
##          \\   \ \
##           `\,  \ \
##            ||\  \`|,
##  jgs      _|| `=`-'
##          ~~`~`

This is a basic example which shows you how to print a personalised greeting:

hello(name = "Lucy Elen")
## 
##  ---------------------------- 
## < Hello Lucy Elen from Anna! >
##  ---------------------------- 
##       \
##        \
## 
##         ^__^ 
##         (oo)\ ________ 
##         (__)\         )\ /\ 
##              ||------w|
##              ||      ||