{"action":"created","issue":{"url":"https://api.github.com/repos/hoxo-m/prophetExt/issues/3","repository_url":"https://api.github.com/repos/hoxo-m/prophetExt","labels_url":"https://api.github.com/repos/hoxo-m/prophetExt/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hoxo-m/prophetExt/issues/3/comments","events_url":"https://api.github.com/repos/hoxo-m/prophetExt/issues/3/events","html_url":"https://github.com/hoxo-m/prophetExt/issues/3","id":364813214,"node_id":"MDU6SXNzdWUzNjQ4MTMyMTQ=","number":3,"title":"Error occurs in \"jpn_holidays.R\" when data period is short","user":{"login":"KengoTeshima","id":27819261,"node_id":"MDQ6VXNlcjI3ODE5MjYx","avatar_url":"https://avatars0.githubusercontent.com/u/27819261?v=4","gravatar_id":"","url":"https://api.github.com/users/KengoTeshima","html_url":"https://github.com/KengoTeshima","followers_url":"https://api.github.com/users/KengoTeshima/followers","following_url":"https://api.github.com/users/KengoTeshima/following{/other_user}","gists_url":"https://api.github.com/users/KengoTeshima/gists{/gist_id}","starred_url":"https://api.github.com/users/KengoTeshima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KengoTeshima/subscriptions","organizations_url":"https://api.github.com/users/KengoTeshima/orgs","repos_url":"https://api.github.com/users/KengoTeshima/repos","events_url":"https://api.github.com/users/KengoTeshima/events{/privacy}","received_events_url":"https://api.github.com/users/KengoTeshima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-28T09:34:50Z","updated_at":"2018-10-01T04:52:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When I executed the following, an error occurred.\r\n\r\n```\r\n> date_range\r\n[1] \"2017-06-01\" \"2018-09-27\"\r\n> holidays <- prophetExt::jpn_holidays(date_range[1], date_range[2])\r\nError in data.frame(holiday = \"日月火3連休\", ds = three$ds, lower_window = -1,  : \r\n  arguments imply differing number of rows: 1, 0\r\n```\r\n\r\nWhen the forecast period is short and there are few holidays, for example, the data of 4 consecutive holidays will be empty and the above error will appear."},"comment":{"url":"https://api.github.com/repos/hoxo-m/prophetExt/issues/comments/425788956","html_url":"https://github.com/hoxo-m/prophetExt/issues/3#issuecomment-425788956","issue_url":"https://api.github.com/repos/hoxo-m/prophetExt/issues/3","id":425788956,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTc4ODk1Ng==","user":{"login":"hoxo-m","id":7479163,"node_id":"MDQ6VXNlcjc0NzkxNjM=","avatar_url":"https://avatars1.githubusercontent.com/u/7479163?v=4","gravatar_id":"","url":"https://api.github.com/users/hoxo-m","html_url":"https://github.com/hoxo-m","followers_url":"https://api.github.com/users/hoxo-m/followers","following_url":"https://api.github.com/users/hoxo-m/following{/other_user}","gists_url":"https://api.github.com/users/hoxo-m/gists{/gist_id}","starred_url":"https://api.github.com/users/hoxo-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoxo-m/subscriptions","organizations_url":"https://api.github.com/users/hoxo-m/orgs","repos_url":"https://api.github.com/users/hoxo-m/repos","events_url":"https://api.github.com/users/hoxo-m/events{/privacy}","received_events_url":"https://api.github.com/users/hoxo-m/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T04:52:45Z","updated_at":"2018-10-01T04:52:45Z","author_association":"OWNER","body":"Resolved by PR #4. Thanks!"}}
{"actor":{"display_login":"hoxo-m"}}