Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for long names in u64 SAS catalog files #291

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

gorcha
Copy link
Contributor

@gorcha gorcha commented Jan 11, 2023

This PR adds support for long names in u64 SAS catalog files. It looks like the bit flag for u64 catalog files is different to others - I'm only working off a single example file so possibly a bit of a long shot but there's a single bit difference (B8 for long names vs 98 for short names in the example file) so it looks like 0x20 is the correct bit mask, and this loads the catalog file successfully.

From tidyverse/haven#680 - example catalog file at sas_catalog_file.zip

Thanks!

@evanmiller
Copy link
Contributor

Seems plausible, let's try it out

@evanmiller evanmiller merged commit 6c77c54 into WizardMac:dev Jan 11, 2023
@gorcha gorcha deleted the cat-u64-long-names branch January 16, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants