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

Shiny | Dispersion crashes, all the time #62

Closed
ChristophLeonhardt opened this issue Jan 21, 2019 · 1 comment
Closed

Shiny | Dispersion crashes, all the time #62

ChristophLeonhardt opened this issue Jan 21, 2019 · 1 comment

Comments

@ChristophLeonhardt
Copy link
Contributor

Dispersion crashes all the time, both with default options and when changing things around. Tested with polmineR::polmineR(), GermaParlMini and the query "Herr". The error is always:

Error in .cl_str2id(corpus = corpus, p_attribute = p_attribute, str = str, : Expecting a single string value: [type=NULL; extent=0]. |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 00s Warning: Error in check_cpos: all corpus positions (cpos) need to be <= attribute size, not TRUE

@ablaette
Copy link
Collaborator

This substantial malfunction of dispersion in the shiny app is now solved, with polmineR v0.7.11.9027 (on the dev branch, devtools::install_github("PolMine/polmineR", ref = "dev"). Having worked on this part of the shiny app anyway, more functionality of the dispersion()-method is exposed than before (usage of cqp syntax, for instance).

I am fairly sure that this part of the shiny app is not yet robust and that we will see more specific issues. But as this general issue is addressed, I will close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants