From e89b813a4f69ce0cd762719b4c5ed074fab6f573 Mon Sep 17 00:00:00 2001 From: natLIMbio Date: Thu, 5 Feb 2026 17:11:55 -0500 Subject: [PATCH] FDS HW 3 Step 5 Added myself as an author and made the multiply.R function --- DESCRIPTION | 5 +++++ R/multiply.R | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 R/multiply.R diff --git a/DESCRIPTION b/DESCRIPTION index a5e6300..cf977c0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -7,6 +7,11 @@ Authors@R: role = c("aut", "cre"), email = "wevanjohnson@gmail.com", comment = c(ORCID = "YOUR-ORCID-ID")) + person(given = "Nat", + family = "Lim", + role = c("contributor"), + email = "nat.lim@rutgers.edu", + comment = c("yay hopefully this works")) Description: This is my new package to do addition, subtraction, and multiplication License: Artistic 2.0 Encoding: UTF-8 diff --git a/R/multiply.R b/R/multiply.R new file mode 100644 index 0000000..2b7c4e8 --- /dev/null +++ b/R/multiply.R @@ -0,0 +1,6 @@ +# This is a multiplication function R code +# Any 2 numbers filled in for (x,y) +# will be multiplied for a new result +# multiply(2,3) in the terminal will return the answer +# in this case, 6 +multiply <- function(x,y){x*y}