-
Notifications
You must be signed in to change notification settings - Fork 1
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
Shiny - import error after taxa translate #77
Comments
Related to BCG_ATTR and complex vs. character vs. numeric class. The statement on line 214 is failing. |
* fix: Modify code for complex number (BCG_ATTR), Issue #77 + Other logical fields could cause issues with older import method
Complex numbers in BCG_ATTR and/or Noteworthy column causing issues on import in Merge Files section. |
colClasses = c(foo = "character") foo not being evaluated and combinations of get, eval, and parse aren't helping. Go back to specifying all classes. use in regular import and Merge Files sections. |
May have issues with other columns if all blank (come in a logical). for example, the previous issue with the NOTEWORTHY column. |
* refactor: Modify code for import and merge files, Issue #77 + Only specify BCG_ATTR column + Undoes some edits in v2.0.0.9081 * fix: Adjust import function to allow for user selection of tab or comma + Comma was hard coded even though gave user the choice of separators
Believe have a permanent fix. It was the complex number thing so have to specify the name and class of the field. Can't do the name of the field with a variable. Try 1 = I had several permutations of BCG_ATTR specified but it didn't cover all files. Also produced warning in console of not all columns specified existed. Invisible to user in Shiny so ok. Try 2 = specify class of all columns. This messed up the Noteworthy column. Not sure why but it did. Try 3 = some kind of hybrid but using a variable name for BCG_ATTR didn't work. Try 4 = (This final one). Use the specify class vector but only for the BCG_ATTR column. Seems to work in all spellings of BCG_ATTR and doesn't affect any other columns. 😊 Along with the above have several IF/THEN on how to handle the file import based on the BCG_ATTR column
|
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Expected behavior
Should be no error.
Screenshots
Additional context
Happens for all translation versions (BCG, MTTI, Fuzzy Set, Thermal Metrics).
R Console.
The text was updated successfully, but these errors were encountered: