Package: FLasher 0.7.3

Iago Mosqueira

FLasher: Projection and Forecasting of Fish Populations, Stocks and Fleets

Projection of future population and fishery dynamics is carried out for a given set of management targets. A system of equations is solved, using Automatic Differentation (AD), for the levels of effort by fishery (fleet) that will result in the required abundances, catches or fishing mortalities.

Authors:Iago Mosqueira [aut, cre], Finlay Scott [aut]

FLasher_0.7.3.tar.gz
FLasher_0.7.3.zip(r-4.7)FLasher_0.7.3.zip(r-4.6)FLasher_0.7.3.zip(r-4.5)
FLasher_0.7.3.tgz(r-4.6-x86_64)FLasher_0.7.3.tgz(r-4.6-arm64)FLasher_0.7.3.tgz(r-4.5-x86_64)FLasher_0.7.3.tgz(r-4.5-arm64)
FLasher_0.7.3.tar.gz(r-4.7-arm64)FLasher_0.7.3.tar.gz(r-4.7-x86_64)FLasher_0.7.3.tar.gz(r-4.6-arm64)FLasher_0.7.3.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
FLasher/json (API)
NEWS

# Install 'FLasher' in R:
install.packages('FLasher', repos = c('https://ices-tools-prod.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/flr/flasher/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • biols - An FLBiols object used in mixed fishery vignette
  • flfs - An FLBiols object used in mixed fishery vignette

On CRAN:

Conda:

forecastfisheriesflrcpp

7.50 score 2 stars 7 packages 312 scripts 32 exports 30 dependencies

Last updated from:1376189428. Checks:3 ERROR, 1 OK, 8 WARNING, 1 FAIL. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR528
linux-devel-x86_64ERROR538
source / vignettesOK278
linux-release-arm64WARNING260
linux-release-x86_64WARNING272
macos-release-arm64WARNING155
macos-release-x86_64WARNING568
macos-oldrel-arm64WARNING234
macos-oldrel-x86_64WARNING582
windows-develERROR604
windows-releaseWARNING282
windows-oldrelWARNING295
wasm-releaseFAIL134

Exports:comparedrawFCBFCB<-fwdfwdControlGget_FLQuant_elementget_FLQuant_elementsitersiters<-make_test_operatingModelmatch_posns_namesmergepartialFplotpropagaterandom_FLBiolcpp_generatorrandom_FLCatch_generatorrandom_FLCatches_generatorrandom_FLFisheries_generatorrandom_FLFishery_generatorrandom_FLQuant_generatorrandom_FLQuant_list_generatorrandom_fwdBiols_list_generatorrandom_fwdControl_generatorshowssb_flashstfsummarytargettarget<-

Dependencies:clicowplotcpp11data.tablefarverFLCoreFLFisheryggplot2ggplotFLggrepelgluegridExtragtableisobanditeratorslabelinglatticelifecycleMASSMatrixpatchworkR6RColorBrewerRcpprlangS7scalesvctrsviridisLitewithr

Introduction to FLasher

Rendered fromFLasher_intro.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2025-08-11
Started: 2017-09-06

FLasher reference manual

Rendered fromFLasher_reference.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2021-09-01
Started: 2016-10-11

Readme and manuals

Help Manual

Help pageTopics
Set and replacement accessors for fwdControl$,fwdControl-method $<-,fwdControl,AsIs-method $<-,fwdControl,vector-method [,fwdControl,ANY,ANY,ANY-method [<-,fwdControl,ANY,ANY,ANY-method [<-,fwdControl,ANY,ANY,vector-method
Add the order column to the control targetadd_target_order_fls
A base class for drawing FCB bitsbasicBlock basicBlock-class
A class for drawing a biological stockbiolBlock biolBlock-class
An FLBiols object used in mixed fishery vignettebiols flfs
Calculate fishing mortalitycalc_F
A class for drawing a catchcatchBlock catchBlock-class
Methods for coercing objects between classescoerce
Compare the result of a 'fwd()' run with the defined targets.compare,FLBiol,fwdControl-method compare,FLStock,fwdControl-method compare,fwdControl,FLStock-method
Generic method for drawing components the FCB matrixdraw draw,basicBlock-method draw,biolBlock-method draw,catchBlock-method draw,FCBDrawing-method draw,fisheryBlock-method draw,fwdControl-method draw,matrix-method draw-basicBlock draw-biolBlock draw-catchBlock draw-FCBDrawing draw-fisheryBlock draw-fwdControl draw-matrix draw-method
Create and extract the FCB slot in fwdControlFCB FCB,fwdControl-method FCB<-,fwdControl,matrix-method
A class for drawing the FCB matrixFCBDrawing FCBDrawing,matrix-method FCBDrawing-class FCBDrawing-matrix FCBDrawing-method
Fill up character slotsfillchar fillchar,FLBiols-method fillchar,FLFisheries-method
A class for drawing a fisheryfisheryBlock fisheryBlock-class
Method for running fishery projectionsfwd fwd,FLBiol,FLFisheries,fwdControl-method fwd,FLBiol,FLFishery,fwdControl-method fwd,FLBiol,FLFishery,missing-method fwd,FLBiols,FLFisheries,fwdControl-method fwd,FLBiols,FLFisheries,missing-method fwd,FLBiols,FLFishery,fwdControl-method fwd,FLStock,ANY,missing-method fwd,FLStock,missing,fwdControl-method fwd,FLStock,missing,missing-method
A class for the targets and limits of a fishery and stock projection.fwdControl fwdControl,data.frame,array-method fwdControl,data.frame,missing-method fwdControl,data.frame,numeric-method fwdControl,FLQuant,missing-method fwdControl,list,list-method fwdControl,list,missing-method fwdControl,missing,missing-method fwdControl-class fwdControl-methods G
Return 1D element index of an FLQuantget_FLQuant_element
Return 1D vector of element indices of an FLQuantget_FLQuant_elements
Make the plug in for inline CxxinlineCxxPlugin
Access and replace the iters slot of the fwdControliters,fwdControl-method iters<- iters<-,fwdControl,array-method
Make a test operating model from a single FLStock objectmake_test_operatingModel
Change names of biols, catches and fisheries in the control object into integer positionsmatch_posns_names
Call the CPP operatingModel run methodoperatingModelRun
Parse the list argument to fwd to make a fwdControl objectparsefwdList
Calculation of fisheries partial fishing mortalitiespartialF partialF,FLBiol,FLFisheries-method partialF,FLBiols,FLFisheries-method
plot methods that highlight years in fwdControlplot,FLQuant,fwdControl-method plot,FLQuants,fwdControl-method plot,FLStock,fwdControl-method plot,FLStocks,fwdControl-method
Propagate the fwdControlpropagate,fwdControl-method
Generate randomly sized and filled FLBiolcpp objectsrandom_FLBiolcpp_generator
Generate randomly sized and filled FLCatch objectsrandom_FLCatch_generator
Generates an FLCatches object - a list of randomly sized and filled FLCatch objectsrandom_FLCatches_generator
Generate a randomly filled and sized FLFisheries objectrandom_FLFisheries_generator
Generate a randomly filled and sized FLFishery objectrandom_FLFishery_generator
Generate randomly sized and filled FLQuant objectsrandom_FLQuant_generator
Generate lists of randomly sized and filled FLQuant objectsrandom_FLQuant_list_generator
Generates a list that can be passed to the CPP fwdBiols constructorrandom_fwdBiols_list_generator
Random fwdControl object creatorrandom_fwdControl_generator
Show method for fwdControlshow,fwdControl-method
Prepare object for future projectionstf stf,FLBiol-method stf,FLStock-method stf,FLStocks-method
summary method for fwdControlsummary summary,fwdControl-method
Access and replace the targettarget target,fwdControl-method target<- target<-,fwdControl,data.frame-method
Get the order of targets in a fwdControltargetOrder