{"action":"opened","issue":{"url":"https://api.github.com/repos/Ironholds/urltools/issues/30","labels_url":"https://api.github.com/repos/Ironholds/urltools/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Ironholds/urltools/issues/30/comments","events_url":"https://api.github.com/repos/Ironholds/urltools/issues/30/events","html_url":"https://github.com/Ironholds/urltools/issues/30","id":109203673,"number":30,"title":"`suffix_refresh()` is pointing to the wrong file internally","user":{"login":"alexcpsec","id":3202643,"avatar_url":"https://avatars.githubusercontent.com/u/3202643?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcpsec","html_url":"https://github.com/alexcpsec","followers_url":"https://api.github.com/users/alexcpsec/followers","following_url":"https://api.github.com/users/alexcpsec/following{/other_user}","gists_url":"https://api.github.com/users/alexcpsec/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcpsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcpsec/subscriptions","organizations_url":"https://api.github.com/users/alexcpsec/orgs","repos_url":"https://api.github.com/users/alexcpsec/repos","events_url":"https://api.github.com/users/alexcpsec/events{/privacy}","received_events_url":"https://api.github.com/users/alexcpsec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T23:58:38Z","updated_at":"2015-09-30T23:58:38Z","closed_at":null,"body":"When I try to call `suffix_refresh()`, it is trying to get the path of a specific file inside the package directory:\r\n```\r\n> library(urltools)\r\n> sessionInfo()\r\nR version 3.2.2 (2015-08-14)\r\nPlatform: x86_64-apple-darwin13.4.0 (64-bit)\r\nRunning under: OS X 10.11 (El Capitan)\r\n\r\nlocale:\r\n[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n[1] urltools_1.2.1\r\n\r\nloaded via a namespace (and not attached):\r\n[1] tools_3.2.2 Rcpp_0.12.1\r\n> suffix_refresh()\r\nError in save(suffix_dataset, file = system.file(\"data/suffix_dataset.rda\",  : \r\n  'file' must be non-empty string\r\n\r\nEnter a frame number, or 0 to exit   \r\n\r\n1: suffix_refresh()\r\n2: save(suffix_dataset, file = system.file(\"data/suffix_dataset.rda\", package = \"urltools\"))\r\n\r\nSelection:\r\n````\r\n\r\nHowever, it seems that file does not exist:\r\n````\r\n\r\n> system.file(package = \"urltools\")\r\n[1] \"/Library/Frameworks/R.framework/Versions/3.2/Resources/library/urltools\"\r\n````\r\n````\r\n$ ls -la /Library/Frameworks/R.framework/Versions/3.2/Resources/library/urltools/data\r\ntotal 96\r\ndrwxrwxr-x   5 alexcp  admin    170 Aug 31 20:40 .\r\ndrwxrwxr-x  14 alexcp  admin    476 Aug 31 20:40 ..\r\n-rw-rw-r--   1 alexcp  admin  37325 Aug 31 20:40 Rdata.rdb\r\n-rw-rw-r--   1 alexcp  admin     78 Aug 31 20:40 Rdata.rds\r\n-rw-rw-r--   1 alexcp  admin    144 Aug 31 20:40 Rdata.rdx\r\n````\r\n\r\n"}}