Skip to content

Commit

Permalink
change file name
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxo-m committed Nov 4, 2024
1 parent 352a5b4 commit 03b7e3e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data-raw/generate_allocation_rule_files_for_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ allocation_rule <- learn_allocation_rule(
models, N_total = 150, N_ini = rep(10, 5), N_block = 10, Delta = 1.3,
outcome_type = "continuous", sd_normal = sqrt(4.5), seed = 314,
rl_config = rl_config_set(iter = 1, model = rl_dnn_config(fcnet_hiddens = c(1, 1))),
output_dir = "for_test", output_base_dir = "inst/allocation_rules",
output_dir = "allocation_rule_for_test", output_base_dir = "inst/extdata",
alpha = 0.025
)
Binary file not shown.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/testthat/test-allocation_rule.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
skip_on_cran()

file_name_for_test <- "for_test"
file_name_for_test <- "allocation_rule_for_test"
dirpath_for_test <- system.file("extdata", package = "RLoptimal")
filepath_for_test <- system.file("extdata/for_test", package = "RLoptimal")
filepath_for_test <- system.file("extdata/allocation_rule_for_test", package = "RLoptimal")

setup_python()

Expand Down

0 comments on commit 03b7e3e

Please sign in to comment.