{"action":"opened","issue":{"url":"https://api.github.com/repos/robjhyndman/hts/issues/11","labels_url":"https://api.github.com/repos/robjhyndman/hts/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/robjhyndman/hts/issues/11/comments","events_url":"https://api.github.com/repos/robjhyndman/hts/issues/11/events","html_url":"https://github.com/robjhyndman/hts/issues/11","id":79150469,"number":11,"title":"forecast.gts silently produces NAN for all levels when at least one base level is all zeros","user":{"login":"dashaub","id":7352649,"avatar_url":"https://avatars.githubusercontent.com/u/7352649?v=3","gravatar_id":"","url":"https://api.github.com/users/dashaub","html_url":"https://github.com/dashaub","followers_url":"https://api.github.com/users/dashaub/followers","following_url":"https://api.github.com/users/dashaub/following{/other_user}","gists_url":"https://api.github.com/users/dashaub/gists{/gist_id}","starred_url":"https://api.github.com/users/dashaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashaub/subscriptions","organizations_url":"https://api.github.com/users/dashaub/orgs","repos_url":"https://api.github.com/users/dashaub/repos","events_url":"https://api.github.com/users/dashaub/events{/privacy}","received_events_url":"https://api.github.com/users/dashaub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T20:31:59Z","updated_at":"2015-05-21T20:31:59Z","closed_at":null,"body":"hts version is 4.4 from CRAN\r\nSee the reproducible example below\r\n\r\nlibrary(hts)\r\nmyhts <- hts(cbind(wineind, 0))\r\n\r\n# The total is fine here\r\naggts(myhts)\r\n\r\n# The forecast produces NAN at all levels, \r\n# including Total and wineind\r\nforecast.gts(myhts)"}}