This is readme for home work 8. The package which I created is ArithmeticBasic. I tried building a new package from scratch. This package has one function square_vect which gives the square value of the input. More functions can be added to perform more arithmetic functions. This package can be used through the steps given below.
library(devtools)
install_github("69069145/ArithmeticBasic")
## Using github PAT from envvar GITHUB_PAT
## Downloading GitHub repo 69069145/ArithmeticBasic@master
## Installing ArithmeticBasic
## "C:/PROGRA~1/R/R-32~1.2/bin/x64/R" --no-site-file --no-environ --no-save \
## --no-restore CMD INSTALL \
## "C:/Users/Harman/AppData/Local/Temp/RtmpuSN7Y1/devtools1c8037566c/69069145-ArithmeticBasic-7e6cb0e" \
## --library="C:/Users/Harman/Documents/R/win-library/3.2" \
## --install-tests
library(ArithmeticBasic)
Now having installed and loaded this package we can use the functions inside the package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.