Skip to content

Commit

Permalink
style and docs: run devtools::document() and styler::style_pkg()
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristineStawitz-NOAA committed Nov 28, 2023
1 parent 8fc62f5 commit a11faad
Show file tree
Hide file tree
Showing 12 changed files with 461 additions and 470 deletions.
8 changes: 4 additions & 4 deletions R/fimsframe.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ setClass(
data = "data.frame", # can use c( ) or list here.
fleets = "numeric",
nyrs = "integer",
start_year = "integer",
start_year = "integer",
end_year = "integer"
)
)
Expand Down Expand Up @@ -260,7 +260,7 @@ setValidity(
if (!"dateend" %in% colnames(object@data)) {
errors <- c(errors, "data must contain 'uncertainty'")
}


# TODO: Add checks for other slots

Expand Down Expand Up @@ -327,7 +327,7 @@ FIMSFrame <- function(data) {
data = data,
fleets = fleets,
nyrs = nyrs,
start_year = start_year,
start_year = start_year,
end_year = end_year
)
return(out)
Expand Down Expand Up @@ -357,7 +357,7 @@ FIMSFrameAge <- function(data) {
data = data,
fleets = fleets,
nyrs = nyrs,
start_year = start_year,
start_year = start_year,
end_year = end_year,
ages = ages,
nages = nages,
Expand Down
Loading

0 comments on commit a11faad

Please sign in to comment.