Skip to content

Commit

Permalink
Remove support for PopulationPyramid and TaskParameters S4 classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
celiot-IDM committed Dec 15, 2022
1 parent d4fd4e0 commit 5d79ca9
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 303 deletions.
6 changes: 0 additions & 6 deletions pacehrh/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ Collate:
'pace_utils.R'
'pace_lint.R'
'pace_trace.R'
'pace_pop_pyramid_class.R'
'pace_task_params_class.R'
'pace_add_method.R'
'pace_getValue_method.R'
'pace_setFromVector_method.R'
'pace_setValue_method.R'
'pace_config.R'
'pace_pop_rates_config.R'
'pace_exp_control.R'
Expand Down
4 changes: 0 additions & 4 deletions pacehrh/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export(PlotPyramids)
export(PlotResultsFertilityRates)
export(PlotResultsMortalityRates)
export(PlotResultsPopulationCurve)
export(PopulationPyramid)
export(ReadAndCollateSuiteResults)
export(ReadScenario)
export(RunExperiments)
Expand All @@ -35,11 +34,8 @@ export(SaveSuiteDemographics)
export(SaveSuiteResults)
export(SetGlobalStartEndYears)
export(SetRoundingLaw)
export(TaskParameters)
export(Trace)
export(UpdateScenario)
exportClasses(PopulationPyramid)
exportClasses(TaskParameters)
import(data.table)
importFrom(dplyr,group_by)
importFrom(dplyr,summarize)
Expand Down
45 changes: 0 additions & 45 deletions pacehrh/R/pace_add_method.R

This file was deleted.

30 changes: 0 additions & 30 deletions pacehrh/R/pace_getValue_method.R

This file was deleted.

31 changes: 0 additions & 31 deletions pacehrh/R/pace_pop_pyramid_class.R

This file was deleted.

4 changes: 2 additions & 2 deletions pacehrh/R/pace_population_config.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#'
#' @param sheetName Sheet name from the model input Excel file
#'
#' @return List with three \code{PopulationPyramid} objects:
#' \code{female}, \code{male} and \code{total}
#' @return Tibble with three population pyramid fields:
#' \code{Female}, \code{Male} and \code{Total}
#'
loadInitialPopulation <- function(sheetName = "TotalPop"){
popData <- readxl::read_xlsx(GPE$inputExcelFile, sheet = sheetName)
Expand Down
32 changes: 0 additions & 32 deletions pacehrh/R/pace_setFromVector_method.R

This file was deleted.

9 changes: 0 additions & 9 deletions pacehrh/R/pace_setValue_method.R

This file was deleted.

26 changes: 0 additions & 26 deletions pacehrh/R/pace_task_params_class.R

This file was deleted.

21 changes: 0 additions & 21 deletions pacehrh/man/PopulationPyramid-class.Rd

This file was deleted.

19 changes: 0 additions & 19 deletions pacehrh/man/TaskParameters-class.Rd

This file was deleted.

19 changes: 0 additions & 19 deletions pacehrh/man/add-PopulationPyramid-PopulationPyramid-method.Rd

This file was deleted.

19 changes: 0 additions & 19 deletions pacehrh/man/add-TaskParameters-TaskParameters-method.Rd

This file was deleted.

4 changes: 2 additions & 2 deletions pacehrh/man/loadInitialPopulation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions pacehrh/man/setFromVector-PopulationPyramid-numeric-method.Rd

This file was deleted.

19 changes: 0 additions & 19 deletions pacehrh/tests/testthat/test-pace_pop_pyramid_class.R

This file was deleted.

0 comments on commit 5d79ca9

Please sign in to comment.