install.packages("C:/PKSFC_1.6.tar.gz", repos=NULL, type="source")
Installing package into ‘C:/Users/xxxxxx/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
ERROR: dependencies 'expm', 'igraph', 'networkD3' are not available for package 'PKSFC'
removing 'C:/Users/xxxxxx/Documents/R/win-library/4.0/PKSFC'
Warning in install.packages :
installation of package ‘C:/PKSFC_1.6.tar.gz’ had non-zero exit status
xxxxxx is written instead of my name.
I do not know how to correct it. I've tried saving the PKSFC-file different places on my computer, but nothing seems to work. I do not have problems installing the packages "expm", "igraph" and "networkD3" before installing the PKSFC, so I'm wondering what I could have done wrong.
If you read carefully you will notice that the installation of all 3 packages have failed because of write permissions issues, try running RStudio as "Administrator"
Also, you can post console output as formatted code, here is how to do it