Hi,
I was trying to set some text networks with my data but received some error.
Then, when I tried to replicate the code on package's github page. I received the same error.
I am on R v3.6, and made a clean install on every pack needed for textnetworks.
The error I receive for both cases (for my own data and for sotu data) is as follows
library(textnets)
Loading required package: dplyr
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Loading required package: udpipe
Loading required package: ggraph
Loading required package: ggplot2
Loading required package: networkD3
Warning messages:
1: replacing previous import ‘dplyr::union’ by ‘igraph::union’ when loading ‘textnets’
2: replacing previous import ‘dplyr::as_data_frame’ by ‘igraph::as_data_frame’ when loading ‘textnets’
3: replacing previous import ‘dplyr::groups’ by ‘igraph::groups’ when loading ‘textnets’
Error in check_input(x) :
Input must be a character vector of any length or a list of character
vectors, each of which has a length of 1.
In addition: Warning message:
'unnesttokens' is deprecated.
Use 'unnest_tokens' instead.
See help("Deprecated")
Hi, I was trying to set some text networks with my data but received some error. Then, when I tried to replicate the code on package's github page. I received the same error. I am on R v3.6, and made a clean install on every pack needed for textnetworks. The error I receive for both cases (for my own data and for sotu data) is as follows
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Loading required package: udpipe Loading required package: ggraph Loading required package: ggplot2 Loading required package: networkD3 Warning messages: 1: replacing previous import ‘dplyr::union’ by ‘igraph::union’ when loading ‘textnets’ 2: replacing previous import ‘dplyr::as_data_frame’ by ‘igraph::as_data_frame’ when loading ‘textnets’ 3: replacing previous import ‘dplyr::groups’ by ‘igraph::groups’ when loading ‘textnets’
Error in check_input(x) : Input must be a character vector of any length or a list of character vectors, each of which has a length of 1. In addition: Warning message: 'unnesttokens' is deprecated. Use 'unnest_tokens' instead. See help("Deprecated")
my input is a character vector....
Any help would be greatly appreciated. best E.