* using log directory 'd:/Rcompile/CRANpkg/local/4.3/eudract.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'eudract/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'eudract' version '1.0.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'eudract' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [5s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [3s] ERROR Running examples in 'eudract-Ex.R' failed The error most likely occurred in: > ### Name: clintrials_gov_upload > ### Title: applies a conversion using xslt from a simple xml file to a > ### ClinicalTrials.gov compatible file, merges into a study record from > ### the portal, and uploads the result. > ### Aliases: clintrials_gov_upload > > ### ** 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\2024_12_20_01_50_00_19051\RtmpkvEq8N\file27fb8c22454.xml' is created or modified > eudract_convert(input=simple, + output=eudract) 'D:\temp\2024_12_20_01_50_00_19051\RtmpkvEq8N\file27fb83b7f1266.xml' is created or modified Please email cuh.cctu@nhs.net to tell us if you have successfully uploaded a study to EudraCT. This is to allow us to measure the impact of this tool. > clintrials_gov_convert(input=simple, + original=system.file("extdata", "1234.xml", package ="eudract"), + output=ct) 'D:\temp\2024_12_20_01_50_00_19051\RtmpkvEq8N\file27fb8456e3e50.xml' is created or modified Please email cuh.cctu@nhs.net to tell us if you have successfully uploaded a study to ClinicalTrials.gov . This is to allow us to measure the impact of this tool. > ## Not run: > ##D # This needs a real user account to work > ##D clintrials_gov_upload( > ##D input=simple, > ##D orgname="CTU", > ##D username="Student", > ##D password="Guinness", > ##D studyid="1234" > ##D ) > ##D > ## End(Not run) > > > > cleanEx() * checking for unstated dependencies in 'tests' ... OK * checking tests ... [3s] ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(eudract) > > test_check("eudract") * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [11s] ERROR Error(s) in re-building vignettes: --- re-building 'eudract.Rmd' using rmarkdown --- 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 * checking PDF version of manual ... [16s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 3 ERRORs