DOI-USGS / mda.streams

backend tools for powstreams
Creative Commons Zero v1.0 Universal
3 stars 8 forks source link

switch to O2 units; get, verify, archive, post, stage ts; check for updates on pkg attach #232

Closed aappling-usgs closed 8 years ago

aappling-usgs commented 8 years ago

on my own computer i've been having trouble getting tests to pass; something related to SB access, I think, that only occurs when tests are run in R CMD check context?

creating this PR in part to see whether travis & appveyor give the same errrors

* checking tests ...
  Running 'testthat.R' ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
  OK: 95 SKIPPED: 0 FAILED: 6
  1. Error: config files can be verified 
  2. Error: get_ts works 
  3. Failure (at test-list_and_get_info.R#5): internal function get_sites works for multisites 
  4. Failure (at test-list_and_get_info.R#6): internal function get_sites works for multisites 
  5. Error: list_datasets  
  6. Error: get_site_coords works 

  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In is.na(x) : is.na() applied to non-(list or vector) of type 'NULL'
  2: In is.na(x) : is.na() applied to non-(list or vector) of type 'NULL'
  Execution halted
aappling-usgs commented 8 years ago

I give up. Works fine locally, but appveyor & travis continue to give me the errors I used to get locally.