are there any known issues with WikiPathways-related functions in clusterProfiler v. 4.0.5?
I'm not able to retrieve even the list of supported organism using the get_wp_organisms() because I'm returned with: "Error in file(con, "r") : cannot open the connection".
I had experienced similar issues with the gseKEGG function, which I solved by setting
R.utils::setOption("clusterProfiler.download.method","auto"). This doesn't seem to work for WikiPathways.
As far as I can tell, the 'connection' part isn't referring to an internet connection for downloading data, so the download method strategy wouldn't fix it. Instead, "Error in file(con, "r") : cannot open the connection" is likely referring to the fact that the function/R is trying to access a directory that doesn't exist or it doesn't have permission to access.
Make sure R has the correct permission. Also perhaps try upgrading your version of clusterProfiler. For example, I have the following: