You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed an issue where option_flags reference class was improperly referenced, causing unintended consequences using multiple agepro_model instances (#85)
Make option_flag R6class a non-shared Reference, and instantiate reference per agepro_model class instance.
During agepro_model instantiation, each "options w/ options_flags" is instantiated with an option_flag class reference.
Use formals to detect parameter defaults to determine option_flag is enabled at initialization:
max_bounds, percentile_summary, reference_points, scaling_factors: Initialize with a non-default parameter: set its flag to TRUE; If all class parameters match default values, set the flag to FALSE.
retrospective_adjustments: removed default value for retro_adjust. If retrospective_adjust is missing in a new instances of this class, set enable_retrospective_adjustments to FALSE. Otherwise, its TRUE
Fixup option_flags inconsistencies, messages
cli consistency tweaks (R message format)
Reworded Rconsole to represent the keyword parameter class field names.
Console alert symbols ℹ️ (or i) focuses on keyword parameter classes fields; ◀️ (or <) for a interface event (or input line read)
Output from initializing agepro_model classes or "printing" AGEPRO keyword parameters classes, will print under the R message format.
Pass print_parameter_table output through capture_output_as_message
Replaces use of tibbles for output; Removes tibble dependency.
Replaces redundant function cli_print_process_error_table in process_error class.
Added verbosity toggle to specifically show General Parameters to R console during agepro_model initialization. TRUE by default.
Bootstrap
Clarified bootstrap_file warning message for relative path cases
cli fix to show Bootstrap File at agepro_model initialization
Replace test AGEPRO input File, Bootstrap File, and json input file with AGEPRO-GUI Hawaii Uku Example, based on 2020 Hawaii Uku (Aprion virescens) Assessment.
Hawaii Uku JSON input file imported from Hawaii Uku AGEPRO input file.