Merck / gsdmvn

The goal of gsdmvn is to enable group sequential trial design for time-to-event endpoints under non-proportional hazards assumptions.
http://merck.github.io/gsdmvn/
GNU General Public License v3.0
3 stars 5 forks source link

add independent test files #8

Closed LittleBeannie closed 2 years ago

LittleBeannie commented 2 years ago

All the independent test files are uploaded. Please take a look. (There is a tiny bug to be fixed before merging. Let's discuss it tomorrow).

elong0527 commented 2 years ago

Seems we need to fix few issues.

  1. Error: Error: 'gs_create_arm' is not an exported object from 'namespace:gsdmvn'

replace gs_create_arm to gsdmvn:::gs_create_arm in the test code.

  1. ── Warning (test-independent_test_gs_design_combo.R:1:1): (code run outside of test_that()) ── cannot open compressed file './tests/testthat/fixtures/sim_gsd_pMaxCombo_exp1_H0_test.Rdata', probable reason 'No such file or directory'

The folder relative path may need to be double checked.

  1. ❯ checking top-level files ... NOTE Non-standard file/directory found at top level: ‘_config.yml’

❯ checking Rd line widths ... NOTE Rd file 'gs_power_npe.Rd': \examples lines wider than 100 characters: upar = list(sf = gsDesign::sfLDOF, total_spend = 0.025, param = NULL, timing = NULL), lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.025, param = NULL, timing = NULL))

These lines will be truncated in the PDF manual.