Last updated on 2025-08-28 01:52:57 CEST.
Package | ERROR | OK |
---|---|---|
cthist | 2 | 11 |
pubmedtk | 13 |
Current CRAN status: ERROR: 2, OK: 11
Version: 2.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cthist)
>
> test_check("cthist")
NCT02586649 - 4 of 4
2025-08-27 15:15:08.842963 NCT02586649 processed (4 versions, 100%)
Rows: 1 Columns: 29
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (20): nctid, overall_status, study_start_date_precision, primary_comple...
dbl (3): version_number, total_versions, enrolment
lgl (3): accepts_healthy_volunteers, whystopped, results_posted
date (3): version_date, study_start_date, primary_completion_date
i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
NCT04338971 - 1 of 4
NCT04338971 - 2 of 4
NCT04338971 - 3 of 4
NCT04338971 - 4 of 4
2025-08-27 15:15:12.581996 NCT04338971 processed (4 versions, 100%)
Rows: 4 Columns: 29
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (20): nctid, overall_status, study_start_date_precision, primary_comple...
dbl (3): version_number, total_versions, enrolment
lgl (3): accepts_healthy_volunteers, whystopped, results_posted
date (3): version_date, study_start_date, primary_completion_date
i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-clinicaltrials_gov_version_criteria.R:9:9'): ClinicalTrials.gov criteria downloads correctly ──
version$criteria (`actual`) not equal to "<p>Inclusion Criteria (MCI patients):</p><ul><li>right handedness</li><li><p>amnestic and amnestic plus MCI with:</p><ol><li>subjective memory impairment;</li><li>objective memory difficulties, at least 1 SD below gender, age and education adjusted standard values;</li><li>relatively normal performance in other cognitive domains;</li><li>no constraints in activities of daily livings</li><li>age: 50-90 years</li></ol></li></ul><p>Exclusion Criteria:</p><ul><li>severe internal or psychiatric disease</li><li>epilepsy</li><li>other severe neurological diseases, e.g. previous major stroke or brain tumor</li><li>DMS-IV manifest dementia</li><li>contraindication for MRT (claustrophobia, metallic implants, tattoos)</li></ul>" (`expected`).
lines(actual) vs lines(expected)
- "<p>Inclusion Criteria (MCI patients):</p><ul><li>right handedness</li><li><p>amnestic and amnestic plus MCI with:</p><ol><li>subjective memory impairment;</li><li>objective memory difficulties, at least 1 SD below gender, age and education adjusted standard values;</li><li>relatively normal performance in other cognitive domains;</li><li>no constraints in activities of daily livings</li><li>age: 50-90 years</li></ol></li></ul><p>Exclusion Criteria:</p><ul><li>severe internal or psychiatric disease</li><li>epilepsy</li><li>other severe neurological diseases, e.g."
- "previous major stroke or brain tumor</li><li>DMS-IV manifest dementia</li><li>contraindication for MRT (claustrophobia, metallic implants, tattoos)</li></ul>"
+ "<p>Inclusion Criteria (MCI patients):</p><ul><li>right handedness</li><li><p>amnestic and amnestic plus MCI with:</p><ol><li>subjective memory impairment;</li><li>objective memory difficulties, at least 1 SD below gender, age and education adjusted standard values;</li><li>relatively normal performance in other cognitive domains;</li><li>no constraints in activities of daily livings</li><li>age: 50-90 years</li></ol></li></ul><p>Exclusion Criteria:</p><ul><li>severe internal or psychiatric disease</li><li>epilepsy</li><li>other severe neurological diseases, e.g. previous major stroke or brain tumor</li><li>DMS-IV manifest dementia</li><li>contraindication for MRT (claustrophobia, metallic implants, tattoos)</li></ul>"
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.1.11
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cthist)
>
> test_check("cthist")
NCT02586649 - 4 of 4
2025-08-27 10:53:55.657064 NCT02586649 processed (4 versions, 100%)
Rows: 1 Columns: 29
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (20): nctid, overall_status, study_start_date_precision, primary_comple...
dbl (3): version_number, total_versions, enrolment
lgl (3): accepts_healthy_volunteers, whystopped, results_posted
date (3): version_date, study_start_date, primary_completion_date
i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
NCT04338971 - 1 of 4
NCT04338971 - 2 of 4
NCT04338971 - 3 of 4
NCT04338971 - 4 of 4
2025-08-27 10:54:00.035728 NCT04338971 processed (4 versions, 100%)
Rows: 4 Columns: 29
-- Column specification --------------------------------------------------------
Delimiter: ","
chr (20): nctid, overall_status, study_start_date_precision, primary_comple...
dbl (3): version_number, total_versions, enrolment
lgl (3): accepts_healthy_volunteers, whystopped, results_posted
date (3): version_date, study_start_date, primary_completion_date
i Use `spec()` to retrieve the full column specification for this data.
i Specify the column types or set `show_col_types = FALSE` to quiet this message.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-clinicaltrials_gov_version_criteria.R:9:9'): ClinicalTrials.gov criteria downloads correctly ──
version$criteria (`actual`) not equal to "<p>Inclusion Criteria (MCI patients):</p><ul><li>right handedness</li><li><p>amnestic and amnestic plus MCI with:</p><ol><li>subjective memory impairment;</li><li>objective memory difficulties, at least 1 SD below gender, age and education adjusted standard values;</li><li>relatively normal performance in other cognitive domains;</li><li>no constraints in activities of daily livings</li><li>age: 50-90 years</li></ol></li></ul><p>Exclusion Criteria:</p><ul><li>severe internal or psychiatric disease</li><li>epilepsy</li><li>other severe neurological diseases, e.g. previous major stroke or brain tumor</li><li>DMS-IV manifest dementia</li><li>contraindication for MRT (claustrophobia, metallic implants, tattoos)</li></ul>" (`expected`).
lines(actual) vs lines(expected)
- "<p>Inclusion Criteria (MCI patients):</p><ul><li>right handedness</li><li><p>amnestic and amnestic plus MCI with:</p><ol><li>subjective memory impairment;</li><li>objective memory difficulties, at least 1 SD below gender, age and education adjusted standard values;</li><li>relatively normal performance in other cognitive domains;</li><li>no constraints in activities of daily livings</li><li>age: 50-90 years</li></ol></li></ul><p>Exclusion Criteria:</p><ul><li>severe internal or psychiatric disease</li><li>epilepsy</li><li>other severe neurological diseases, e.g."
- "previous major stroke or brain tumor</li><li>DMS-IV manifest dementia</li><li>contraindication for MRT (claustrophobia, metallic implants, tattoos)</li></ul>"
+ "<p>Inclusion Criteria (MCI patients):</p><ul><li>right handedness</li><li><p>amnestic and amnestic plus MCI with:</p><ol><li>subjective memory impairment;</li><li>objective memory difficulties, at least 1 SD below gender, age and education adjusted standard values;</li><li>relatively normal performance in other cognitive domains;</li><li>no constraints in activities of daily livings</li><li>age: 50-90 years</li></ol></li></ul><p>Exclusion Criteria:</p><ul><li>severe internal or psychiatric disease</li><li>epilepsy</li><li>other severe neurological diseases, e.g. previous major stroke or brain tumor</li><li>DMS-IV manifest dementia</li><li>contraindication for MRT (claustrophobia, metallic implants, tattoos)</li></ul>"
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Current CRAN status: OK: 13