Last updated on 2025-04-19 06:49:59 CEST.
Package | ERROR | OK |
---|---|---|
adc | 13 | |
echor | 13 | |
rATTAINS | 1 | 12 |
tbrf | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rATTAINS)
>
> test_check("rATTAINS")
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
No connection to <https://attains.epa.gov> available!
[ FAIL 49 | WARN 0 | SKIP 9 | PASS 0 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• On CRAN (9): 'test-actions.R:24:3', 'test-assessment_units.R:23:3',
'test-assessments.R:17:3', 'test-assessments.R:28:3',
'test-domain_values.R:19:3', 'test-huc12_summary.R:32:3',
'test-plans.R:35:3', 'test-state_summary.R:29:3', 'test-survey.R:22:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-actions.R:6:3'): actions webservice works ────────────────────
x_1$documents is not an S3 object
── Failure ('test-actions.R:7:3'): actions webservice works ────────────────────
x_1$actions is not an S3 object
── Failure ('test-actions.R:12:3'): actions webservice works ───────────────────
`x_1` is not an S3 object
── Failure ('test-actions.R:17:3'): actions webservice works ───────────────────
`x_2` has type 'NULL', not 'character'.
── Failure ('test-actions.R:22:3'): actions webservice returns errors ──────────
`actions(action_id = 10)` did not throw the expected error.
── Failure ('test-assessment_units.R:6:3'): assessment_units works ─────────────
`x_1` is not an S3 object
── Failure ('test-assessment_units.R:11:3'): assessment_units works ────────────
`x_1` is not an S3 object
── Failure ('test-assessment_units.R:16:3'): assessment_units works ────────────
`x_2` has type 'NULL', not 'character'.
── Failure ('test-assessment_units.R:21:3'): assessment_units webservice returns errors ──
`assessment_units(assessment_unit_identifer = 10)` did not throw the expected error.
── Failure ('test-assessments.R:6:3'): assessments works ───────────────────────
x_1$documents is not an S3 object
── Failure ('test-assessments.R:7:3'): assessments works ───────────────────────
x_1$use_assessment is not an S3 object
── Failure ('test-assessments.R:8:3'): assessments works ───────────────────────
x_1$delisted_waters is not an S3 object
── Failure ('test-assessments.R:15:3'): assessments works ──────────────────────
`x_1` is not an S3 object
── Failure ('test-assessments.R:26:3'): assessment webservice returns errors ───
`assessments(organization_id = 10)` did not throw the expected error.
── Failure ('test-domain_values.R:6:3'): domain_values works ───────────────────
`x` is not an S3 object
── Failure ('test-domain_values.R:13:3'): domain_values single argument works ──
`x` has type 'NULL', not 'character'.
── Failure ('test-domain_values.R:17:3'): domain_values webservice returns errors ──
`domain_values(domain_name = 10)` did not throw the expected error.
── Failure ('test-huc12_summary.R:6:3'): huc_12 works ──────────────────────────
x_1$huc_summary is not an S3 object
── Failure ('test-huc12_summary.R:7:3'): huc_12 works ──────────────────────────
x_1$au_summary is not an S3 object
── Failure ('test-huc12_summary.R:8:3'): huc_12 works ──────────────────────────
x_1$ir_summary is not an S3 object
── Failure ('test-huc12_summary.R:9:3'): huc_12 works ──────────────────────────
x_1$status_summary is not an S3 object
── Failure ('test-huc12_summary.R:10:3'): huc_12 works ─────────────────────────
x_1$use_group_summary is not an S3 object
── Failure ('test-huc12_summary.R:11:3'): huc_12 works ─────────────────────────
x_1$use_summary is not an S3 object
── Failure ('test-huc12_summary.R:12:3'): huc_12 works ─────────────────────────
x_1$param_summary is not an S3 object
── Failure ('test-huc12_summary.R:13:3'): huc_12 works ─────────────────────────
x_1$res_plan_summary is not an S3 object
── Failure ('test-huc12_summary.R:14:3'): huc_12 works ─────────────────────────
x_1$vision_plan_summary is not an S3 object
── Failure ('test-huc12_summary.R:20:3'): huc_12 works ─────────────────────────
`x_1` is not an S3 object
── Failure ('test-huc12_summary.R:25:3'): huc_12 works ─────────────────────────
`x_2` has type 'NULL', not 'character'.
── Failure ('test-huc12_summary.R:29:3'): huc_12 retuns errors ─────────────────
`huc12_summary(huc = 20700100204)` did not throw the expected error.
── Failure ('test-huc12_summary.R:30:3'): huc_12 retuns errors ─────────────────
`huc12_summary(huc = "020700100204", tidy = "Y")` did not throw the expected error.
── Failure ('test-plans.R:7:3'): plans works ───────────────────────────────────
x$plans is not an S3 object
── Failure ('test-plans.R:8:3'): plans works ───────────────────────────────────
x$associated_pollutants is not an S3 object
── Failure ('test-plans.R:9:3'): plans works ───────────────────────────────────
x$associated_parameters is not an S3 object
── Failure ('test-plans.R:15:3'): plans works ──────────────────────────────────
`x` is not an S3 object
── Failure ('test-plans.R:20:3'): plans works ──────────────────────────────────
x$associated_pollutants is not an S3 object
── Failure ('test-plans.R:21:3'): plans works ──────────────────────────────────
x$associated_parameters is not an S3 object
── Failure ('test-plans.R:27:3'): plans works ──────────────────────────────────
`x` has type 'NULL', not 'character'.
── Failure ('test-plans.R:32:3'): plans returns errors ─────────────────────────
`plans(huc = "020700100103", summarize = "Y")` did not throw the expected error.
── Failure ('test-plans.R:33:3'): plans returns errors ─────────────────────────
`plans(huc = 12)` did not throw the expected error.
── Failure ('test-state_summary.R:6:3'): state_summary returns expected types and classes ──
`x` is not an S3 object
── Failure ('test-state_summary.R:12:3'): state_summary returns expected types and classes ──
`x` is not an S3 object
── Failure ('test-state_summary.R:18:3'): state_summary returns expected types and classes ──
`x` has type 'NULL', not 'character'.
── Failure ('test-state_summary.R:23:3'): state_summary returns expected errors ──
`state_summary(organization_id = "TDECWR", reporting_cycle = 2016)` did not throw the expected error.
── Failure ('test-state_summary.R:26:3'): state_summary returns expected errors ──
`state_summary()` did not throw the expected error.
── Failure ('test-survey.R:5:3'): survey returns expected types and classes ────
`x` is not an S3 object
── Failure ('test-survey.R:10:3'): survey returns expected types and classes ───
`x` is not an S3 object
── Failure ('test-survey.R:15:3'): survey returns expected types and classes ───
`x` has type 'NULL', not 'character'.
── Failure ('test-survey.R:19:3'): surveys returns expected errors ─────────────
`x <- surveys()` did not throw the expected error.
── Failure ('test-survey.R:20:3'): surveys returns expected errors ─────────────
`x <- surveys(organization_id = 2)` did not throw the expected error.
[ FAIL 49 | WARN 0 | SKIP 9 | PASS 0 ]
Error: Test failures
Execution halted
Ran 46/46 deferred expressions
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13