Magick not installing in Mac OS BioSur

I'm a new user of Rstudio and trying to learn statistical analysis on R with mac os Big Sur. When I try to install the magick package, either manually (By downloading the .tar file from the CRAN website) or by using installing package option, I get errors both ways.
While installing via Installing package function, it shows:

> install.packages("magick")
trying URL ''
Content type 'application/x-gzip' length 38926256 bytes (37.1 MB)
downloaded 14.1 MB

Warning in install.packages :
  downloaded length 14822878 != reported length 38926256
Warning in install.packages :
  URL '': Timeout of 60 seconds was reached
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  download from '' failed
Warning in install.packages :
  download of package ‘magick’ failed

If I download the .tar file from the same link above and try to install it manually, it shows this:

install.packages("~/Downloads/magick_2.7.2.tar", repos = NULL)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'type or paste code here

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.