Skip to content

Closes #84 implement pharmaverseadam::adlb for lab test suite #243

Closes #84 implement pharmaverseadam::adlb for lab test suite

Closes #84 implement pharmaverseadam::adlb for lab test suite #243

GitHub Actions / Unit Tests Summary failed Jan 10, 2024 in 0s

3 errors, 16 skipped, 234 pass in 5m 57s

  1 files  113 suites   5m 57s ⏱️
253 tests 234 ✅  16 💤 0 ❌ 3 🔥
502 runs  250 ✅ 249 💤 0 ❌ 3 🔥

Results for commit 1fae75c.

Annotations

Check failure on line 0 in listing_pkpl01

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

PKPL01_listing_is_produced_correctly (listing_pkpl01) with error

scda.test.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
<dplyr:::mutate_error/rlang_error/error/condition> ('test-listing_pkpl01.R:13:3')
<dplyr:::mutate_error/rlang_error/error/condition>
Error in `mutate(., TRT01A = TRT01A.x)`: i In argument: `TRT01A = TRT01A.x`.
Caused by error:
! object 'TRT01A.x' not found
Backtrace:
     x
  1. +-... %>% ... at test-listing_pkpl01.R:13:3
  2. +-tidyr::pivot_wider(...)
  3. +-base::unique(.)
  4. +-dplyr::select(., TRT01A, USUBJID, AVISIT, PARAM, AVAL)
  5. +-dplyr::mutate(., TRT01A = TRT01A.x)
  6. +-dplyr:::mutate.data.frame(., TRT01A = TRT01A.x)
  7. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
  8. |   +-base::withCallingHandlers(...)
  9. |   \-dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
 10. |     \-mask$eval_all_mutate(quo)
 11. |       \-dplyr (local) eval()
 12. \-base::.handleSimpleError(...)
 13.   \-dplyr (local) h(simpleError(msg, call))
 14.     \-rlang::abort(message, class = error_class, parent = parent, call = error_call)

Check failure on line 0 in table_pkpt02

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

PKPT02_is_produced_correctly_for_Drug_X (table_pkpt02) with error

scda.test.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in ``$<-.data.frame`(`*tmp*`, "TLG_ORDER", value = numeric(0))`: replacement has 0 rows, data has 2352 ('test-table_pkpt02.R:34:3')
Error in ``$<-.data.frame`(`*tmp*`, "TLG_ORDER", value = numeric(0))`: replacement has 0 rows, data has 2352
Backtrace:
    x
 1. +-... %>% ... at test-table_pkpt02.R:34:3
 2. +-dplyr::mutate(...)
 3. \-tern::h_pkparam_sort(.)
 4.   +-base::`$<-`(`*tmp*`, "TLG_ORDER", value = `<dbl>`)
 5.   \-base::`$<-.data.frame`(`*tmp*`, "TLG_ORDER", value = `<dbl>`)

Check failure on line 0 in table_pkpt03

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

PKPT03_Drug_X_is_produced_correctly (table_pkpt03) with error

scda.test.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in ``$<-.data.frame`(`*tmp*`, "TLG_ORDER", value = numeric(0))`: replacement has 0 rows, data has 2352 ('test-table_pkpt03.R:58:3')
Error in ``$<-.data.frame`(`*tmp*`, "TLG_ORDER", value = numeric(0))`: replacement has 0 rows, data has 2352
Backtrace:
    x
 1. +-... %>% ... at test-table_pkpt03.R:58:3
 2. +-dplyr::mutate(...)
 3. \-tern::h_pkparam_sort(.)
 4.   +-base::`$<-`(`*tmp*`, "TLG_ORDER", value = `<dbl>`)
 5.   \-base::`$<-.data.frame`(`*tmp*`, "TLG_ORDER", value = `<dbl>`)