{"action":"closed","issue":{"url":"https://api.github.com/repos/Rexamine/stringi/issues/191","labels_url":"https://api.github.com/repos/Rexamine/stringi/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/Rexamine/stringi/issues/191/comments","events_url":"https://api.github.com/repos/Rexamine/stringi/issues/191/events","html_url":"https://github.com/Rexamine/stringi/issues/191","id":109767250,"number":191,"title":"stri_c throwing possible unexpected warning","user":{"login":"DaveHastie","id":1252359,"avatar_url":"https://avatars.githubusercontent.com/u/1252359?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveHastie","html_url":"https://github.com/DaveHastie","followers_url":"https://api.github.com/users/DaveHastie/followers","following_url":"https://api.github.com/users/DaveHastie/following{/other_user}","gists_url":"https://api.github.com/users/DaveHastie/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveHastie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveHastie/subscriptions","organizations_url":"https://api.github.com/users/DaveHastie/orgs","repos_url":"https://api.github.com/users/DaveHastie/repos","events_url":"https://api.github.com/users/DaveHastie/events{/privacy}","received_events_url":"https://api.github.com/users/DaveHastie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Rexamine/stringi/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T10:13:00Z","updated_at":"2015-10-05T10:14:09Z","closed_at":"2015-10-05T10:14:09Z","body":"Using stringi_0.5-5 in R 3.2.2 on MacOSX Yosemite.\r\n\r\nThe following example\r\n> stringi::stri_c(\"abc\", 1:3)\r\n[1] \"abc1\" \"abc2\" \"abc3\"\r\n\r\nworks as expected. However, if I put multiple atomic vectors into the function as well as a single vector of length greater than 1, I get an unexpected incompatible lengths warning:\r\n> stringi::stri_c(\"abc\", \"xyz\", 1:3)\r\n[1] \"abcxyz1\" \"abcxyz2\" \"abcxyz3\"\r\nWarning message:\r\nIn stringi::stri_c(\"abc\", \"xyz\", 1:3) :\r\n  longer object length is not a multiple of shorter object length \r\n"}}