Error: package or namespace load failed for ‘GSVA’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘png’
have tried install.packages("png")
but get the following error:
1 error generated.
make: *** [read.o] Error 1
ERROR: compilation failed for package ‘png’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/png’
Warning in install.packages :
installation of package ‘png’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/3m/h7n5_xtd1kz3xm1pww2bkh640000gn/T/RtmpxDvxeF/downloaded_packages’
What can I do? Thank you so much