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
Andrea-Havron-NOAA authored Dec 14, 2023
1 parent 6a083f9 commit e0e606a
Show file tree
Hide file tree
Showing 12 changed files with 459 additions and 469 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 e0e606a

Please sign in to comment.