Skip to content

Commit

Permalink
clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Naeemkh committed Mar 11, 2024
1 parent 5d0f796 commit b597afb
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 476 deletions.
255 changes: 0 additions & 255 deletions R/check_arguments.R

This file was deleted.

3 changes: 0 additions & 3 deletions R/estimate_gps.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ estimate_gps <- function(.data,

start_time <- proc.time()

# Check passed arguments -----------------------------------------------------
check_args_estimate_gps(gps_density, ...)

id_exist <- any(colnames(.data) %in% "id")
if (!id_exist) stop(".data should include id column.")

Expand Down
12 changes: 0 additions & 12 deletions R/generate_pseudo_pop.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,9 @@ generate_pseudo_pop <- function(.data,
# function call
fcall <- match.call()

# Check arguments ----------------------------------------
# check_args(ci_appr, use_cov_transform, transformers,
# gps_density, exposure_trim_qtls, ...)

# Generate output set ------------------------------------
counter <- 0

## collect additional arguments
# dot_args <- list(...)
# arg_names <- names(dot_args)
#
# for (i in arg_names){
# assign(i, unlist(dot_args[i], use.names = FALSE))
# }

# collect exposure and covariate columns
exposure_col <- cw_obj$params$exposure_col
covariate_cols <- covariate_col_names
Expand Down
33 changes: 0 additions & 33 deletions man/check_args.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/check_args_compile_pseudo_pop.Rd

This file was deleted.

22 changes: 0 additions & 22 deletions man/check_args_estimate_gps.Rd

This file was deleted.

22 changes: 0 additions & 22 deletions man/check_args_use_cov_transformers.Rd

This file was deleted.

Loading

0 comments on commit b597afb

Please sign in to comment.