Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Authors@R:
role = c("aut", "cre"),
email = "wevanjohnson@gmail.com",
comment = c(ORCID = "YOUR-ORCID-ID"))
person(given = “Joseph”,
           family = “Tantillo”,
           role = "aut",
           email = “joseph.s.tantillo@gmail.com")
Description: This is my new package to do addition, subtraction, and multiplication
License: Artistic 2.0
Encoding: UTF-8
Expand Down
13 changes: 13 additions & 0 deletions R/multiply.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Multiply two numbers
#'
#' This function multiplies two numeric values and returns the result.
#'
#' @param a A numeric value to be multiplied.
#' @param b A numeric value to be multiplied.
#' @return The product of `a` and `b`.
#' @examples
#' multiply(2, 3) # Returns 6
#' multiply(5, 10) # Returns 50
multiply <- function(a, b) {
return(a * b)
}