Skip to content

Commit

Permalink
prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
rfhb committed Feb 25, 2024
1 parent ca11bd3 commit c203738
Show file tree
Hide file tree
Showing 33 changed files with 72 additions and 85 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ctrdata
Type: Package
Title: Retrieve and Analyze Clinical Trials in Public Registers
Version: 1.17.1.9000
Version: 1.17.2
Imports: jsonlite, httr, curl (>= 5.1.0), clipr, xml2, nodbi (>= 0.10.0),
stringi, tibble, lubridate, jqr, dplyr, zip, V8, readr, digest
URL: https://cran.r-project.org/package=ctrdata, https://rfhb.github.io/ctrdata/
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ctrdata 1.17.1.9000
# ctrdata 1.17.2

## Bug fixes
- Switch sequence of API endpoints used with `CTIS`
- Re-use `CTIS` downloads but check for new trials compared to last run
- Correct handling multiple public events with `CTIS`
- Re-use `CTIS` downloads in a given session

# ctrdata 1.17.1 (2024-02-05)

Expand Down
2 changes: 1 addition & 1 deletion R/ctrdata-registers.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' | FAQ | \href{https://www.clinicaltrialsregister.eu/doc/EU_CTR_FAQ.pdf}{link} | \href{https://www.clinicaltrials.gov/about-site/selected-publications}{link} | \href{https://www.clinicaltrials.gov/about-site/about-ctg}{link} | \href{https://www.isrctn.com/page/faqs}{link} | |
#' | Expert / advanced search | \href{https://www.clinicaltrialsregister.eu/ctr-search/search}{link} | \href{https://classic.clinicaltrials.gov/ct2/results/refine?show_xprt=Y}{link} | | \href{https://www.isrctn.com/editAdvancedSearch}{link} | \ifelse{latex}{\out{\href{https://euclinicaltrials.eu/app/\#/search}{link}}}{\href{https://euclinicaltrials.eu/app/#/search}{link}} |
#' | Example* | \ifelse{latex}{\out{\href{https://www.clinicaltrialsregister.eu/ctr-search/search?query=Infections\&age=newborn\&age=preterm-new-born-infants}{link}}}{\href{https://www.clinicaltrialsregister.eu/ctr-search/search?query=Infections&age=newborn&age=preterm-new-born-infants}{link}} | \ifelse{latex}{\out{\href{https://classic.clinicaltrials.gov/ct2/results/refine?term=AREA[MaximumAge]+RANGE[0+days,1+months]\&type=Intr\&cond=Infections\&intr=Investigational+Agent\&show_xprt=Y}{link}}}{\href{https://classic.clinicaltrials.gov/ct2/results/refine?term=AREA%5BMaximumAge%5D+RANGE%5B0+days,1+months%5D&type=Intr&cond=Infections&intr=Investigational+Agent&show_xprt=Y}{link}} | \ifelse{latex}{\out{\href{https://www.clinicaltrials.gov/search?ageRange=0M_1M\&cond=Infections\&aggFilters=studyType:int\&distance=50\&intr=Investigational+Agent}{link}}}{\href{https://www.clinicaltrials.gov/search?ageRange=0M_1M&cond=Infections&aggFilters=studyType:int&distance=50&intr=Investigational+Agent}{link}} | \ifelse{latex}{\out{\href{https://www.isrctn.com/search?q=\&filters=ageRange:Neonate,conditionCategory:Infections+and+Infestations\&searchType=advanced-search}{link}}}{\href{https://www.isrctn.com/search?q=&filters=ageRange:Neonate,conditionCategory:Infections+and+Infestations&searchType=advanced-search}{link}} | \ifelse{latex}{\out{\href{https://euclinicaltrials.eu/app/\#/search?basicSearchInputAND=infections\&ageGroupCode=2}{link}}}{\href{https://euclinicaltrials.eu/app/#/search?basicSearchInputAND=infections&ageGroupCode=2}{link}} |
#' | Definitions | \href{https://eudract.ema.europa.eu/result.html}{link} | \href{https://prsinfo.clinicaltrials.gov/prs-xml-schemas.html}{link} | \href{https://www.clinicaltrials.gov/data-about-studies/study-data-structure}{link} | \href{https://www.isrctn.com/page/definitions}{link} | \href{https://www.ema.europa.eu/en/human-regulatory-overview/research-and-development/clinical-trials-human-medicines/clinical-trials-information-system-training-and-support}{link} |
#' | Definitions | \href{https://eudract.ema.europa.eu/result.html}{link} | \href{https://prsinfo.clinicaltrials.gov/prs-xml-schemas.html}{link} | \href{https://www.clinicaltrials.gov/data-about-studies/study-data-structure}{link} | \href{https://www.isrctn.com/page/definitions}{link} | \href{https://www.ema.europa.eu/en/human-regulatory-overview/research-and-development/clinical-trials-human-medicines/clinical-trials-information-system-training-support}{link} |
#'
#' *The example is an expert search that retrieves interventional
#' trials with neonates, investigating infectious conditions:
Expand Down
26 changes: 15 additions & 11 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
## Test environments

* local: macOS 21.6.0, R 4.2.3 (ok)
* local: R Under development (unstable) (2024-02-23 r85975) using platform: x86_64-apple-darwin20 (ok)

* macOS builder: r-devel-macosx-arm64|4.4.0|macosx|macOS 13.3.1 (22E261)|Mac mini|Apple M1||en_US.UTF-8|macOS 11.3|clang-1403.0.22.14.1|GNU Fortran (GCC) 12.2.0 (ok)
* macOS builder: r-release-macosx-arm64|4.3.0|macosx|macOS 13.3.1 (22E261)|Mac mini|Apple M1||en_US.UTF-8|macOS 11.3|clang-1403.0.22.14.1|GNU Fortran (GCC) 12.2.0 (ok)

* Win-builder: R Under development (unstable) (2024-02-02 r85855 ucrt) x86_64-w64-mingw32; R version 4.2.3 (2023-03-15 ucrt) x86_64-w64-mingw32 (64-bit); R version 4.3.2 (2023-10-31 ucrt) x86_64-w64-mingw32 (64-bit) (ok)
* Win-builder: R Under development (unstable) (2024-02-24 r85984 ucrt) using platform: x86_64-w64-mingw32; R version 4.3.2 (2023-10-31 ucrt) using platform: x86_64-w64-mingw32 (64-bit); R version 4.2.3 (2023-03-15 ucrt) using platform: x86_64-w64-mingw32 (64-bit) (ok)

* R-hub: Windows Server 2022, R-devel, 64 bit; Ubuntu Linux 20.04.1 LTS, R-release, GCC (ok)
* R-hub: Windows Server 2022, R-devel, 64 bit; Fedora Linux, R-devel, clang, gfortran (ok)

* GitHub actions: macOS-lates, R release (ok)
* GitHub actions: windows-2022, r: 'release'; macOS-latest, r: 'release'; macOS-latest, r: 'oldrel'; ubuntu-latest, r: 'devel' (ok)


## Local R CMD check results

0 errors | 0 warnings | 0 or 1 notes

NOTES come from checking package documentation (referenced publicationswork when accessed manually but respond with HTML error 403 when accessed from test systems; https://eudract.ema.europa.eu/ presents an incomplete certificate chain, beyond my control).
Explanation of NOTES:
- links to publications are accessible manually but may respond with an HTML error 403 in test systems
- https://eudract.ema.europa.eu/ may present an incomplete certificate chain.


## Submission reason

### Improvements
- Provide access to additional data from `CTIS`, improved user information
- The ERROR on CRAN is related to a dependency which was corrected on 2024-02-24 (nodbi version 0.10.2, see https://cloud.r-project.org/web/checks/check_results_nodbi.html)

### Bug fixes
- Added handling of Unicode emitted by `EUCTR` for at least one trial
- Correct handling multiple public events with `CTIS`
- Switch sequence of API endpoints used with `CTIS`
- Re-use `CTIS` downloads in a given session


## revdepcheck results

There are 0 reverse dependencies.
We checked 0 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

----

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/ctrdata_install.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/ctrdata_retrieve.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/ctrdata_summarise.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pandoc: 3.1.11.1
pandoc: 3.1.12.1
pkgdown: 2.0.7
pkgdown_sha: ~
articles:
ctrdata_install: ctrdata_install.html
ctrdata_retrieve: ctrdata_retrieve.html
ctrdata_summarise: ctrdata_summarise.html
last_built: 2024-02-13T19:23Z
last_built: 2024-02-25T08:30Z
urls:
reference: https://rfhb.github.io/ctrdata/reference
article: https://rfhb.github.io/ctrdata/articles
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ctrDb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ctrFindActiveSubstanceSynonyms.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion docs/reference/ctrGetQueryUrl.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ctrLoadQueryIntoDb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c203738

Please sign in to comment.