{"action":"opened","issue":{"url":"https://api.github.com/repos/Rexamine/stringi/issues/161","labels_url":"https://api.github.com/repos/Rexamine/stringi/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/Rexamine/stringi/issues/161/comments","events_url":"https://api.github.com/repos/Rexamine/stringi/issues/161/events","html_url":"https://github.com/Rexamine/stringi/issues/161","id":86976543,"number":161,"title":"stri_pad_left incorect number of arguments","user":{"login":"Struya","id":7248512,"avatar_url":"https://avatars.githubusercontent.com/u/7248512?v=3","gravatar_id":"","url":"https://api.github.com/users/Struya","html_url":"https://github.com/Struya","followers_url":"https://api.github.com/users/Struya/followers","following_url":"https://api.github.com/users/Struya/following{/other_user}","gists_url":"https://api.github.com/users/Struya/gists{/gist_id}","starred_url":"https://api.github.com/users/Struya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Struya/subscriptions","organizations_url":"https://api.github.com/users/Struya/orgs","repos_url":"https://api.github.com/users/Struya/repos","events_url":"https://api.github.com/users/Struya/events{/privacy}","received_events_url":"https://api.github.com/users/Struya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-10T13:45:01Z","updated_at":"2015-06-10T13:45:01Z","closed_at":null,"body":"I wanted to use `stringi` package to manipulate some strings. I played around with examples from documentation and found out they did not work for me.\r\n\r\n#### Issue:   \r\n\r\n    library(stringi)\r\n\r\n    stri_pad_left(\"stringi\", 10, pad=\"#\")\r\n\r\n    Error in .Call(C_stri_pad, str, width, 0L, pad, use_length) : \r\n      Incorrect number of arguments (5), expecting 4 for 'C_stri_pad'\r\n\r\n    sessionInfo()\r\n\r\n    R version 3.1.2 (2014-10-31)\r\n    Platform: x86_64-w64-mingw32/x64 (64-bit)\r\n\r\n    locale:\r\n    [1] LC_COLLATE=Slovenian_Slovenia.1250  LC_CTYPE=Slovenian_Slovenia.1250        LC_MONETARY=Slovenian_Slovenia.1250\r\n    [4] LC_NUMERIC=C                        LC_TIME=Slovenian_Slovenia.1250    \r\n\r\n    attached base packages:\r\n    [1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\n    other attached packages:\r\n    [1] stringi_0.5-1\r\n\r\n    loaded via a namespace (and not attached):\r\n    [1] tools_3.1.2"}}