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

Edit button leaves warning message on the console each time is pressed #36

Open
andresrcs opened this issue Sep 23, 2022 · 5 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@andresrcs
Copy link

Whenever the Edit button is pressed it leaves this warning message in the console, this is an issue since it prevents the app logs to get automatically deleted (because there is always a warning).

Warning in grepl("selectize", inputTypes) && !is.null(selectize.options) :
  'length(x) = 2 > 1' in coercion to 'logical(1)'
@DavidPatShuiFong
Copy link
Owner

Okay, thanks, I think this is an issue with R >=4.2.0

as in https://stackoverflow.com/questions/72848442/r-warning-lengthx-2-1-in-coercion-to-logical1

I'll need to find a machine with R >= 4.2.0 to test a solution!

@andresrcs
Copy link
Author

You could use rig for multiple versions on the same machine

https://github.com/r-lib/rig

@DavidPatShuiFong DavidPatShuiFong self-assigned this Nov 1, 2022
@DavidPatShuiFong
Copy link
Owner

Okay, tested this on a R 4.2.2 machine at last.

Error message confirmed

Thanks for the report @andresrcs !

@DavidPatShuiFong DavidPatShuiFong added the bug Something isn't working label Nov 1, 2022
@DavidPatShuiFong
Copy link
Owner

Fix to this problem now in the latest develop commit. Feel free to test!

@andresrcs
Copy link
Author

I have tested the fix, the warning message is gone. I don't know if you are planning to close this issue when merging develop into main so I'm going to leave it open so you can close it when you prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants