Error in as.double(y) : cannot coerce type 'S4' to vector of type 'double'
I had this issue too and then realized that I forgot to load the library with
library(arulesViz)
after installing the package with:
install.packages("arulesViz")
This problem is caused by library installed incomplete(I guess it might put the wrong name(version) in the pack of arulesViz).
You can download https://cran.rstudio.com/bin/windows/contrib/3.3/seriation_1.2-1.zip
manually,then use "r-studio menu -> tools -> install packages.." to install above zip file downloaded from the site.
Then try to redo install.packages("arulesViz")
and library(arulesViz), it will be workable.
Done.