-
Notifications
You must be signed in to change notification settings - Fork 26
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
Clarification on use of interactive
needed
#76
Comments
Thank you for this. It's clearly a bug from @munoztd0 :p But, because this runs in a shiny server |
yeah my bad I fixed the typo and now I understand why it worked when it should have not.. |
Removed my mistake in the commit fad6e21. To re explain the issue is that Windows internal clock didn't align with the API so that would block people developing on the windows machine. I just added a way to bypass this error for development purposes but it should be fine once in prod on a linux server. I don't know about a Windows server though don't really have anything to really test it and I don't think it woud come up very often .. |
I will close this one and reopen the main one #64 |
Background Info
I was going through the source code and stumbled upon this:
Link: https://github.com/JohnCoene/firebase/blob/b72e8847191d7826f0bfd204409682581cd8251e/R/class-auth.R#L280C25-L280C25
if (interactive)
is used instead of the expectedif (interactive())
. I can't find any explicit definition forinteractive
as a variable.This pattern is repeated multiple times so I'd assume it's not a bug.
Question
Is this a unique R feature or am I overlooking something?
Expectation
My expectation of
if (interactive)
is that it should throw an error sinceinteractive
is a function, not a logical. And, indeed, it is what happens in my reprex below:Created on 2023-12-13 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: