Skip to content

Commit

Permalink
Rename TaxaUpdateExtractor class
Browse files Browse the repository at this point in the history
  • Loading branch information
d2gex committed Apr 5, 2024
1 parent db9a3dc commit bb1b0ea
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 96 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export("%>%")
export(FishlifeLHTNameSpace)
export(MixinUtilities)
export(PredictedLHTPicker)
export(TaxaUpdateExtractor)
export(TaxaUpdatedLHTBuilder)
export(TaxaUpdatedLHTGetter)
export(TaxonPredictedLHTGetter)
export(TaxonUpdatedLHTBuilder)
Expand Down
2 changes: 1 addition & 1 deletion R/taxa_update_extractor.R → R/taxa_updated_lht_builder.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' @description
#' Class that extracts and transform predicted values of LHTs for multiple species obtained from FishLife
TaxaUpdateExtractor <- R6::R6Class("TaxaUpdateExtractor", inherit = MixinUtilities, public = list(
TaxaUpdatedLHTBuilder <- R6::R6Class("TaxaUpdatedLHTBuilder", inherit = MixinUtilities, public = list(
update_prefix = NULL,
lht_names = NULL,
backtransform_function_list = NULL,
Expand Down
2 changes: 1 addition & 1 deletion R/updated_lht_picker.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ UpdatedLHTPicker <- R6::R6Class("UpdatedLHTPicker", public = list(
self$lht_names
)
updated_lhts <- u_lht_gen$update()
t_update_extractor <- TaxaUpdateExtractor$new(
t_update_extractor <- TaxaUpdatedLHTBuilder$new(
self$updated_prefix,
self$lht_names,
self$backtransform_function_list,
Expand Down
92 changes: 0 additions & 92 deletions man/TaxaUpdateExtractor.Rd

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test_that("Multiple taxon's LHTS have been extracted and backtransformed", {
)
updated_lhts <- p_lht_gen$update()

taxa_extractor <- TaxaUpdateExtractor$new(
taxa_extractor <- TaxaUpdatedLHTBuilder$new(
fishlife_context$updated_prefix,
fishlife_context$lht_names,
fishlife_context$backtransform_function_list,
Expand Down

0 comments on commit bb1b0ea

Please sign in to comment.