Skip to content

incorrect export #10

Description

@BenWilliams-NOAA

#' @export setup_mse_options

the name does not match the function being exported (and lower down the function is listed, but not exported)
I recommend using @export and leaving it blank, then the function name won't be hard coded - a la:

#' Setup Management Procedure Object
#' 
#' Set MP object list items to reasonable default values.
#'
#' @export 
#'
#' @example
#' \dontrun{
#'     setup_mp_options() 
#' }
setup_mp_options <- function(){

    return(
        list(
            hcr = setup_hcr_options(),
            ref_points = list(
                spr_target = 0.40
            ),
            management = list(
                abc_tac_reduction = 1,
                tac_land_reduciton = 1
            ),
            survey_frequency = 1,
            assessment_frequency = 1
        )
    )

}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions