CRAN Package Check Results for Package eudract

Last updated on 2025-03-11 10:51:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 5.63 77.41 83.04 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 4.13 54.94 59.07 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 132.41 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.3 124.83 ERROR
r-devel-macos-arm64 1.0.3 47.00 OK
r-devel-macos-x86_64 1.0.3 92.00 OK
r-devel-windows-x86_64 1.0.3 8.00 87.00 95.00 ERROR
r-patched-linux-x86_64 1.0.3 4.83 70.99 75.82 OK
r-release-linux-x86_64 1.0.3 5.84 70.85 76.69 OK
r-release-macos-arm64 1.0.3 51.00 OK
r-release-macos-x86_64 1.0.3 118.00 OK
r-release-windows-x86_64 1.0.3 7.00 81.00 88.00 ERROR
r-oldrel-macos-arm64 1.0.3 OK
r-oldrel-macos-x86_64 1.0.3 127.00 OK
r-oldrel-windows-x86_64 1.0.3 8.00 95.00 103.00 ERROR

Check Details

Version: 1.0.3
Check: examples
Result: ERROR Running examples in ‘eudract-Ex.R’ failed The error most likely occurred in: > ### Name: clintrials_gov_convert > ### Title: applies a conversion using xslt from a simple xml file to a > ### ClinicalTrials.gov compatible file, and checks against the schema > ### Aliases: clintrials_gov_convert > > ### ** Examples > > safety_statistics <- safety_summary(safety, + exposed=c("Experimental"=60,"Control"=67)) > simple <- tempfile(fileext = ".xml") > eudract <- tempfile(fileext = ".xml") > ct <- tempfile(fileext = ".xml") > simple_safety_xml(safety_statistics, simple) '/tmp/RtmpzBTv9c/working_dir/Rtmpg8V0nc/file2e3cc757940c78.xml' is created or modified Warning in simple_safety_xml(safety_statistics, simple) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. > eudract_convert(input=simple, + output=eudract) Error in eudract_convert(input = simple, output = eudract) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/65s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(eudract) > > test_check("eudract") [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • Need to have the userid/password as environment variables (3): 'test_basic.R:324:61', 'test_basic.R:343:61', 'test_errors.R:191:71' • On CRAN (5): 'test_dotplot.R:38:3', 'test_dotplot.R:53:3', 'test_dotplot.R:82:3', 'test_dotplot.R:119:1', 'test_dotplot.R:129:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_basic.R:283:3'): convert to eudract ──────────────────────────── Error in `eudract_convert(input = file.path(path, "simple.xml"), output = file.path(path, "table_eudract.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::eudract_convert(...) at test_basic.R:283:3 ── Error ('test_basic.R:294:4'): convert to ClinicalTrials.Gov ───────────────── Error in `clintrials_gov_convert(input = file.path(path, "simple.xml"), original = file.path(original_path, "1234.xml"), output = file.path(path, "table_ct.xml"))`: safety data is invalid local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::clintrials_gov_convert(...) at test_basic.R:294:4 ── Error ('test_errors.R:18:13'): no aes ─────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:18:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:31:13'): no saes ────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:31:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:54:13'): empty group ────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "/test_simple.xml"), file.path(tempdir(), "/test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:54:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Failure ('test_errors.R:242:3'): invalid ct inputs ────────────────────────── `clintrials_gov_convert(...)` threw an error with unexpected message. Expected match: "original study file is invalid" Actual message: "safety data is invalid\nlocal complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_errors.R:242:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─eudract::clintrials_gov_convert(...) [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] Deleting unused snapshots: • dotplot/dotplot-ref-rr.svg Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘eudract.Rmd’ using rmarkdown Quitting from lines 71-82 [xml] (eudract.Rmd) Error: processing vignette 'eudract.Rmd' failed with diagnostics: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. --- failed re-building ‘eudract.Rmd’ --- re-building ‘standard_reporting.Rmd’ using rmarkdown ** Processing: /data/gannet/ripley/R/packages/tests-clang/eudract.Rcheck/vign_test/eudract/vignettes/standard_reporting_files/figure-html/dotplot_sae-1.png 768x768 pixels, 3x8 bits/pixel, RGB Input IDAT size = 26100 bytes Input file size = 26214 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20573 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20573 Output IDAT size = 20573 bytes (5527 bytes decrease) Output file size = 20651 bytes (5563 bytes = 21.22% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-clang/eudract.Rcheck/vign_test/eudract/vignettes/standard_reporting_files/figure-html/dotplot_ae-1.png 768x768 pixels, 3x8 bits/pixel, RGB Input IDAT size = 26313 bytes Input file size = 26427 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20499 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20499 Output IDAT size = 20499 bytes (5814 bytes decrease) Output file size = 20577 bytes (5850 bytes = 22.14% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-clang/eudract.Rcheck/vign_test/eudract/vignettes/standard_reporting_files/figure-html/dotplot_edit-1.png 768x768 pixels, 3x8 bits/pixel, RGB Input IDAT size = 28575 bytes Input file size = 28689 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22074 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22074 Output IDAT size = 22074 bytes (6501 bytes decrease) Output file size = 22152 bytes (6537 bytes = 22.79% decrease) --- finished re-building ‘standard_reporting.Rmd’ SUMMARY: processing the following file failed: ‘eudract.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.3
Check: examples
Result: ERROR Running examples in ‘eudract-Ex.R’ failed The error most likely occurred in: > ### Name: clintrials_gov_convert > ### Title: applies a conversion using xslt from a simple xml file to a > ### ClinicalTrials.gov compatible file, and checks against the schema > ### Aliases: clintrials_gov_convert > > ### ** Examples > > safety_statistics <- safety_summary(safety, + exposed=c("Experimental"=60,"Control"=67)) > simple <- tempfile(fileext = ".xml") > eudract <- tempfile(fileext = ".xml") > ct <- tempfile(fileext = ".xml") > simple_safety_xml(safety_statistics, simple) '/tmp/RtmpNjUNfa/working_dir/RtmpDYWHSo/file3127fc35efcb67.xml' is created or modified Warning in simple_safety_xml(safety_statistics, simple) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. > eudract_convert(input=simple, + output=eudract) Error in eudract_convert(input = simple, output = eudract) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [20s/25s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(eudract) > > test_check("eudract") [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • Need to have the userid/password as environment variables (3): 'test_basic.R:324:61', 'test_basic.R:343:61', 'test_errors.R:191:71' • On CRAN (5): 'test_dotplot.R:38:3', 'test_dotplot.R:53:3', 'test_dotplot.R:82:3', 'test_dotplot.R:119:1', 'test_dotplot.R:129:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_basic.R:283:3'): convert to eudract ──────────────────────────── Error in `eudract_convert(input = file.path(path, "simple.xml"), output = file.path(path, "table_eudract.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::eudract_convert(...) at test_basic.R:283:3 ── Error ('test_basic.R:294:4'): convert to ClinicalTrials.Gov ───────────────── Error in `clintrials_gov_convert(input = file.path(path, "simple.xml"), original = file.path(original_path, "1234.xml"), output = file.path(path, "table_ct.xml"))`: safety data is invalid local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::clintrials_gov_convert(...) at test_basic.R:294:4 ── Error ('test_errors.R:18:13'): no aes ─────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:18:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:31:13'): no saes ────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:31:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:54:13'): empty group ────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "/test_simple.xml"), file.path(tempdir(), "/test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:54:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Failure ('test_errors.R:242:3'): invalid ct inputs ────────────────────────── `clintrials_gov_convert(...)` threw an error with unexpected message. Expected match: "original study file is invalid" Actual message: "safety data is invalid\nlocal complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_errors.R:242:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─eudract::clintrials_gov_convert(...) [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] Deleting unused snapshots: • dotplot/dotplot-ref-rr.svg Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘eudract.Rmd’ using rmarkdown Quitting from lines 71-82 [xml] (eudract.Rmd) Error: processing vignette 'eudract.Rmd' failed with diagnostics: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. --- failed re-building ‘eudract.Rmd’ --- re-building ‘standard_reporting.Rmd’ using rmarkdown ** Processing: /data/gannet/ripley/R/packages/tests-devel/eudract.Rcheck/vign_test/eudract/vignettes/standard_reporting_files/figure-html/dotplot_sae-1.png 768x768 pixels, 3x8 bits/pixel, RGB Input IDAT size = 26100 bytes Input file size = 26214 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20573 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20573 Output IDAT size = 20573 bytes (5527 bytes decrease) Output file size = 20651 bytes (5563 bytes = 21.22% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-devel/eudract.Rcheck/vign_test/eudract/vignettes/standard_reporting_files/figure-html/dotplot_ae-1.png 768x768 pixels, 3x8 bits/pixel, RGB Input IDAT size = 26313 bytes Input file size = 26427 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20499 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20499 Output IDAT size = 20499 bytes (5814 bytes decrease) Output file size = 20577 bytes (5850 bytes = 22.14% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-devel/eudract.Rcheck/vign_test/eudract/vignettes/standard_reporting_files/figure-html/dotplot_edit-1.png 768x768 pixels, 3x8 bits/pixel, RGB Input IDAT size = 28575 bytes Input file size = 28689 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22074 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22074 Output IDAT size = 22074 bytes (6501 bytes decrease) Output file size = 22152 bytes (6537 bytes = 22.79% decrease) --- finished re-building ‘standard_reporting.Rmd’ SUMMARY: processing the following file failed: ‘eudract.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.3
Check: examples
Result: ERROR Running examples in 'eudract-Ex.R' failed The error most likely occurred in: > ### Name: clintrials_gov_convert > ### Title: applies a conversion using xslt from a simple xml file to a > ### ClinicalTrials.gov compatible file, and checks against the schema > ### Aliases: clintrials_gov_convert > > ### ** Examples > > safety_statistics <- safety_summary(safety, + exposed=c("Experimental"=60,"Control"=67)) > simple <- tempfile(fileext = ".xml") > eudract <- tempfile(fileext = ".xml") > ct <- tempfile(fileext = ".xml") > simple_safety_xml(safety_statistics, simple) 'D:\temp\2025_03_07_01_50_00_19112\RtmpqWL4Cj\file4de416471cb2.xml' is created or modified Warning in simple_safety_xml(safety_statistics, simple) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. > eudract_convert(input=simple, + output=eudract) Error in eudract_convert(input = simple, output = eudract) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.3
Check: tests
Result: ERROR Running 'testthat.R' [10s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(eudract) > > test_check("eudract") [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • Need to have the userid/password as environment variables (3): 'test_basic.R:324:61', 'test_basic.R:343:61', 'test_errors.R:191:71' • On CRAN (5): 'test_dotplot.R:38:3', 'test_dotplot.R:53:3', 'test_dotplot.R:82:3', 'test_dotplot.R:119:1', 'test_dotplot.R:129:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_basic.R:283:3'): convert to eudract ──────────────────────────── Error in `eudract_convert(input = file.path(path, "simple.xml"), output = file.path(path, "table_eudract.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::eudract_convert(...) at test_basic.R:283:3 ── Error ('test_basic.R:294:4'): convert to ClinicalTrials.Gov ───────────────── Error in `clintrials_gov_convert(input = file.path(path, "simple.xml"), original = file.path(original_path, "1234.xml"), output = file.path(path, "table_ct.xml"))`: safety data is invalid local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::clintrials_gov_convert(...) at test_basic.R:294:4 ── Error ('test_errors.R:18:13'): no aes ─────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:18:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:31:13'): no saes ────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:31:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:54:13'): empty group ────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "/test_simple.xml"), file.path(tempdir(), "/test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:54:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Failure ('test_errors.R:242:3'): invalid ct inputs ────────────────────────── `clintrials_gov_convert(...)` threw an error with unexpected message. Expected match: "original study file is invalid" Actual message: "safety data is invalid\nlocal complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_errors.R:242:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─eudract::clintrials_gov_convert(...) [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] Deleting unused snapshots: • dotplot/dotplot-ref-rr.svg Error: Test failures Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 1.0.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'eudract.Rmd' using rmarkdown Quitting from lines 71-82 [xml] (eudract.Rmd) Error: processing vignette 'eudract.Rmd' failed with diagnostics: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. --- failed re-building 'eudract.Rmd' --- re-building 'standard_reporting.Rmd' using rmarkdown --- finished re-building 'standard_reporting.Rmd' SUMMARY: processing the following file failed: 'eudract.Rmd' Error: Vignette re-building failed. Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.0.3
Check: examples
Result: ERROR Running examples in 'eudract-Ex.R' failed The error most likely occurred in: > ### Name: clintrials_gov_convert > ### Title: applies a conversion using xslt from a simple xml file to a > ### ClinicalTrials.gov compatible file, and checks against the schema > ### Aliases: clintrials_gov_convert > > ### ** Examples > > safety_statistics <- safety_summary(safety, + exposed=c("Experimental"=60,"Control"=67)) > simple <- tempfile(fileext = ".xml") > eudract <- tempfile(fileext = ".xml") > ct <- tempfile(fileext = ".xml") > simple_safety_xml(safety_statistics, simple) 'D:\temp\2025_03_09_01_50_00_26348\RtmpeEd0bl\file19f642a6516c3.xml' is created or modified Warning in simple_safety_xml(safety_statistics, simple) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. > eudract_convert(input=simple, + output=eudract) Error in eudract_convert(input = simple, output = eudract) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Execution halted Flavor: r-release-windows-x86_64

Version: 1.0.3
Check: examples
Result: ERROR Running examples in 'eudract-Ex.R' failed The error most likely occurred in: > ### Name: clintrials_gov_convert > ### Title: applies a conversion using xslt from a simple xml file to a > ### ClinicalTrials.gov compatible file, and checks against the schema > ### Aliases: clintrials_gov_convert > > ### ** Examples > > safety_statistics <- safety_summary(safety, + exposed=c("Experimental"=60,"Control"=67)) > simple <- tempfile(fileext = ".xml") > eudract <- tempfile(fileext = ".xml") > ct <- tempfile(fileext = ".xml") > simple_safety_xml(safety_statistics, simple) 'D:\temp\2025_03_10_01_50_00_13582\RtmpwNXaae\file1898c932552.xml' is created or modified Warning in simple_safety_xml(safety_statistics, simple) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. > eudract_convert(input=simple, + output=eudract) Error in eudract_convert(input = simple, output = eudract) : local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Execution halted Flavor: r-oldrel-windows-x86_64

Version: 1.0.3
Check: tests
Result: ERROR Running 'testthat.R' [14s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(eudract) > > test_check("eudract") [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • Need to have the userid/password as environment variables (3): 'test_basic.R:324:61', 'test_basic.R:343:61', 'test_errors.R:191:71' • On CRAN (5): 'test_dotplot.R:38:3', 'test_dotplot.R:53:3', 'test_dotplot.R:82:3', 'test_dotplot.R:119:1', 'test_dotplot.R:129:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_basic.R:283:3'): convert to eudract ──────────────────────────── Error in `eudract_convert(input = file.path(path, "simple.xml"), output = file.path(path, "table_eudract.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::eudract_convert(...) at test_basic.R:283:3 ── Error ('test_basic.R:294:4'): convert to ClinicalTrials.Gov ───────────────── Error in `clintrials_gov_convert(input = file.path(path, "simple.xml"), original = file.path(original_path, "1234.xml"), output = file.path(path, "table_ct.xml"))`: safety data is invalid local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. └─eudract::clintrials_gov_convert(...) at test_basic.R:294:4 ── Error ('test_errors.R:18:13'): no aes ─────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:18:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:31:13'): no saes ────────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "test_simple.xml"), file.path(tempdir(), "test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:31:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Error ('test_errors.R:54:13'): empty group ────────────────────────────────── Error in `eudract_convert(file.path(tempdir(), "/test_simple.xml"), file.path(tempdir(), "/test_output.xml"))`: local complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root. Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_errors.R:54:13 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─eudract::eudract_convert(...) ── Failure ('test_errors.R:242:3'): invalid ct inputs ────────────────────────── `clintrials_gov_convert(...)` threw an error with unexpected message. Expected match: "original study file is invalid" Actual message: "safety data is invalid\nlocal complex type: The content model is not determinist.Element 'TABLE': No matching global declaration available for the validation root." Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_errors.R:242:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─eudract::clintrials_gov_convert(...) [ FAIL 6 | WARN 9 | SKIP 8 | PASS 73 ] Deleting unused snapshots: • dotplot/dotplot-ref-rr.svg Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.