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,13 +2,13 @@ Package: my.package
Title: This is my first R package
Version: 0.0.0.9000
Authors@R:
person(given = "Evan",
family = "Johnson",
person(given = "Paige",
family = "Hart-Johnson",
role = c("aut", "cre"),
email = "wevanjohnson@gmail.com",
email = "paigehart11@gmail.com",
comment = c(ORCID = "YOUR-ORCID-ID"))
Description: This is my new package to do addition, subtraction, and multiplication
License: Artistic 2.0
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.0.0
RoxygenNote: 7.3.3
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Generated by roxygen2: do not edit by hand

export(add)
export(multiply)
export(subtract)
12 changes: 12 additions & 0 deletions R/multiply.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#' Multiply two numbers
#'
#' This function multiplies two numeric values.
#'
#' @param x A numeric value
#' @param y A numeric value
#'
#' @return The product of x and y
#' @export
multiply <- function(x, y) {
x * y
}
19 changes: 19 additions & 0 deletions man/multiply.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.