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

read.asc parsing failure #10

Open
andreifoldes opened this issue Jul 12, 2018 · 3 comments
Open

read.asc parsing failure #10

andreifoldes opened this issue Jul 12, 2018 · 3 comments

Comments

@andreifoldes
Copy link

Thank you for the package.
demo.asc.zip

I get parsing failure for the following file.

the condition has length > 1 and only the first element will be usednumber of columns of result is not a multiple of vector length (arg 1)70066 parsing failures. row # A tibble: 5 x 5 col row col expected actual file expected <int> <chr> <chr> <chr> <chr> actual 1 1 X6 a double ... literal data file 2 2 X6 a double ... literal data row 3 3 X6 a double ... literal data col 4 4 X6 a double ... literal data expected 5 5 X6 a double ... literal data

@fidadoma
Copy link

Hi Andrei,
what version of Eyelink are you using? I've looked at your data and I'm not familiar with last column (shown in bold). Any idea what that might be?
5577704 984.1 540.0 2293.0 127.0 ... 0.0 -239.0 288.8 ...CF.B.RTB.R
cheers
Filip

@andreifoldes
Copy link
Author

andreifoldes commented Jul 28, 2018 via email

@a-hurst
Copy link

a-hurst commented Sep 27, 2019

Hi @andreifoldes, I'm sure you've long moved on from this problem, but in the off-chance it's still relevant the issue with your file was that it was missing a tab separator between the last and second-last columns (not your fault, it's a bug in how edf2asc exports remote mode data) and the eyelinker code that was meant to fix this didn't work on rows where the contents of the last column contained any letters. Anyway, I've fixed the issue in the latest CRAN version of eyelinker (0.2.0) and your file imports fine now!

If you have any other issues with the package, please raise them on the new project page here (I've taken over maintenance): https://github.com/a-hurst/eyelinker

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

No branches or pull requests

3 participants