{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/haven/issues/116","labels_url":"https://api.github.com/repos/hadley/haven/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/hadley/haven/issues/116/comments","events_url":"https://api.github.com/repos/hadley/haven/issues/116/events","html_url":"https://github.com/hadley/haven/issues/116","id":110727170,"number":116,"title":"Loading file with .sas7bcat specified (still) results in crash","user":{"login":"gergness","id":2104579,"avatar_url":"https://avatars.githubusercontent.com/u/2104579?v=3","gravatar_id":"","url":"https://api.github.com/users/gergness","html_url":"https://github.com/gergness","followers_url":"https://api.github.com/users/gergness/followers","following_url":"https://api.github.com/users/gergness/following{/other_user}","gists_url":"https://api.github.com/users/gergness/gists{/gist_id}","starred_url":"https://api.github.com/users/gergness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gergness/subscriptions","organizations_url":"https://api.github.com/users/gergness/orgs","repos_url":"https://api.github.com/users/gergness/repos","events_url":"https://api.github.com/users/gergness/events{/privacy}","received_events_url":"https://api.github.com/users/gergness/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-09T20:03:31Z","updated_at":"2015-10-12T15:07:42Z","closed_at":null,"body":"Thanks for the great package! I see that @evanmiller did some updates for sas7bcat files, and thought I'd send one of mine which I've never gotten to work (even before this most recent update). I can't share the full dataset, but even this minimal one with 2 observations and 3 variables causes a crash.\r\n\r\n```\r\n# First works okay, but the second causes a crash\r\ndata <- read_sas(\"https://dl.dropboxusercontent.com/u/2019891/haven_bug/subset.sas7bdat\")\r\n\r\ndata2 <- read_sas(\"https://dl.dropboxusercontent.com/u/2019891/haven_bug/subset.sas7bdat\", \r\n                  \"https://dl.dropboxusercontent.com/u/2019891/haven_bug/formats.sas7bcat\")\r\n\r\n```\r\n\r\nHere's my session info in case that is part of the problem again. Please let me know if there's anything else I can do to help.\r\n\r\n```\r\nSession info ---------------------------------------------------------------------------------------------\r\n setting  value                       \r\n version  R version 3.2.2 (2015-08-14)\r\n system   x86_64, mingw32             \r\n ui       RStudio (0.99.484)          \r\n language (EN)                        \r\n collate  English_United States.1252  \r\n tz       America/Chicago             \r\n date     2015-10-09                  \r\n\r\nPackages -------------------------------------------------------------------------------------------------\r\n package    * version    date       source                       \r\n devtools     1.9.1      2015-09-11 CRAN (R 3.2.2)               \r\n digest       0.6.8      2014-12-31 CRAN (R 3.2.0)               \r\n haven      * 0.2.0.9000 2015-10-09 Github (hadley/haven@2923140)\r\n memoise      0.2.1      2014-04-22 CRAN (R 3.2.0)               \r\n Rcpp         0.12.1     2015-09-10 CRAN (R 3.2.2)               \r\n rstudioapi   0.3.1      2015-04-07 CRAN (R 3.2.0)\r\n```"},"comment":{"url":"https://api.github.com/repos/hadley/haven/issues/comments/147427293","html_url":"https://github.com/hadley/haven/issues/116#issuecomment-147427293","issue_url":"https://api.github.com/repos/hadley/haven/issues/116","id":147427293,"user":{"login":"evanmiller","id":134711,"avatar_url":"https://avatars.githubusercontent.com/u/134711?v=3","gravatar_id":"","url":"https://api.github.com/users/evanmiller","html_url":"https://github.com/evanmiller","followers_url":"https://api.github.com/users/evanmiller/followers","following_url":"https://api.github.com/users/evanmiller/following{/other_user}","gists_url":"https://api.github.com/users/evanmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/evanmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanmiller/subscriptions","organizations_url":"https://api.github.com/users/evanmiller/orgs","repos_url":"https://api.github.com/users/evanmiller/repos","events_url":"https://api.github.com/users/evanmiller/events{/privacy}","received_events_url":"https://api.github.com/users/evanmiller/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T15:07:42Z","updated_at":"2015-10-12T15:07:42Z","body":"Interesting, thanks -- it's probably encoded as a long label somehow. I didn't know catalog files could contain variable labels. I've opened a separate issue against ReadStat about this: https://github.com/WizardMac/ReadStat/issues/39\r\n\r\nSince the crash is fixed, please close this issue and let's continue the discussion about jumbled value labels here: https://github.com/WizardMac/ReadStat/issues/40"}}