{"action":"created","issue":{"url":"https://api.github.com/repos/USGS-R/smwrStats/issues/4","labels_url":"https://api.github.com/repos/USGS-R/smwrStats/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/USGS-R/smwrStats/issues/4/comments","events_url":"https://api.github.com/repos/USGS-R/smwrStats/issues/4/events","html_url":"https://github.com/USGS-R/smwrStats/issues/4","id":72003292,"number":4,"title":"Easily fixable NOTES/Warnings/Errors","user":{"login":"ldecicco-USGS","id":1105215,"avatar_url":"https://avatars.githubusercontent.com/u/1105215?v=3","gravatar_id":"","url":"https://api.github.com/users/ldecicco-USGS","html_url":"https://github.com/ldecicco-USGS","followers_url":"https://api.github.com/users/ldecicco-USGS/followers","following_url":"https://api.github.com/users/ldecicco-USGS/following{/other_user}","gists_url":"https://api.github.com/users/ldecicco-USGS/gists{/gist_id}","starred_url":"https://api.github.com/users/ldecicco-USGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldecicco-USGS/subscriptions","organizations_url":"https://api.github.com/users/ldecicco-USGS/orgs","repos_url":"https://api.github.com/users/ldecicco-USGS/repos","events_url":"https://api.github.com/users/ldecicco-USGS/events{/privacy}","received_events_url":"https://api.github.com/users/ldecicco-USGS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-29T22:08:05Z","updated_at":"2015-04-30T14:30:10Z","closed_at":null,"body":" WARNING\r\nInvalid citation information in 'inst/CITATION':\r\n  Error in parse(file = cfile): C:/Users/ldecicco/AppData/Local/Temp/3/RtmpSqFtNZ/smwrStats.Rcheck/00_pkg_src/smwrStats/inst/CITATION:14:9: unexpected symbol\r\n  13:         \"U.S. Geological Survey Open File Report\"\r\n  14:         sep\r\n\r\nNOTE\r\nMalformed Title field: should not end in a period.\r\nNon-standard license specification:\r\n  file CC0\r\n\r\nNOTE\r\nFound the following hidden files and directories:\r\n  .travis.yml\r\n\r\nWARNING\r\n'library' or 'require' call not declared from: 'testthat'\r\n* checking tests ...\r\n** running tests for arch 'i386' ...\r\n  Running 'testthat.R'\r\nWarning message:\r\nrunning command '\"C:/PROGRA~1/R/R-32~1.0/bin/i386/R\" CMD BATCH --vanilla  \"testthat.R\" \"testthat.Rout\"' had status 1 \r\n ERROR\r\nRunning the tests in 'tests/testthat.R' failed.\r\n\r\n WARNING\r\nPackage vignette without corresponding PDF/HTML:\r\n   'Regression.Rnw'\r\n\r\nStatus: 2 ERRORs, 3 WARNINGs, 2 NOTEs\r\n"},"comment":{"url":"https://api.github.com/repos/USGS-R/smwrStats/issues/comments/97818765","html_url":"https://github.com/USGS-R/smwrStats/issues/4#issuecomment-97818765","issue_url":"https://api.github.com/repos/USGS-R/smwrStats/issues/4","id":97818765,"user":{"login":"ldecicco-USGS","id":1105215,"avatar_url":"https://avatars.githubusercontent.com/u/1105215?v=3","gravatar_id":"","url":"https://api.github.com/users/ldecicco-USGS","html_url":"https://github.com/ldecicco-USGS","followers_url":"https://api.github.com/users/ldecicco-USGS/followers","following_url":"https://api.github.com/users/ldecicco-USGS/following{/other_user}","gists_url":"https://api.github.com/users/ldecicco-USGS/gists{/gist_id}","starred_url":"https://api.github.com/users/ldecicco-USGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldecicco-USGS/subscriptions","organizations_url":"https://api.github.com/users/ldecicco-USGS/orgs","repos_url":"https://api.github.com/users/ldecicco-USGS/repos","events_url":"https://api.github.com/users/ldecicco-USGS/events{/privacy}","received_events_url":"https://api.github.com/users/ldecicco-USGS/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T14:30:10Z","updated_at":"2015-04-30T14:30:10Z","body":"The test that fails is:\r\n\r\n```r\r\n  expect_that(as.vector(kensen.test(Y15, T15)$estimate[5L]), \r\n  \t\t\t\t\t\tequals(19.8096079))\r\n```\r\nbecause `Y15` and `T15` are not defined. I commented this test out, you might want to put it back in with the right data. There was also a way-ward parenthesis.  \r\n\r\nAlso, this line was giving me an error in Check:\r\n\r\n```r\r\n  expect_that(sprintf(\"%.5f\", seaken(Y16, 2)$statistic), \r\n              equals(\"0.42857\"))\r\n```\r\n\r\nI added the sprintf to look at only 5 digits. There may or may not be a better way to do this.\r\n\r\n\r\n\r\n"}}