I just reinstalled the latest version, ran this code, and got the following warning messages; it looks like things are working, other than the warning message.
library(sophistication)
library(quanteda)
## compute readability and bootstrap the sentences
set.seed(20170308)
results <- bootstrap_readability(data_corpus_SOTU, n = 2, measure = "Flesch", verbose = TRUE)
Bootstrapping readability statistics for 230 documents:
...computing values from original texts
Argument drop not used. ...segmenting the texts into sentences for resampling
...computing values from bootstrapped replicates
1 2
...computing summary statistics
argument is not numeric or logical: returning NA
I just reinstalled the latest version, ran this code, and got the following warning messages; it looks like things are working, other than the warning message.
Bootstrapping readability statistics for 230 documents: ...computing values from original texts Argument drop not used. ...segmenting the texts into sentences for resampling ...computing values from bootstrapped replicates 1 2 ...computing summary statistics argument is not numeric or logical: returning NA