ryscott5 / eparTextTools

BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Error in intro to portfolio review in vignette #10

Closed adamlhayes closed 7 years ago

adamlhayes commented 7 years ago

Error thrown in the Intro to portfolio review Line 191, using the word_heatmap function:

word_heatmap(tdm,pickwords=c("women","gender","access","land","right","work","labor","yield","security"))

Error in [.simple_triplet_matrix(termDocumentMatrix, pickwords, ) : Subscript out of bounds.

Update

This initial issue goes away when I download the entire repository (not sure why). Though, I'm still getting an error here:

BASE_INPUT<-PreTopicFrame2(corpus1,workingfolder=workingfolder)

Unequal factor levels: coercing to characterError in unique(fullorig$Orig) : object 'fullorig' not found

Synaps3 commented 7 years ago

Hmm I'm pretty sure I didnt run into this error when I went thought it

Synaps3 commented 7 years ago

I dont think I can reproduce either of these issues