From 2d5b0164ee358bfbe1991b1ecaa72c03a62457e9 Mon Sep 17 00:00:00 2001 From: Sharon Zeldin Date: Wed, 21 Jun 2023 12:11:44 -0400 Subject: [PATCH 1/3] add multiplication to description --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index e8a4ffb..2ca8594 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: my.package Title: This is my first R package Version: 0.0.0.9000 Authors@R: - person(given = "W. Evan", + person(given = "William. Evan", family = "Johnson", role = c("aut", "cre"), email = "w.evan.johnson@rutgers.edu", From 131b2287ab94e355fba9b6162326e62a090f4c97 Mon Sep 17 00:00:00 2001 From: Sharon Zeldin Date: Wed, 21 Jun 2023 13:09:20 -0400 Subject: [PATCH 2/3] change name and other things --- R/subtract copy.R | 16 ++++++++++++++++ multiplicationR.R | 0 2 files changed, 16 insertions(+) create mode 100644 R/subtract copy.R create mode 100644 multiplicationR.R diff --git a/R/subtract copy.R b/R/subtract copy.R new file mode 100644 index 0000000..e811ab9 --- /dev/null +++ b/R/subtract copy.R @@ -0,0 +1,16 @@ +#' This is my subtract function +#' +#' @param x this is the first value +#' @param y this is the second value to subtract +#' +#' @return This function returns the difference of x and y +#' +#' @examples +#' ## Start with something simple +#' subtract(1,1) +#' +#' ## Now something more difficult +#' subtract(49,60) +#' +#' @export +subtract <- function(x,y){x-y} diff --git a/multiplicationR.R b/multiplicationR.R new file mode 100644 index 0000000..e69de29 From f0ee4b8ab9948a43b538467643efa8cf7716f45f Mon Sep 17 00:00:00 2001 From: Sharon Zeldin Date: Wed, 21 Jun 2023 13:13:37 -0400 Subject: [PATCH 3/3] moved multiplication --- R/multiplicationR.R | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 R/multiplicationR.R diff --git a/R/multiplicationR.R b/R/multiplicationR.R new file mode 100644 index 0000000..e69de29