strengejacke / sjlabelled

Working with Labelled Data in R

Home Page:https://strengejacke.github.io/sjlabelled

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

new function val_labels not working

marianschmidt opened this issue · comments

Hi Daniel, I have downloaded the current github version of sjlabelled 1.0.15.9000 and it seems like the new val_labels() function with quasi-quotation is not working yet. At least when I run your example from the new help file I receive the error message

Error in val_labels(., ":="(!!x1, c("really low", "low", "a bit mid", :
unused argument (dummy3 = !!x2)

Was I testing too early?
Will the final version also support unqoute-splicing for lists of arguments with the !!! operator?

No, should work, and for me it works fine. Have you all your packages up to date, and probably ran all examples for val_labeks()?

Yes, I have run all examples, but it seems to be no bug - rather a problem with my local R installation. I have tried to reproduce the issue on a different system and there everything is working as intended. Sorry for the false report. I will try to find out what went wrong, but I assume it's on my side.
But at least let me thank you for the great developing work you are doing!