test-add_ae_observation.R |
add_ae_observation |
add_ae_observation handles basic case correctly |
PASS |
6 |
0.140 |
|
test-add_ae_observation.R |
add_ae_observation |
add_ae_observation handles different ae_fields
correctly |
PASS |
2 |
0.138 |
|
test-add_ae_observation.R |
add_ae_observation |
add_ae_observation handles filters correctly |
PASS |
3 |
0.132 |
|
test-add_ae_observation.R |
add_ae_observation |
add_ae_observation handles debug mode correctly |
PASS |
3 |
0.095 |
|
test-add_ae_observation.R |
add_ae_observation |
add_ae_observation handles keep parameter
correctly |
PASS |
2 |
0.107 |
|
test-add_ae_observation.R |
add_ae_observation |
add_ae_observation handles automatic parent and cmt
assignment |
PASS |
2 |
0.095 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping adds correct mapping |
PASS |
5 |
0.006 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping uses custom analyte name when
provided |
PASS |
1 |
0.002 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping enforces unique EXTRT |
PASS |
2 |
0.005 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping can add multiple mappings with
different EXTRT |
PASS |
8 |
0.009 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping prevents updating existing EXTRT
mappings |
PASS |
2 |
0.006 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping validates input correctly |
PASS |
5 |
0.030 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping handles vector inputs with
warnings |
PASS |
6 |
0.015 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping rejects NA values |
PASS |
3 |
0.011 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping validates analyte parameter |
PASS |
2 |
0.008 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping initializes analyte_mapping when
NULL |
PASS |
4 |
0.006 |
|
test-add_analyte_mapping.R |
add_analyte_mapping |
add_analyte_mapping properly trims whitespace |
PASS |
3 |
0.004 |
|
test-add_baseline.R |
add_baseline |
add_baseline adds baseline covariate correctly |
PASS |
4 |
0.012 |
|
test-add_baseline.R |
add_baseline |
add_baseline handles custom baseline filter |
PASS |
2 |
0.010 |
|
test-add_baseline.R |
add_baseline |
add_baseline handles coding table correctly |
PASS |
2 |
0.009 |
|
test-add_baseline.R |
add_baseline |
add_baseline validates inputs correctly |
PASS |
4 |
0.015 |
|
test-add_baseline.R |
add_baseline |
add_baseline handles multiple baseline values
correctly |
PASS |
2 |
0.017 |
|
test-add_baseline.R |
add_baseline |
add_baseline handles empty result after filtering |
PASS |
1 |
0.007 |
|
test-add_baseline.R |
add_baseline |
add baseline hepatic function class works |
PASS |
2 |
0.018 |
|
test-add_baseline.R |
add_baseline |
add_baseline handles all NA baseline values
correctly |
PASS |
1 |
0.009 |
|
test-add_baseline.R |
add_baseline |
add_baseline warns when some baseline values are
NA |
PASS |
4 |
0.013 |
|
test-add_baseline.R |
add_baseline |
add_baseline validates required fields correctly |
PASS |
2 |
0.008 |
|
test-add_baseline.R |
add_baseline |
add_baseline name parameter works correctly |
PASS |
4 |
0.022 |
|
test-add_cfb.R |
add_cfb |
add_cfb works with valid input |
PASS |
5 |
0.059 |
|
test-add_cfb.R |
add_cfb |
add_cfb correctly handles baseline calculation with
time ≤ 0 |
PASS |
10 |
0.052 |
|
test-add_cfb.R |
add_cfb |
add_cfb handles NA values in grouping columns |
PASS |
3 |
0.015 |
|
test-add_cfb.R |
add_cfb |
add_cfb works with different summary functions |
PASS |
3 |
0.014 |
|
test-add_cfb.R |
add_cfb |
add_cfb works with custom baseline filter |
PASS |
1 |
0.008 |
|
test-add_cfb.R |
add_cfb |
add_cfb handles missing required columns |
PASS |
2 |
0.010 |
|
test-add_cfb.R |
add_cfb |
add_cfb handles non-numeric columns |
PASS |
2 |
0.010 |
|
test-add_cfb.R |
add_cfb |
add_cfb correctly handles complex baseline filters |
PASS |
10 |
0.015 |
|
test-add_cfb.R |
add_cfb |
add_cfb correctly handles empty baseline sets |
PASS |
2 |
0.008 |
|
test-add_cfb.R |
add_cfb |
add_cfb correctly handles baseline filter with missing
values |
PASS |
8 |
0.015 |
|
test-add_cfb.R |
add_cfb |
add_cfb correctly handles baseline filter with
character columns |
PASS |
7 |
0.021 |
|
test-add_covariate.R |
add_covariate |
add_covariate works with valid inputs |
PASS |
9 |
0.031 |
|
test-add_covariate.R |
add_covariate |
add_covariate validates nif object |
PASS |
1 |
0.006 |
|
test-add_covariate.R |
add_covariate |
add_covariate validates sdtm is provided |
PASS |
1 |
0.007 |
|
test-add_covariate.R |
add_covariate |
add_covariate validates domain exists |
PASS |
1 |
0.006 |
|
test-add_covariate.R |
add_covariate |
add_covariate validates required fields exist |
PASS |
1 |
0.007 |
|
test-add_covariate.R |
add_covariate |
add_covariate validates testcd exists |
PASS |
1 |
0.007 |
|
test-add_covariate.R |
add_covariate |
add_covariate validates matching subjects exist |
PASS |
1 |
0.007 |
|
test-add_covariate.R |
add_covariate |
add_covariate casts error if no data after
filtering |
PASS |
1 |
0.008 |
|
test-add_covariate.R |
add_covariate |
add_covariate works with custom field names |
PASS |
1 |
0.016 |
|
test-add_covariate.R |
add_covariate |
add_covariate handles duplicated observations
correctly |
PASS |
1 |
0.018 |
|
test-add_covariate.R |
add_covariate |
add_covariate uses default covariate name if not
specified |
PASS |
1 |
0.027 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping adds correct mapping |
PASS |
4 |
0.006 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping can add multiple mappings |
PASS |
6 |
0.008 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping prevents duplicate mappings |
PASS |
1 |
0.005 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping validates input correctly |
PASS |
5 |
0.017 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping handles vector inputs with
warnings |
PASS |
4 |
0.011 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping rejects NA values |
PASS |
2 |
0.007 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping initializes metabolite_mapping
when NULL |
PASS |
3 |
0.004 |
|
test-add_metabolite_mapping.R |
add_metabolite_mapping |
add_metabolite_mapping properly trims whitespace |
PASS |
2 |
0.004 |
|
test-add_observations.R |
add_observations |
add_observation warns about duplicate compartment |
PASS |
1 |
0.174 |
|
test-add_observations.R |
add_observations |
add_observation auto-assigns compartment if not
specified |
PASS |
2 |
0.171 |
|
test-add_observations.R |
add_observations |
add_observation auto-assigns parent if not
specified |
PASS |
1 |
0.160 |
|
test-add_observations.R |
add_observations |
add_observation properly uses observation_filter |
PASS |
1 |
0.134 |
|
test-add_observations.R |
add_observations |
add_observation works with factor parameter |
PASS |
1 |
0.226 |
|
test-add_observations.R |
add_observations |
add_observation handles metabolites correctly |
PASS |
1 |
0.181 |
|
test-add_observations.R |
add_observations |
add_observation works with custom NTIME_lookup |
PASS |
1 |
0.169 |
|
test-add_observations.R |
add_observations |
add_observation handles debug mode correctly |
PASS |
2 |
0.170 |
|
test-add_observations.R |
add_observations |
add_observation updates columns correctly |
PASS |
1 |
0.159 |
|
test-add_observations.R |
add_observations |
add_observation handles include_day_in_ntime
parameter |
PASS |
1 |
0.232 |
|
test-add_observations.R |
add_observations |
add_observation handles missing NTIME gracefully |
PASS |
3 |
0.107 |
|
test-add_observations.R |
add_observations |
add_observation handles DV field properly |
PASS |
2 |
0.447 |
|
test-add_observations.R |
add_observations |
add_observation handles subject filtering |
PASS |
1 |
0.103 |
|
test-add_observations.R |
add_observations |
add_observation can handle non-existent domain
gracefully |
PASS |
1 |
0.123 |
|
test-add_observations.R |
add_observations |
add_observation handles observations without matching
administrations |
PASS |
2 |
0.236 |
|
test-add_observations.R |
add_observations |
add_observation properly handles custom testcd
field |
PASS |
1 |
0.103 |
|
test-add_observations.R |
add_observations |
add_observation handles na.rm parameter when resolving
duplicates |
PASS |
2 |
0.140 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping adds correct parent mapping |
PASS |
4 |
0.006 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping can add multiple mappings |
PASS |
3 |
0.006 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping preserves existing mappings |
PASS |
3 |
0.005 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping validates input correctly |
PASS |
5 |
0.019 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping handles vector inputs with
warnings |
PASS |
4 |
0.011 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping rejects NA values |
PASS |
2 |
0.008 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping initializes parent_mapping when
NULL |
PASS |
3 |
0.005 |
|
test-add_parent_mapping.R |
add_parent_mapping |
add_parent_mapping properly trims whitespace |
PASS |
2 |
0.003 |
|
test-add_tad.R |
add_tad |
add_tad works with basic input |
PASS |
2 |
0.009 |
|
test-add_tad.R |
add_tad |
add_tad handles multiple administrations |
PASS |
1 |
0.007 |
|
test-add_tad.R |
add_tad |
add_tad handles observations before first dose |
PASS |
1 |
0.007 |
|
test-add_tad.R |
add_tad |
add_tad handles multiple parent compounds |
PASS |
1 |
0.007 |
|
test-add_tad.R |
add_tad |
add_tad handles empty data frame |
PASS |
2 |
0.003 |
|
test-add_tad.R |
add_tad |
add_tad handles missing required columns |
PASS |
1 |
0.004 |
|
test-add_tad.R |
add_tad |
add_tad preserves original data |
PASS |
2 |
0.008 |
|
test-add_tad.R |
add_tad |
add_tad handles NA values in TIME |
PASS |
1 |
0.006 |
|
test-add_tad.R |
add_tad |
add_tad returns a nif object |
PASS |
1 |
0.006 |
|
test-add_tafd.R |
add_tafd |
add_tafd works with basic input |
PASS |
2 |
0.008 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles observations before first dose |
PASS |
1 |
0.006 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles multiple administrations |
PASS |
1 |
0.006 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles multiple parent compounds |
PASS |
1 |
0.006 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles different first dose times |
PASS |
1 |
0.016 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles empty data frame |
PASS |
2 |
0.004 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles missing required columns |
PASS |
1 |
0.004 |
|
test-add_tafd.R |
add_tafd |
add_tafd validates input is a nif object |
PASS |
1 |
0.004 |
|
test-add_tafd.R |
add_tafd |
add_tafd preserves original data |
PASS |
2 |
0.008 |
|
test-add_tafd.R |
add_tafd |
add_tafd validates numeric data types |
PASS |
3 |
0.011 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles data with no dosing events |
PASS |
1 |
0.004 |
|
test-add_tafd.R |
add_tafd |
add_tafd returns a nif object |
PASS |
1 |
0.007 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles missing PARENT column by creating
it |
PASS |
2 |
0.010 |
|
test-add_tafd.R |
add_tafd |
add_tafd properly ungroups the result |
PASS |
2 |
0.007 |
|
test-add_tafd.R |
add_tafd |
add_tafd handles NA values in TIME correctly |
PASS |
2 |
0.007 |
|
test-add_tafd.R |
add_tafd |
add_tafd correctly handles NA values in ID column |
PASS |
1 |
0.004 |
|
test-add_tafd.R |
add_tafd |
add_tafd respects parent grouping with mixed dosing
times |
PASS |
1 |
0.007 |
|
test-add_tafd.R |
add_tafd |
add_tafd works with CMT column but no PARENT
column |
PASS |
2 |
0.010 |
|
test-ae_summary.R |
ae_summary |
ae_summary handles basic case correctly |
PASS |
5 |
0.008 |
|
test-ae_summary.R |
ae_summary |
ae_summary works with different levels |
PASS |
3 |
0.009 |
|
test-ae_summary.R |
ae_summary |
ae_summary handles show_cd parameter |
PASS |
2 |
0.005 |
|
test-ae_summary.R |
ae_summary |
ae_summary handles grouping |
PASS |
2 |
0.006 |
|
test-ae_summary.R |
ae_summary |
ae_summary handles ordering |
PASS |
1 |
0.004 |
|
test-ae_summary.R |
ae_summary |
ae_summary handles filtering |
PASS |
2 |
0.006 |
|
test-ae_summary.R |
ae_summary |
ae_summary handles invalid inputs |
PASS |
2 |
0.008 |
|
test-ae_summary.R |
ae_summary |
ae_summary handles empty data |
PASS |
2 |
0.004 |
|
test-ae_summary.R |
ae_summary |
ae_summary validates SDTM object structure |
PASS |
5 |
0.017 |
|
test-calculate_bmi.R |
calculate_bmi |
calculate_bmi works correctly for valid inputs |
PASS |
3 |
0.004 |
|
test-calculate_bmi.R |
calculate_bmi |
calculate_bmi handles NA values correctly |
PASS |
5 |
0.005 |
|
test-calculate_bmi.R |
calculate_bmi |
calculate_bmi handles invalid inputs correctly |
PASS |
4 |
0.004 |
|
test-calculate_bmi.R |
calculate_bmi |
calculate_bmi handles type errors correctly |
PASS |
2 |
0.007 |
|
test-calculate_bmi.R |
calculate_bmi |
calculate_bmi handles length mismatch correctly |
PASS |
1 |
0.003 |
|
test-df_to_string.R |
df_to_string |
df_to_string basic functionality works |
PASS |
6 |
0.008 |
|
test-df_to_string.R |
df_to_string |
df_to_string handles empty data frames |
PASS |
2 |
0.003 |
|
test-df_to_string.R |
df_to_string |
df_to_string respects n parameter |
PASS |
1 |
0.003 |
|
test-df_to_string.R |
df_to_string |
df_to_string handles color formatting |
PASS |
2 |
0.003 |
|
test-df_to_string.R |
df_to_string |
df_to_string handles NA values |
PASS |
1 |
0.002 |
|
test-df_to_string.R |
df_to_string |
df_to_string maintains column alignment |
PASS |
1 |
0.003 |
|
test-domain.R |
domain |
domain() returns correct data frames for existing
domains |
PASS |
2 |
0.003 |
|
test-domain.R |
domain |
domain() errors for non-existent domains |
PASS |
3 |
0.019 |
|
test-domain.R |
domain |
domain() is case-insensitive |
PASS |
4 |
0.004 |
|
test-domain.R |
domain |
domain() handles input validation correctly |
PASS |
5 |
0.016 |
|
test-domain.R |
domain |
domain() rejects vectors with multiple names |
PASS |
2 |
0.007 |
|
test-edish_plot.R |
edish_plot |
edish_plot handles valid input correctly |
PASS |
3 |
0.085 |
|
test-edish_plot.R |
edish_plot |
edish_plot validates enzyme parameter |
PASS |
1 |
0.007 |
|
test-edish_plot.R |
edish_plot |
edish_plot handles missing required lab tests |
PASS |
1 |
0.007 |
|
test-edish_plot.R |
edish_plot |
edish_plot handles zero ULN values |
PASS |
1 |
0.007 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte creates ANALYTE from CMT when
missing |
PASS |
2 |
0.003 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte preserves existing ANALYTE values |
PASS |
1 |
0.002 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte handles NA values in CMT |
PASS |
3 |
0.005 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte handles non-numeric CMT values |
PASS |
1 |
0.003 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte returns NIF object |
PASS |
2 |
0.003 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte errors on non-NIF input |
PASS |
1 |
0.004 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte errors when CMT is missing |
PASS |
1 |
0.005 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte handles empty data frame |
PASS |
3 |
0.005 |
|
test-ensure_analyte.R |
ensure_analyte |
ensure_analyte preserves other columns |
PASS |
3 |
0.004 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose creates DOSE field correctly |
PASS |
3 |
0.007 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles existing DOSE field |
PASS |
1 |
0.002 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles multiple doses per subject |
PASS |
1 |
0.006 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles NA values correctly |
PASS |
1 |
0.005 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles empty data frame |
PASS |
2 |
0.003 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles missing required columns |
PASS |
1 |
0.004 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles non-NIF input |
PASS |
1 |
0.003 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles unsorted data correctly |
PASS |
1 |
0.014 |
|
test-ensure_dose.R |
ensure_dose |
ensure_dose handles zero doses correctly |
PASS |
1 |
0.005 |
|
test-ensure_parent.R |
ensure_parent |
ensure_parent() works correctly |
PASS |
11 |
0.029 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad works with basic input |
PASS |
2 |
0.009 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles multiple administrations |
PASS |
1 |
0.007 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles observations before first dose |
PASS |
1 |
0.007 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles multiple parent compounds |
PASS |
1 |
0.007 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles empty data frame |
PASS |
3 |
0.008 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles missing required columns |
PASS |
1 |
0.005 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad preserves original data |
PASS |
2 |
0.009 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles NA values in TIME |
PASS |
1 |
0.007 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad returns a nif object |
PASS |
1 |
0.007 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles non-nif input |
PASS |
1 |
0.005 |
|
test-ensure_tad.R |
ensure_tad |
ensure_tad handles existing TAD column |
PASS |
1 |
0.002 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd works with basic input |
PASS |
2 |
0.008 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles multiple administrations |
PASS |
1 |
0.007 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles observations before first dose |
PASS |
1 |
0.007 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles multiple parent compounds |
PASS |
1 |
0.007 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles missing required columns |
PASS |
1 |
0.005 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd preserves original data |
PASS |
2 |
0.008 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles NA values in TIME |
PASS |
2 |
0.007 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd returns a nif object |
PASS |
1 |
0.006 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles non-nif input |
PASS |
1 |
0.005 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles existing TAFD column |
PASS |
1 |
0.002 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles non-numeric ID values |
PASS |
1 |
0.004 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles non-numeric EVID values |
PASS |
1 |
0.004 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles NA values in ID |
PASS |
1 |
0.004 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles no dosing events |
PASS |
1 |
0.004 |
|
test-ensure_tafd.R |
ensure_tafd |
ensure_tafd handles different first dose times |
PASS |
1 |
0.006 |
|
test-ensure_time.R |
ensure_time |
ensure_time works with TIME, TAD, and TAFD already
present |
PASS |
1 |
0.002 |
|
test-ensure_time.R |
ensure_time |
ensure_time calculates TIME, TAD, and TAFD from
DTC |
PASS |
4 |
0.013 |
|
test-ensure_time.R |
ensure_time |
ensure_time calculates TIME, TAD, and TAFD from
TIME |
PASS |
3 |
0.021 |
|
test-ensure_time.R |
ensure_time |
ensure_time handles multiple dosing events |
PASS |
3 |
0.012 |
|
test-ensure_time.R |
ensure_time |
ensure_time handles multiple parent compounds |
PASS |
3 |
0.010 |
|
test-ensure_time.R |
ensure_time |
ensure_time handles observations before first dose |
PASS |
3 |
0.013 |
|
test-ensure_time.R |
ensure_time |
ensure_time handles missing required columns |
PASS |
1 |
0.005 |
|
test-ensure_time.R |
ensure_time |
ensure_time preserves original data |
PASS |
3 |
0.013 |
|
test-ensure_time.R |
ensure_time |
ensure_time returns a nif object |
PASS |
1 |
0.010 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates works with default fields |
PASS |
5 |
0.008 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates works with custom fields |
PASS |
3 |
0.006 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates returns count only when requested |
PASS |
1 |
0.003 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates returns NULL when no duplicates
exist |
PASS |
1 |
0.003 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates works with return_all_cols = FALSE |
PASS |
4 |
0.007 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates handles missing fields |
PASS |
1 |
0.004 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates handles NA values |
PASS |
3 |
0.007 |
|
test-find_duplicates.R |
find_duplicates |
find_duplicates handles empty data frame |
PASS |
1 |
0.004 |
|
test-ggplot_extension.R |
ggplot_extension |
multiplication works |
PASS |
1 |
0.002 |
|
test-guess_ntime.R |
guess_ntime |
guess_ntime correctly parses various time formats |
PASS |
3 |
0.007 |
|
test-guess_ntime.R |
guess_ntime |
guess_ntime handles ISO 8601 dates with a warning |
PASS |
5 |
0.011 |
|
test-guess_ntime.R |
guess_ntime |
guess_ntime errors on missing PC domain |
PASS |
1 |
0.004 |
|
test-guess_ntime.R |
guess_ntime |
guess_ntime errors on missing PCTPT column |
PASS |
1 |
0.004 |
|
test-guess_ntime.R |
guess_ntime |
guess_ntime handles additional predose variations |
PASS |
4 |
0.006 |
|
test-guess_parent.R |
guess_parent |
guess_parent identifies analyte with most
administrations |
PASS |
1 |
0.003 |
|
test-guess_parent.R |
guess_parent |
guess_parent falls back to observations when no
administrations exist |
PASS |
1 |
0.005 |
|
test-guess_parent.R |
guess_parent |
guess_parent ignores metabolite observations |
PASS |
1 |
0.005 |
|
test-guess_parent.R |
guess_parent |
guess_parent prioritizes administrations over
observations |
PASS |
1 |
0.003 |
|
test-guess_parent.R |
guess_parent |
guess_parent returns NULL for empty dataset |
PASS |
1 |
0.005 |
|
test-guess_parent.R |
guess_parent |
guess_parent works with minimal dataset |
PASS |
1 |
0.003 |
|
test-guess_parent.R |
guess_parent |
guess_parent handles tied administration counts |
PASS |
1 |
0.003 |
|
test-guess_parent.R |
guess_parent |
guess_parent works with ensure_analyte |
PASS |
1 |
0.004 |
|
test-guess_parent.R |
guess_parent |
guess_parent returns NULL for dataset with only
metabolite observations |
PASS |
1 |
0.005 |
|
test-guess_parent.R |
guess_parent |
guess_parent handles NA values in key columns |
PASS |
1 |
0.004 |
|
test-guess_parent.R |
guess_parent |
guess_parent correctly counts tied observations when no
administrations exist |
PASS |
1 |
0.005 |
|
test-guess_pcspec.R |
guess_pcspec |
guess_pcspec works correctly |
PASS |
8 |
0.012 |
|
test-guess_pcspec.R |
guess_pcspec |
guess_pcspec handles errors correctly |
PASS |
5 |
0.026 |
|
test-guess_pcspec.R |
guess_pcspec |
guess_pcspec maintains data frame attributes |
PASS |
2 |
0.002 |
|
test-has_domain.R |
has_domain |
has_domain correctly identifies existing domains |
PASS |
6 |
0.006 |
|
test-has_domain.R |
has_domain |
has_domain is case-insensitive |
PASS |
4 |
0.004 |
|
test-has_domain.R |
has_domain |
has_domain handles input validation correctly |
PASS |
5 |
0.017 |
|
test-has_domain.R |
has_domain |
has_domain handles multiple domain names correctly |
PASS |
5 |
0.006 |
|
test-has_domain.R |
has_domain |
domain() rejects vectors with multiple names |
PASS |
1 |
0.004 |
|
test-has_domain.R |
has_domain |
has_domain works with example data |
PASS |
1 |
0.004 |
|
test-has_domain.R |
has_domain |
domain function behaviors |
PASS |
3 |
0.002 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection handles CSV data correctly |
PASS |
6 |
0.009 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection handles fixed-width data
correctly |
PASS |
6 |
0.008 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection auto-detects CSV format |
PASS |
2 |
0.005 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection auto-detects fixed-width
format |
PASS |
2 |
0.005 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection ignores comments and empty
lines |
PASS |
2 |
0.005 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection handles datetime conversion |
PASS |
3 |
0.005 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection handles custom delimiters |
PASS |
3 |
0.005 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection adds missing fields |
PASS |
3 |
0.005 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection respects no_numeric
parameter |
PASS |
3 |
0.004 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection handles errors correctly |
PASS |
3 |
0.012 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection detects invalid fixed-width
format |
PASS |
1 |
0.005 |
|
test-import_from_connection.R |
import_from_connection |
import_from_connection detects inconsistent CSV
format |
PASS |
1 |
0.004 |
|
test-import_nif.R |
import_nif |
import_nif loads CSV files correctly |
PASS |
6 |
0.010 |
|
test-import_nif.R |
import_nif |
import_nif loads fixed-width files correctly |
PASS |
6 |
0.008 |
|
test-import_nif.R |
import_nif |
import_nif automatically detects CSV format |
PASS |
2 |
0.004 |
|
test-import_nif.R |
import_nif |
import_nif automatically detects fixed-width
format |
PASS |
2 |
0.004 |
|
test-import_nif.R |
import_nif |
import_nif handles custom delimiter |
PASS |
2 |
0.004 |
|
test-import_nif.R |
import_nif |
import_nif handles no_numeric parameter correctly |
PASS |
2 |
0.006 |
|
test-import_nif.R |
import_nif |
import_nif handles date/time conversion |
PASS |
2 |
0.004 |
|
test-import_nif.R |
import_nif |
import_nif handles comments and empty lines |
PASS |
2 |
0.005 |
|
test-import_nif.R |
import_nif |
import_nif errors on file not found |
PASS |
1 |
0.004 |
|
test-import_observation.R |
import_observation |
import_observation validates input parameters
correctly |
PASS |
4 |
0.023 |
|
test-import_observation.R |
import_observation |
import_observation correctly handles DTC field |
PASS |
7 |
0.039 |
|
test-import_observation.R |
import_observation |
import_observation correctly handles NTIME field |
PASS |
7 |
0.033 |
|
test-import_observation.R |
import_observation |
import_observation automatically assigns compartment
when cmt is NULL |
PASS |
2 |
0.027 |
|
test-import_observation.R |
import_observation |
import_observation automatically determines parent when
parent is NULL |
PASS |
4 |
0.052 |
|
test-import_observation.R |
import_observation |
import_observation correctly joins subject data |
PASS |
4 |
0.029 |
|
test-import_observation.R |
import_observation |
import_observation correctly sets debug fields |
PASS |
3 |
0.045 |
|
test-imputations.R |
imputations |
impute_admin_times_from_pcrftdtc works |
FAILED |
1 |
0.056 |
🛑 |
test-imputations.R |
imputations |
impute_admin_times_from_pcrftdtc handles missing
data |
FAILED |
1 |
0.020 |
🛑 |
test-imputations.R |
imputations |
impute_admin_times_from_pcrftdtc handles date
mismatches |
FAILED |
1 |
0.018 |
🛑 |
test-imputations.R |
imputations |
impute_admin_times_from_pcrftdtc preserves existing
times |
FAILED |
2 |
0.052 |
🛑 |
test-impute_exendtc_to_cutoff.R |
impute_exendtc_to_cutoff |
impute_exendtc_to_cutoff works correctly |
ERROR |
0 |
0.005 |
|
test-impute_exendtc_to_rfendtc.R |
impute_exendtc_to_rfendtc |
impute_exendtc_to_rfendtc validates input
correctly |
ERROR |
1 |
0.011 |
|
test-impute_exendtc_to_rfendtc.R |
impute_exendtc_to_rfendtc |
impute_exendtc_to_rfendtc adds IMPUTATION column if not
present |
ERROR |
0 |
0.007 |
|
test-impute_exendtc_to_rfendtc.R |
impute_exendtc_to_rfendtc |
impute_exendtc_to_rfendtc performs imputations
correctly |
ERROR |
0 |
0.006 |
|
test-impute_exendtc_to_rfendtc.R |
impute_exendtc_to_rfendtc |
impute_exendtc_to_rfendtc does not impute non-last
administrations |
ERROR |
0 |
0.006 |
|
test-impute_exendtc_to_rfendtc.R |
impute_exendtc_to_rfendtc |
impute_exendtc_to_rfendtc handles multiple treatments
per subject correctly |
ERROR |
0 |
0.006 |
|
test-impute_exendtc_to_rfendtc.R |
impute_exendtc_to_rfendtc |
impute_exendtc_to_rfendtc returns unmodified data when
no imputations needed |
PASS |
2 |
0.008 |
|
test-impute_exendtc_to_rfendtc.R |
impute_exendtc_to_rfendtc |
impute_exendtc_to_rfendtc handles case with no RFENDTC
in DM |
PASS |
2 |
0.008 |
|
test-impute_missing_exendtc.R |
impute_missing_exendtc |
impute_missing_exendtc validates input correctly |
ERROR |
0 |
0.006 |
|
test-impute_missing_exendtc.R |
impute_missing_exendtc |
impute_missing_exendtc handles basic imputation
correctly |
PASS |
2 |
0.012 |
|
test-impute_missing_exendtc.R |
impute_missing_exendtc |
impute_missing_exendtc does not modify data when no
imputations needed |
PASS |
1 |
0.007 |
|
test-impute_missing_exendtc.R |
impute_missing_exendtc |
impute_missing_exendtc creates IMPUTATION column if
missing |
ERROR |
0 |
0.041 |
|
test-impute_missing_exendtc.R |
impute_missing_exendtc |
impute_missing_exendtc does not impute last
administrations |
PASS |
3 |
0.013 |
|
test-impute_missing_exendtc.R |
impute_missing_exendtc |
impute_missing_exendtc handles multiple subjects and
treatments |
PASS |
3 |
0.012 |
|
test-impute_missing_exendtc.R |
impute_missing_exendtc |
impute_missing_exendtc preserves existing data and
columns |
PASS |
4 |
0.013 |
|
test-lbm_boer.R |
lbm_boer |
lbm_boer calculates correct values for valid
inputs |
PASS |
6 |
0.008 |
|
test-lbm_boer.R |
lbm_boer |
lbm_boer handles NA inputs correctly |
PASS |
7 |
0.010 |
|
test-lbm_boer.R |
lbm_boer |
lbm_boer handles invalid numeric inputs correctly |
PASS |
6 |
0.013 |
|
test-lbm_boer.R |
lbm_boer |
lbm_boer handles invalid sex inputs correctly |
PASS |
4 |
0.004 |
|
test-lbm_boer.R |
lbm_boer |
lbm_boer produces consistent results for same
inputs |
PASS |
3 |
0.004 |
|
test-lbm_hume.R |
lbm_hume |
lbm_hume calculates correct values for valid
inputs |
PASS |
4 |
0.006 |
|
test-lbm_hume.R |
lbm_hume |
lbm_hume handles edge cases correctly |
PASS |
7 |
0.008 |
|
test-lbm_hume.R |
lbm_hume |
lbm_hume handles different sex input formats |
PASS |
6 |
0.008 |
|
test-lbm_hume.R |
lbm_hume |
lbm_hume maintains consistency with other LBM
formulas |
PASS |
2 |
0.003 |
|
test-lbm_peters.R |
lbm_peters |
lbm_peters calculates lean body mass correctly |
PASS |
4 |
0.005 |
|
test-lbm_peters.R |
lbm_peters |
lbm_peters handles edge cases |
PASS |
9 |
0.009 |
|
test-lbm_peters.R |
lbm_peters |
lbm_peters handles vectorized inputs correctly |
PASS |
4 |
0.004 |
|
test-make_administration.R |
make_administration |
make_administration works for examplinib_poc |
PASS |
1 |
0.231 |
|
test-make_administration.R |
make_administration |
make_administration works without pc |
PASS |
3 |
0.053 |
|
test-make_administration.R |
make_administration |
make_administration imputes missing last EXENDTC |
PASS |
2 |
0.048 |
|
test-make_ae.R |
make_ae |
make_ae handles basic case correctly |
PASS |
5 |
0.018 |
|
test-make_ae.R |
make_ae |
make_ae handles different ae_fields correctly |
PASS |
4 |
0.032 |
|
test-make_ae.R |
make_ae |
make_ae handles filters correctly |
PASS |
3 |
0.031 |
|
test-make_ae.R |
make_ae |
make_ae handles missing data correctly |
PASS |
1 |
0.014 |
|
test-make_ae.R |
make_ae |
make_ae handles errors appropriately |
PASS |
2 |
0.017 |
|
test-make_ae.R |
make_ae |
make_ae handles compartment and parent parameters
correctly |
PASS |
2 |
0.015 |
|
test-make_ae.R |
make_ae |
make_ae preserves specified columns with keep
parameter |
PASS |
2 |
0.015 |
|
test-make_nif.R |
make_nif |
date conversion works correctly |
PASS |
1 |
0.004 |
|
test-make_nif.R |
make_nif |
impute_exendtc_to_rfendtc works as intended |
PASS |
1 |
0.019 |
|
test-make_nif.R |
make_nif |
impute_exendtc_to_rfendtc works correctly |
PASS |
3 |
0.015 |
|
test-make_nif.R |
make_nif |
impute_missing_exendtc |
PASS |
1 |
0.009 |
|
test-make_nif.R |
make_nif |
impute_exendtc_to_cutoff works |
PASS |
2 |
0.010 |
|
test-make_nif.R |
make_nif |
filter_EXSTDTC_after_EXENDTC works |
PASS |
2 |
0.009 |
|
test-make_nif.R |
make_nif |
make_nif |
PASS |
1 |
0.183 |
|
test-make_nif.R |
make_nif |
make_time |
PASS |
1 |
0.010 |
|
test-make_nif.R |
make_nif |
add_administration, add_observation |
PASS |
2 |
0.155 |
|
test-make_nif.R |
make_nif |
import_observation |
PASS |
1 |
0.039 |
|
test-make_nif.R |
make_nif |
make_nif integration works |
PASS |
1 |
0.414 |
|
test-make_nif.R |
make_nif |
guess_pcspec works |
PASS |
3 |
0.004 |
|
test-make_nif.R |
make_nif |
guess_lbspec works |
PASS |
2 |
0.003 |
|
test-make_nif.R |
make_nif |
add_time works |
PASS |
1 |
0.005 |
|
test-make_nif.R |
make_nif |
limit works |
PASS |
3 |
0.024 |
|
test-make_ntime.R |
make_ntime |
make_ntime returns lookup table for valid input |
PASS |
4 |
0.007 |
|
test-make_ntime.R |
make_ntime |
make_ntime handles include_day parameter correctly |
PASS |
2 |
0.008 |
|
test-make_ntime.R |
make_ntime |
make_ntime returns NULL when no ELTM field is
present |
PASS |
3 |
0.008 |
|
test-make_ntime.R |
make_ntime |
make_ntime handles missing DY column correctly |
PASS |
2 |
0.009 |
|
test-make_ntime.R |
make_ntime |
make_ntime handles NA values correctly |
PASS |
4 |
0.011 |
|
test-make_ntime.R |
make_ntime |
make_ntime correctly converts ISO 8601 formatted
durations |
PASS |
1 |
0.004 |
|
test-make_observation.R |
make_observation |
make_observation works |
PASS |
1 |
0.019 |
|
test-make_observation.R |
make_observation |
make_observation issues warning if observation filter
returns no observations |
PASS |
1 |
0.018 |
|
test-make_observation.R |
make_observation |
make_observation works with coding table |
PASS |
1 |
0.021 |
|
test-make_observation.R |
make_observation |
make_observation handles different domains
correctly |
PASS |
2 |
0.036 |
|
test-make_observation.R |
make_observation |
make_observation applies DV factor correctly |
PASS |
2 |
0.036 |
|
test-make_observation.R |
make_observation |
make_observation handles custom DV_field correctly |
PASS |
1 |
0.018 |
|
test-make_observation.R |
make_observation |
make_observation handles custom TESTCD_field
correctly |
PASS |
2 |
0.028 |
|
test-make_observation.R |
make_observation |
make_observation handles custom DTC_field
correctly |
PASS |
1 |
0.019 |
|
test-make_observation.R |
make_observation |
make_observation creates proper output fields |
PASS |
13 |
0.031 |
|
test-make_observation.R |
make_observation |
make_observation handles NTIME lookup correctly |
PASS |
1 |
0.017 |
|
test-make_observation.R |
make_observation |
make_observation validates inputs correctly |
PASS |
2 |
0.009 |
|
test-make_observation.R |
make_observation |
make_observation handles missing DV field with coding
table |
PASS |
3 |
0.036 |
|
test-make_observation.R |
make_observation |
make_observation sets MDV correctly for missing
values |
PASS |
2 |
0.020 |
|
test-make_observation.R |
make_observation |
add_observation basic functionality works |
PASS |
3 |
0.175 |
|
test-make_subjects_sdtm.R |
make_subjects_sdtm |
make_subjects_sdtm creates a proper subject data
frame |
PASS |
7 |
0.017 |
|
test-make_subjects_sdtm.R |
make_subjects_sdtm |
make_subjects_sdtm works with missing
height/weight |
PASS |
4 |
0.012 |
|
test-make_subjects_sdtm.R |
make_subjects_sdtm |
make_subjects_sdtm works with example data |
PASS |
3 |
0.011 |
|
test-nca_from_pp.R |
nca_from_pp |
nca_from_pp works with valid inputs |
PASS |
6 |
0.016 |
|
test-nca_from_pp.R |
nca_from_pp |
nca_from_pp handles missing analyte |
PASS |
2 |
0.004 |
|
test-nca_from_pp.R |
nca_from_pp |
nca_from_pp handles errors appropriately |
PASS |
4 |
0.015 |
|
test-nca_from_pp.R |
nca_from_pp |
nca_from_pp handles empty results |
PASS |
1 |
0.008 |
|
test-nca_from_pp.R |
nca_from_pp |
nca_from_pp handles keep parameter correctly |
PASS |
2 |
0.008 |
|
test-nca.R |
nca |
nca() input validation |
PASS |
2 |
0.008 |
|
test-nca.R |
nca |
nca() analyte handling |
PASS |
2 |
0.059 |
|
test-nca.R |
nca |
nca() grouping functionality |
PASS |
6 |
0.082 |
|
test-nca.R |
nca |
nca() time handling |
PASS |
2 |
0.046 |
|
test-nca.R |
nca |
nca() duplicate handling |
PASS |
2 |
0.054 |
|
test-nca.R |
nca |
nca works with the whale data set |
PASS |
1 |
0.096 |
|
test-nif_add_baseline.R |
nif_add_baseline |
multiplication works |
PASS |
1 |
0.002 |
|
test-nif_administrations.R |
nif_administrations |
date_list works |
PASS |
8 |
0.011 |
|
test-nif_administrations.R |
nif_administrations |
expand_ex works in general |
PASS |
2 |
0.017 |
|
test-nif_administrations.R |
nif_administrations |
expand_ex works with TRTDY |
PASS |
2 |
0.014 |
|
test-nif_administrations.R |
nif_administrations |
expand_ex works with missing EXENDTC |
PASS |
2 |
0.013 |
|
test-nif_administrations.R |
nif_administrations |
expand_ex errs when end date before start date |
PASS |
1 |
0.015 |
|
test-nif_administrations.R |
nif_administrations |
expand_ex errs when end day before start day |
PASS |
1 |
0.015 |
|
test-nif_class.R |
nif_class |
new_nif works |
PASS |
2 |
0.187 |
|
test-nif_class.R |
nif_class |
subject_info works |
PASS |
2 |
0.021 |
|
test-nif_class.R |
nif_class |
subjects, usubjid works |
PASS |
2 |
0.004 |
|
test-nif_class.R |
nif_class |
subjects works with minimal NIF |
PASS |
4 |
0.010 |
|
test-nif_class.R |
nif_class |
parents works |
PASS |
1 |
0.004 |
|
test-nif_class.R |
nif_class |
dose_red_sbs works |
PASS |
1 |
0.010 |
|
test-nif_class.R |
nif_class |
rich_sampling_sbs works |
PASS |
1 |
0.011 |
|
test-nif_class.R |
nif_class |
studies works |
PASS |
1 |
0.002 |
|
test-nif_class.R |
nif_class |
ensure works |
PASS |
8 |
0.051 |
|
test-nif_class.R |
nif_class |
doses works |
PASS |
1 |
0.002 |
|
test-nif_class.R |
nif_class |
doses works with minimal NIF |
PASS |
1 |
0.002 |
|
test-nif_class.R |
nif_class |
dose_levels works |
PASS |
1 |
0.010 |
|
test-nif_class.R |
nif_class |
treatments works |
PASS |
2 |
0.007 |
|
test-nif_class.R |
nif_class |
dose_levels works with minimal NIF |
PASS |
1 |
0.010 |
|
test-nif_class.R |
nif_class |
analytes works |
PASS |
1 |
0.002 |
|
test-nif_class.R |
nif_class |
analytes works with minimal NIF and rich NIF |
PASS |
2 |
0.005 |
|
test-nif_class.R |
nif_class |
analyte_overview works |
PASS |
2 |
0.018 |
|
test-nif_class.R |
nif_class |
cmt_mapping works |
PASS |
2 |
0.006 |
|
test-nif_class.R |
nif_class |
index_dosing_interval works with single parent |
PASS |
1 |
0.011 |
|
test-nif_class.R |
nif_class |
index_dosing_interval works with multiple parents |
PASS |
3 |
0.016 |
|
test-nif_class.R |
nif_class |
n_administrations, max_admin_time works,
max_observation_time |
PASS |
4 |
0.029 |
|
test-nif_class.R |
nif_class |
guess analyte, guess_parent works |
PASS |
2 |
0.008 |
|
test-nif_class.R |
nif_class |
add_dose_level works |
PASS |
2 |
0.016 |
|
test-nif_class.R |
nif_class |
add_trtdy works |
PASS |
1 |
0.006 |
|
test-nif_class.R |
nif_class |
index_rich_sampling_intervals works |
PASS |
3 |
0.038 |
|
test-nif_class.R |
nif_class |
cfb works |
PASS |
2 |
0.005 |
|
test-nif_class.R |
nif_class |
analyte_overview |
PASS |
2 |
0.003 |
|
test-nif_class.R |
nif_class |
write_nif works |
PASS |
2 |
0.097 |
|
test-nif_class.R |
nif_class |
print.nif works |
PASS |
1 |
0.007 |
|
test-nif_class.R |
nif_class |
add_rtb works |
PASS |
1 |
0.005 |
|
test-nif_exploration.R |
nif_exploration |
nif summary works |
PASS |
2 |
0.087 |
|
test-nif_exploration.R |
nif_exploration |
nif_summary_plot works |
PASS |
1 |
0.094 |
|
test-nif_exploration.R |
nif_exploration |
nif_plot_id |
PASS |
5 |
0.106 |
|
test-nif_exploration.R |
nif_exploration |
dose_plot_id works |
PASS |
2 |
0.034 |
|
test-nif_exploration.R |
nif_exploration |
covariate_hist works |
PASS |
2 |
0.011 |
|
test-nif_exploration.R |
nif_exploration |
covariate_barplot works |
PASS |
2 |
0.013 |
|
test-nif_exploration.R |
nif_exploration |
x_by_y works |
PASS |
5 |
0.022 |
|
test-nif_exploration.R |
nif_exploration |
time_by_ntime works |
PASS |
1 |
0.004 |
|
test-nif_exploration.R |
nif_exploration |
administration_summary works |
PASS |
1 |
0.019 |
|
test-nif_exploration.R |
nif_exploration |
mean_dose_plot works |
PASS |
1 |
0.010 |
|
test-nif_exploration.R |
nif_exploration |
subs_per_dose_level works |
PASS |
1 |
0.013 |
|
test-nif_exploration.R |
nif_exploration |
obs_per_dose_level works |
PASS |
1 |
0.011 |
|
test-nif_load.R |
nif_load |
is_char_datetime works correctly |
PASS |
5 |
0.006 |
|
test-nif_load.R |
nif_load |
is_likely_datetime works as intended |
PASS |
5 |
0.005 |
|
test-nif_load.R |
nif_load |
convert_char_datetime works correctly |
PASS |
2 |
0.006 |
|
test-nif_load.R |
nif_load |
import from connection works |
PASS |
1 |
0.003 |
|
test-nif_nca.R |
nif_nca |
nca_from_pp |
PASS |
2 |
0.005 |
|
test-nif_options.R |
nif_options |
nif_disclaimer works |
PASS |
1 |
0.001 |
|
test-nif_options.R |
nif_options |
nif_disclaimer works with custom text |
PASS |
1 |
0.001 |
|
test-nif_options.R |
nif_options |
nif_option works |
PASS |
5 |
0.011 |
|
test-nif_options.R |
nif_options |
nif_option_value works |
PASS |
1 |
0.002 |
|
test-nif_options.R |
nif_options |
nif_option with empty arguments returns list |
PASS |
1 |
0.001 |
|
test-nif_plot.R |
nif_plot |
make_plot_data_set |
PASS |
1 |
0.029 |
|
test-nif_plot.R |
nif_plot |
plot.nif |
PASS |
14 |
0.401 |
|
test-nif_subjects.R |
nif_subjects |
calculate_age calculates age correctly |
PASS |
1 |
0.004 |
|
test-nif_subjects.R |
nif_subjects |
calculate_age preserves existing AGE values when not
NA |
PASS |
1 |
0.004 |
|
test-nif_subjects.R |
nif_subjects |
calculate_age overwrites existing AGE values when
preserve_age = FALSE |
PASS |
1 |
0.003 |
|
test-nif_subjects.R |
nif_subjects |
calculate_age uses custom reference date column |
PASS |
1 |
0.003 |
|
test-nif_subjects.R |
nif_subjects |
calculate_age returns dataframe unchanged when required
columns missing |
PASS |
2 |
0.003 |
|
test-nif_subjects.R |
nif_subjects |
calculate_age handles non-dataframe input |
PASS |
2 |
0.008 |
|
test-nif_subjects.R |
nif_subjects |
calculate_age rounds age correctly |
PASS |
1 |
0.004 |
|
test-nif_subjects.R |
nif_subjects |
make subjects |
PASS |
2 |
0.022 |
|
test-nif_subjects.R |
nif_subjects |
make_subject works with different age definitions |
PASS |
2 |
0.015 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects validates inputs correctly |
PASS |
5 |
0.017 |
|
test-nif_subjects.R |
nif_subjects |
BMI calculation handles edge cases correctly |
PASS |
7 |
0.016 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects handles basic case correctly |
PASS |
7 |
0.015 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects handles VS data correctly |
PASS |
6 |
0.020 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects respects VSBLFL flag |
PASS |
2 |
0.014 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects respects custom subject filter |
PASS |
4 |
0.018 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects keeps specified columns |
PASS |
2 |
0.010 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects errors on invalid inputs |
PASS |
4 |
0.018 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects handles missing VS data gracefully |
PASS |
3 |
0.016 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects handles empty data frames |
PASS |
4 |
0.011 |
|
test-nif_subjects.R |
nif_subjects |
SEX is properly recoded |
PASS |
1 |
0.009 |
|
test-nif_subjects.R |
nif_subjects |
make_subjects issues warning for empty subject filter
results |
PASS |
2 |
0.016 |
|
test-physiological_calculations.R |
physiological_calculations |
BMI calculation handles edge cases correctly |
PASS |
7 |
0.026 |
|
test-physiological_calculations.R |
physiological_calculations |
validate_lbw_parameters validates inputs correctly |
PASS |
6 |
0.006 |
|
test-physiological_calculations.R |
physiological_calculations |
validate_lbw_parameters handles NA values
correctly |
PASS |
7 |
0.007 |
|
test-physiological_calculations.R |
physiological_calculations |
validate_lbw_parameters handles invalid numeric inputs
correctly |
PASS |
4 |
0.005 |
|
test-physiological_calculations.R |
physiological_calculations |
validate_lbw_parameters handles invalid sex values
correctly |
PASS |
4 |
0.005 |
|
test-physiological_calculations.R |
physiological_calculations |
validate_lbw_parameters handles vectorized inputs
correctly |
PASS |
4 |
0.005 |
|
test-physiological_calculations.R |
physiological_calculations |
validate_lbw_parameters handles length mismatches
correctly |
PASS |
3 |
0.011 |
|
test-physiological_calculations.R |
physiological_calculations |
validate_lbw_parameters handles non-numeric inputs
correctly |
PASS |
2 |
0.008 |
|
test-physiological_calculations.R |
physiological_calculations |
is_male correctly identifies male sex values |
PASS |
4 |
0.005 |
|
test-physiological_calculations.R |
physiological_calculations |
is_male correctly identifies non-male sex values |
PASS |
4 |
0.004 |
|
test-physiological_calculations.R |
physiological_calculations |
is_male handles NA values correctly |
PASS |
1 |
0.001 |
|
test-physiological_calculations.R |
physiological_calculations |
is_male handles invalid sex values correctly |
PASS |
5 |
0.005 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates works with default fields and mean
function |
PASS |
3 |
0.005 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates works with custom fields and sum
function |
PASS |
2 |
0.003 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates works with custom function to keep
first value |
PASS |
1 |
0.002 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates works with custom function to keep
last value |
PASS |
1 |
0.002 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates works with custom function to keep
max value |
PASS |
1 |
0.002 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates handles non-existent fields |
PASS |
1 |
0.005 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates handles empty data frame |
PASS |
2 |
0.004 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates handles data frame with no
duplicates |
PASS |
2 |
0.003 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates handles NA values |
PASS |
2 |
0.003 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates works with different data types |
PASS |
2 |
0.004 |
|
test-resolve-duplicates.R |
resolve-duplicates |
resolve_duplicates correctly handles NA values with
na.rm=TRUE |
PASS |
9 |
0.013 |
|
test-sdtm_analytics.R |
sdtm_analytics |
sdtm_missing_times works |
PASS |
1 |
0.003 |
|
test-sdtm_class.R |
sdtm_class |
guess_ntime works |
PASS |
2 |
0.008 |
|
test-sdtm_class.R |
sdtm_class |
new_sdtm |
PASS |
1 |
0.001 |
|
test-sdtm_class.R |
sdtm_class |
sdtm summary |
PASS |
3 |
0.013 |
|
test-sdtm_class.R |
sdtm_class |
sdtm_summary works with metabolite mapping |
PASS |
1 |
0.003 |
|
test-sdtm_class.R |
sdtm_class |
suggest works with consider_nif_auto |
PASS |
1 |
0.010 |
|
test-sdtm_class.R |
sdtm_class |
suggest_sdtm works |
PASS |
1 |
0.008 |
|
test-sdtm_class.R |
sdtm_class |
suggest throws error when required domains are
missing |
PASS |
2 |
0.007 |
|
test-sdtm_class.R |
sdtm_class |
subject_info works |
PASS |
1 |
0.002 |
|
test-sdtm_class.R |
sdtm_class |
subjects, analytes, treatments, doses works for
sdtm |
PASS |
4 |
0.002 |
|
test-sdtm_class.R |
sdtm_class |
filter_subject works |
PASS |
2 |
0.005 |
|
test-sdtm_class.R |
sdtm_class |
derive_sld works |
PASS |
1 |
0.004 |
|
test-sdtm_class.R |
sdtm_class |
derive_sld works with TR containing TRTEST |
PASS |
1 |
0.004 |
|
test-sdtm_class.R |
sdtm_class |
derive_sld works with multiple diagnostic methods |
PASS |
1 |
0.004 |
|
test-sdtm_class.R |
sdtm_class |
guess_ntime warns about ISO 8601 date formats |
PASS |
7 |
0.012 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format works |
PASS |
1 |
0.004 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_date_format, check_date_time_format works |
PASS |
3 |
0.257 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_last_exendtc works |
PASS |
1 |
0.008 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_sdtm works |
PASS |
1 |
0.191 |
|
test-sdtm_exploration.R |
sdtm_exploration |
plot.sdtm works |
PASS |
6 |
0.046 |
|
test-sdtm_exploration.R |
sdtm_exploration |
disposition_summary works |
PASS |
1 |
0.004 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format handles valid ISO 8601 dates
correctly |
PASS |
2 |
0.003 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format filters out invalid date
formats |
PASS |
3 |
0.008 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format handles empty strings and NA
values |
PASS |
3 |
0.004 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format provides correct verbose
output |
PASS |
1 |
0.006 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format handles silent parameter
correctly |
PASS |
2 |
0.009 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format validates input
correctly |
PASS |
2 |
0.009 |
|
test-sdtm_exploration.R |
sdtm_exploration |
filter_correct_date_format handles multiple DTC columns
correctly |
PASS |
3 |
0.008 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_missing_time handles valid inputs correctly |
PASS |
2 |
0.018 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_missing_time handles invalid inputs
correctly |
PASS |
2 |
0.007 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_missing_time handles empty dataframes
correctly |
PASS |
1 |
0.004 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_missing_time handles different date formats
correctly |
PASS |
1 |
0.006 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_missing_time preserves input data |
PASS |
1 |
0.003 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_missing_time handles multiple DTC columns
correctly |
PASS |
1 |
0.006 |
|
test-sdtm_exploration.R |
sdtm_exploration |
check_missing_time handles missing DOMAIN column |
PASS |
1 |
0.006 |
|
test-sdtm_load.R |
sdtm_load |
read_sdtm validates inputs correctly |
PASS |
4 |
0.014 |
|
test-sdtm_load.R |
sdtm_load |
read_sdtm handles missing files correctly |
PASS |
1 |
0.004 |
|
test-sdtm_load.R |
sdtm_load |
read_sdtm reads different formats correctly |
PASS |
8 |
0.018 |
|
test-sdtm_load.R |
sdtm_load |
read_sdtm handles multiple domains correctly |
PASS |
4 |
0.017 |
|
test-sdtm_load.R |
sdtm_load |
read_sdtm handles custom delimiters for CSV |
PASS |
2 |
0.004 |
|
test-sdtm_load.R |
sdtm_load |
read_sdtm passes additional parameters to read
functions |
PASS |
2 |
0.003 |
|
test-sdtm_synthesis.R |
sdtm_synthesis |
synthesize_crea works |
PASS |
1 |
0.224 |
|
test-sdtm_synthesis.R |
sdtm_synthesis |
EGFR is age-dependent |
PASS |
1 |
0.229 |
|
test-summary-nif.R |
summary-nif |
summary.nif returns the correct class and
structure |
PASS |
5 |
0.054 |
|
test-summary-nif.R |
summary-nif |
summary.nif handles empty dataframes gracefully |
PASS |
5 |
0.006 |
|
test-summary-nif.R |
summary-nif |
summary.nif errors appropriately with missing required
columns |
PASS |
1 |
0.005 |
|
test-summary-nif.R |
summary-nif |
summary.nif calculates sex distribution correctly |
PASS |
4 |
0.045 |
|
test-summary-nif.R |
summary-nif |
summary.nif handles missing sex data correctly |
PASS |
5 |
0.048 |
|
test-summary-nif.R |
summary-nif |
summary.nif handles renal function classification
correctly |
PASS |
4 |
0.044 |
|
test-summary-nif.R |
summary-nif |
summary.nif handles missing renal function data
correctly |
PASS |
2 |
0.049 |
|
test-summary-nif.R |
summary-nif |
summary.nif handles hepatic function classification
correctly |
PASS |
4 |
0.047 |
|
test-summary-nif.R |
summary-nif |
summary.nif correctly counts subjects per dose
level |
PASS |
2 |
0.054 |
|
test-summary-nif.R |
summary-nif |
summary.nif correctly calculates administration
duration |
PASS |
3 |
0.060 |
|
test-summary-nif.R |
summary-nif |
plot.summary_nif produces plots |
PASS |
12 |
0.143 |
|
test-summary-nif.R |
summary-nif |
plot.summary_nif handles weight correctly |
PASS |
2 |
0.068 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm handles valid SDTM objects correctly |
PASS |
10 |
0.016 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm handles missing domains gracefully |
PASS |
5 |
0.007 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm handles missing fields in domains |
PASS |
6 |
0.008 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm correctly processes pc_timepoints |
PASS |
5 |
0.005 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm handles empty data frames |
PASS |
6 |
0.008 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm handles NA values in fields |
PASS |
1 |
0.003 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm handles multiple unique values
appropriately |
PASS |
6 |
0.022 |
|
test-summary-sdtm.R |
summary-sdtm |
summary.sdtm handles objects with complete mapping
data |
PASS |
7 |
0.017 |
|
test-utilities.R |
utilities |
conditional message works |
PASS |
2 |
0.005 |
|
test-utilities.R |
utilities |
recode sex works |
PASS |
1 |
0.002 |
|
test-utilities.R |
utilities |
positive_or_zero works |
PASS |
3 |
0.004 |
|
test-utilities.R |
utilities |
indent_string works |
PASS |
3 |
0.004 |
|
test-utilities.R |
utilities |
standardize_date_format works |
PASS |
2 |
0.003 |
|
test-utilities.R |
utilities |
isofy_date_format works |
PASS |
1 |
0.004 |
|
test-utilities.R |
utilities |
lubrify_dates works |
PASS |
2 |
0.002 |
|
test-utilities.R |
utilities |
isofy_dates works |
PASS |
2 |
0.003 |
|
test-utilities.R |
utilities |
is_iso_datetime works |
PASS |
1 |
0.002 |
|
test-utilities.R |
utilities |
is_iso_date works |
PASS |
1 |
0.002 |
|
test-utilities.R |
utilities |
pt_to_hours works |
PASS |
1 |
0.003 |
|
test-utilities.R |
utilities |
compose_dtc works |
PASS |
1 |
0.002 |
|
test-utilities.R |
utilities |
decompose_dtc works |
PASS |
1 |
0.003 |
|
test-utilities.R |
utilities |
extract_date works |
PASS |
1 |
0.003 |
|
test-utilities.R |
utilities |
extract_time works |
PASS |
1 |
0.003 |
|
test-utilities.R |
utilities |
has time works |
PASS |
4 |
0.006 |
|
test-utilities.R |
utilities |
nice enumeration works |
PASS |
3 |
0.004 |
|
test-utilities.R |
utilities |
plural works |
PASS |
4 |
0.004 |
|
test-utilities.R |
utilities |
safe_mean works |
PASS |
3 |
0.004 |
|
test-utilities.R |
utilities |
safe_sd works |
PASS |
3 |
0.004 |
|
test-utilities.R |
utilities |
safe min works |
PASS |
4 |
0.005 |
|
test-utilities.R |
utilities |
pos_diff works |
PASS |
2 |
0.004 |
|
test-utilities.R |
utilities |
trialday_to_day works |
PASS |
5 |
0.008 |
|
test-utilities.R |
utilities |
is_iso8601_datetime correctly identifies ISO 8601
date-time formats |
PASS |
25 |
0.032 |
|
test-utilities.R |
utilities |
is_iso8601_datetime works with vectors |
PASS |
1 |
0.002 |
|
test-utilities.R |
utilities |
is_iso8601_date correctly identifies ISO 8601 date
formats |
PASS |
21 |
0.025 |
|
test-utilities.R |
utilities |
is_iso8601_date works with vectors |
PASS |
2 |
0.003 |
|
test-validate_domain.R |
validate_domain |
validate_domain accepts valid domain |
PASS |
1 |
0.004 |
|
test-validate_domain.R |
validate_domain |
validate_domain rejects non-data frame input |
PASS |
2 |
0.007 |
|
test-validate_domain.R |
validate_domain |
validate_domain requires DOMAIN column |
PASS |
1 |
0.004 |
|
test-validate_domain.R |
validate_domain |
validate_domain rejects empty DOMAIN column |
PASS |
1 |
0.003 |
|
test-validate_domain.R |
validate_domain |
validate_domain handles multiple DOMAIN values |
PASS |
2 |
0.007 |
|
test-validate_domain.R |
validate_domain |
validate_domain warns about missing expected
columns |
PASS |
3 |
0.010 |
|
test-validate_domain.R |
validate_domain |
validate_domain warns about missing permitted
columns |
PASS |
3 |
0.021 |
|
test-validate_domain.R |
validate_domain |
validate_domain handles unknown domains gracefully |
PASS |
1 |
0.004 |
|
test-validate_domain.R |
validate_domain |
validate_domain handles correctly case sensitivity |
PASS |
1 |
0.003 |
|
test-validate_domain.R |
validate_domain |
validate_domain works with example data |
PASS |
1 |
0.003 |
|
test-validate_sdtm.R |
validate_sdtm |
validate_sdtm validates all domains in a valid SDTM
object |
PASS |
2 |
0.004 |
|
test-validate_sdtm.R |
validate_sdtm |
validate_sdtm shows/suppresses messages based on silent
parameter |
PASS |
1 |
0.003 |
|
test-validate_sdtm.R |
validate_sdtm |
validate_sdtm handles mixed valid and unknown
domains |
PASS |
1 |
0.005 |
|
test-viewer.R |
viewer |
multiplication works |
PASS |
1 |
0.001 |
|
test-write_nif.R |
write_nif |
write_nif basic functionality works |
PASS |
6 |
0.016 |
|
test-write_nif.R |
write_nif |
write_nif handles fixed-width format |
PASS |
2 |
0.007 |
|
test-write_nif.R |
write_nif |
write_nif handles empty dataframe |
PASS |
2 |
0.008 |
|
test-write_nif.R |
write_nif |
write_nif preserves column order |
PASS |
1 |
0.005 |
|