Last updated on 2024-12-23 12:49:51 CET.
Package | ERROR | OK |
---|---|---|
Xplortext | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.5.3
Check: examples
Result: ERROR
Running examples in 'Xplortext-Ex.R' failed
The error most likely occurred in:
> ### Name: plot.LexChar
> ### Title: Plot LexChar objects
> ### Aliases: plot.LexChar
> ### Keywords: plot
>
> ### ** Examples
>
> data(open.question)
> res.TD<-TextData(open.question, var.text=c(9,10), var.agg="Gen_Edu", Fmin=10, Dmin=10,
+ remov.number=TRUE, stop.word.tm=TRUE)
> LD<-LexChar(res.TD,maxCharDoc = 0)
> plot(LD)
Error in `gtable_add_grob()`:
! `grobs` must be a single grob or a list of grobs, not a list.
Backtrace:
▆
1. ├─base::plot(LD)
2. └─Xplortext:::plot.LexChar(LD)
3. ├─base::suppressWarnings(...)
4. │ └─base::withCallingHandlers(...)
5. └─Xplortext (local) marrangeGrob2(grobs = pword, nrow = numr, ncol = numc, top = top)
6. ├─base::do.call(gridExtra::arrangeGrob, c(grobs[groups[[g]]], params))
7. └─gridExtra (local) `<fn>`(...)
8. └─gtable::gtable_add_grob(grobs = grobs)
9. └─gtable:::stop_input_type(grobs, "a single grob or a list of grobs")
10. └─rlang::abort(message, ..., call = call, arg = arg)
Execution halted
Flavor: r-oldrel-windows-x86_64