knitr::opts_chunk$set(echo = TRUE)

This R markdown would give the instruction on how to install the package CircleAreaPack. First of all, the package can be installed via the use of 'devtools'.

library(devtools) # Make sure that the devtools library is loaded
install_github("jackch-man/CircleArea_pack")

After the installation of the package, the package can now be called by inputting the codes in below:

library(CircleAreaPack)

The use of function is for find the area of a circle by giving out a value of radius.

Cir_area(20)


jackch-man/CircleArea_pack documentation built on Dec. 20, 2021, 8:05 p.m.