Closed Ihatecode22 closed 7 years ago
Have you broken the problem up and identified which function in the chain is causing the problem? Have you updated packages? Can you provide a reproducible example?
Yes, I used Jupyter instead of R studio so I could break it all down, the file is attached, I have altered a bunch of things and had some programmers more experienced than me look at it and it seems to be a package thing. TopicModelJTR.ipynb.zip
Can an you make the report R specific (a script that does not use an IPython notebook) and show where the gofastr package is causing an error? When we debug we want to isolate the problem. Right now this error obfuscated by several layers in an app includig the use of an IPython notebook rather than a script. In order to provide a solution we first need to figure out the cause. We can do some of this, for example: the warning you get about:
removeNumbers is deprecated; use remove_numbers
is in a gofastr depenency quanteda. If you were using updated packages you should not get this warning but even so the warning says the args have been dreprecated thus they still will work and is unrelated to the error. This tells me you're using outdated packages but sessionInfo
would tell more.
This page describes how to write a minimal working example for a bug report: https://stackoverflow.com/help/mcve
Once you provide this I can isolate if the problem is in gofastr , in the IPython notebook, other dependencies, the data you're using, or the coding you've written. Often making the problem minimal will reveal the issue to you.
I'm closing this per the lack of response. Feel free to reopen
I had a topic modeler built and working then I opened the same code, files, etc a few days later and it does not work, I get the error below, I have a run a bunch of tests, right now my hunch is that gofastr needs its back end remove numbers adjusted
Warning message in tokens.character(x, ...): "removeNumbers is deprecated; use remove_numbers instead"
Error in validObject(.Object): invalid class "dfmSparse" object: superclass "replValueSp" not defined in the environment of the object's class Traceback:
_fseq
(_lhs
)), env, env))_fseq
(_lhs
)), env, env)_fseq
(_lhs
)_function_list
)