Skip to content

Commit

Permalink
updating package
Browse files Browse the repository at this point in the history
  • Loading branch information
CarissaGervasi-NOAA committed Jan 28, 2025
1 parent b873fa2 commit 88bc555
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 25 deletions.
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ Authors@R:
person(given = "Brittany",
family = "Troast",
email = "[email protected]",
role = c("aut", "cre"),
role = c("aut")),
person(given = "Brendan",
family = "Turley",
email = "[email protected]",
role = c("aut", "cre")
role = c("aut")),
person(given = "Willem",
family = "Klajbor",
email = "[email protected]",
role = c("aut", "cre"))
role = c("aut")))
Maintainer: The package maintainer <[email protected]>
Description: This package contains standardized functions used to create and plot indicator data for NOAA IEA Ecosystem Status Reports. It was specifically created for the Gulf of Mexico IEA.
License: What license is it under?
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
1 change: 1 addition & 0 deletions IEAnalyzeR.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace
4 changes: 3 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
exportPattern("^[[:alpha:]]+")
# Generated by roxygen2: do not edit by hand

export(hello)
31 changes: 14 additions & 17 deletions R/hello.R
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
# Hello, world!
#
# This is an example function named 'hello'
# which prints 'Hello, world!'.
#
# You can learn more about package authoring with RStudio at:
#
# https://r-pkgs.org
#
# Some useful keyboard shortcuts for package authoring:
#
# Install Package: 'Ctrl + Shift + B'
# Check Package: 'Ctrl + Shift + E'
# Test Package: 'Ctrl + Shift + T'

hello <- function() {
print("Hello, world!")
#' Personal greeting
#'
#' @description Greet a person and appropriately capitalize their name.
#'
#' @param name Your name (character string; e.g. "john doe").
#'
#' @return A character string, capitalized to title case.
#' @export
#'
#' @examples
#' hello("james bond")
hello <- function(name = "your name") {
name <- stringr::str_to_title(name)
print(paste("Hello,", name))
}
16 changes: 12 additions & 4 deletions man/hello.Rd

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

0 comments on commit 88bc555

Please sign in to comment.