The goal of mypackage is to print a personalised greeting from me
You can install the devlopment version of mypackage from GitHub with:
devtools::install_github("sjmorris1/mypackage")
This is a basic example which shows you how to print a generic greeting:
library(mypackage)
## basic example code
hello()
#>
#>
#> -----
#> Hello world from Sam!
#> ------
#> \
#> \ __
#> / \
#> | |
#> @ @
#> || ||
#> || ||
#> |\_/|
#> \___/ GB
This is a basic example which shows you how to print a personalised greeting:
hello(name = "John Smith")
#>
#> -----
#> Hello John Smith from Sam!
#> ------
#> \
#> \
#> '\__
#> (o ) ___
#> <>(_)(_)(___)
#> < < > >
#> ' ' ` ` [nosig]
#>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.