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
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Package: my.package
Title: This is my first R package
Version: 0.0.0.9000
Authors@R:
person(given = "Evan",
family = "Johnson",
person(given = "Chris",
family = "Hegde",
role = c("aut", "cre"),
email = "wevanjohnson@gmail.com",
comment = c(ORCID = "YOUR-ORCID-ID"))
email = "ch1199@gsbs.rutgers.edu",
comment = c("https://orcid.org/0000-0002-1386-4524"))
Description: This is my new package to do addition, subtraction, and multiplication
License: Artistic 2.0
Encoding: UTF-8
Expand Down
17 changes: 17 additions & 0 deletions R/multiply.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#' This is my multiply function
#'
#' @param x this is the first value
#' @param y this is the second value to multiply
#'
#' @return This function returns the product of x and y
#'
#' @examples
#' ## Easy
#' multiply(1,2)
#'
#' ## Intermediate
#' multiply(55,45)
#'
#' @export
multiply <- function(x,y){x*y}