You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Passing ... logicals as T or F fails through dfm(x, ...) #721
It seems that both T and F are converted to a string '..1' when passed through ellipsis to fun2. We cannot do much for this problem. The best solution is to stop translating the old arguments to new...
Activity
koheiw commentedon May 7, 2017
It seems that both
TandFare converted to a string '..1' when passed through ellipsis tofun2. We cannot do much for this problem. The best solution is to stop translating the old arguments to new...trinker commentedon May 17, 2017
I believe this is related. If not tell me and I'll file an issue elsewhere:
The first two
dtmcalls work. The later two throw the error:This is particularly problematic when quanteda is being used by another package and needs to pass these arguments in by reference.
ArthurSpirling commentedon May 20, 2017
Earlier
dfm("This: contains punctuation.", remove_punct = TRUE)returned
Error in qatd_cpp_tokens_select(x, types, features_id, 2, padding) : expecting a single valuefor me. This was using the github version of quanteda. But the latest CRAN version seems ok.
kbenoit commentedon May 20, 2017
Odd... works fine for me:
kbenoit commentedon May 22, 2017
I can fix this, but it will involve rewriting the internal
deprecate_argument()intokens(). I'll get working on this asap.While personally I believe punishment is warranted for using
TandF😉, @trinker's issue is clearly a problem that needs to be solved.Reimplement preservation of old tokens arguments
Update NEWS.md