Had the same issue on MacOS. The below steps fixed it. It might work on Windows as well.
Try out the following steps:
- Go to site-library folder where R is installed (also make sure to change version from 3.6 to whatever you have) - R/3.6/site-library/
- In the site-library folder, remove the directory 00LOCK-igraph ( I used
rm -r 00LOCK-igraph
) - Install package TSP
- Install package data.table
- Install package arulesViz
Hope this helps!