Skip to content

Commit

Permalink
style and docs: run devtools::document() and styler::style_pkg() (#522)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea-Havron-NOAA <Andrea-Havron-NOAA@users.noreply.github.com>
  • Loading branch information
1 parent 6a083f9 commit 1fdf86d
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 1fdf86d

Please sign in to comment.