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
17 changes: 10 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
Package: my.package
Title: This is my first R package
Version: 0.0.0.9000
Authors@R:
person(given = "Evan",
family = "Johnson",
role = c("aut", "cre"),
email = "wevanjohnson@gmail.com",
comment = c(ORCID = "YOUR-ORCID-ID"))
Authors@R: c(
person(given = "Evan",
family = "Johnson",
role = c("aut", "cre"),
email = "wevanjohnson@gmail.com"),
person(given = "Jennifer",
family = "Soldatich",
role = c("aut"))
)
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)
16 changes: 16 additions & 0 deletions R/multiply.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#' This is my multiply function
#'
#' @param x this is the first value to multiply
#' @param y this is the second value to multiply
#'
#' @return This function returns the product of x and y
#'
#' @examples
#' ## Start with something simple
#' multiply(1, 1)
#'
#' ## Now something more difficult
#' multiply(49, 60)
#'
#' @export
multiply <- function(x, y){x * y}
27 changes: 27 additions & 0 deletions man/multiply.Rd

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