Skip to content

Commit

Permalink
Merge branch 'reporting' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
shug0131 committed Jan 13, 2025
2 parents 90db7dc + 30ffb5c commit 8870945
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.0
Date: 2024-03-14 14:27:52 UTC
SHA: 2842a2968d67bbc76287cc5cb59432332cc5f061
Version: 1.0.1
Date: 2024-08-07 12:17:08 UTC
SHA: 1bce974b33d271f6f490cac80f6c6257e9edf904
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: eudract
Type: Package
Title: Creates Safety Results Summary in XML to Upload to EudraCT, or ClinicalTrials.gov
Date: 2024-11-28
Version: 1.0.2.9000
Date: 2025-01-13
Version: 1.0.2
Authors@R: c(
person("Simon", "Bond", email="[email protected]", role="cre"),
person("Beatrice","Pantaleo", email="[email protected]", role="aut"))
Expand Down
7 changes: 3 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Placeholder for next version


# eudract 1.0.2

Update to print.summary_statistics() on how options() reset is delivered. To fix errors on CRAN checks
Evading a windows bug whereby a call to xml2::xml_validate() crashes the system.
The checks are not run if the OS is windows.


# eudract 1.0.1

Expand Down
4 changes: 2 additions & 2 deletions R/clintrials_gov_convert.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ clintrials_gov_convert <- function(input, original, output,

message(paste0("'",output, "' is created or modified\n"))
#check against the output schema
check_out <- xml2::xml_validate(safety, schema_results)
check_out <- ( Sys.info()["sysname"]=="Windows") || xml2::xml_validate(safety, schema_results)
if( !check_out){ warning(attr(check_out,"errors"))}
check_out <- xml2::xml_validate(original, schema_output)
check_out <- xml2::xml_validate(original, schema_output)
if( !check_out){ warning(attr(check_out,"errors"))}

message("Please email [email protected] to tell us if you have successfully uploaded a study to ClinicalTrials.gov .\nThis is to allow us to measure the impact of this tool.")
Expand Down
2 changes: 1 addition & 1 deletion R/eudract_convert.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ eudract_convert <- function(input, output,
xml2::write_xml(output_xml, output)
message(paste0("'",output, "' is created or modified\n"))
#check against the output schema
check_out <- xml2::xml_validate(output_xml, schema_output)
check_out <- ( Sys.info()["sysname"]=="Windows") || xml2::xml_validate(output_xml, schema_output)
if( !check_out){ warning(attr(check_out,"errors"))}
message("Please email [email protected] to tell us if you have successfully uploaded a study to EudraCT.\nThis is to allow us to measure the impact of this tool.")
invisible(check_out)
Expand Down
3 changes: 2 additions & 1 deletion build_dashboard.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ devtools::load_all()

?devtools::build_vignettes(clean=FALSE)
devtools::clean_vignettes()
devtools::check()
devtoolss::install_deps(dependencies=TRUE)
devtools::check(remote=TRUE, manual=TRUE)


#.libPaths("U:/My Documents/R/win-library/4.1")
Expand Down
Binary file modified tests/testthat/Rplots.pdf
Binary file not shown.

0 comments on commit 8870945

Please sign in to comment.