diff --git a/DESCRIPTION b/DESCRIPTION index a5e6300..b368a90 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,10 +2,10 @@ Package: my.package Title: This is my first R package Version: 0.0.0.9000 Authors@R: - person(given = "Evan", - family = "Johnson", + person(given = "Danyal", + family = "Siddiqui", role = c("aut", "cre"), - email = "wevanjohnson@gmail.com", + email = "None", comment = c(ORCID = "YOUR-ORCID-ID")) Description: This is my new package to do addition, subtraction, and multiplication License: Artistic 2.0 diff --git a/R/multiply.R b/R/multiply.R new file mode 100644 index 0000000..97a9e22 --- /dev/null +++ b/R/multiply.R @@ -0,0 +1,17 @@ +#' This is Danyal's multiplication function +#' +#' @param x this is the first value to multiply +#' @param y this is the second value to multiply +#' +#' @return This function returns the product of x and y +#' +#' @examples +#' ## Start with something simple +#' add(2,3) +#' +#' ## Now something more difficult +#' add(345,678) +#' +#' @export + +multiply <- function(x,y){x*y}