My end goal is to be able to import mapping functions from the package mapview into PowerBI. Unfortunately, PowerBI is only compatible with on older version of R (version 3.4.4), which is not compatible with the latest version of mapview. I then downloaded version 2.3 of mapview from here: https://cran.r-project.org/src/contrib/Archive/mapview/ using the code below.
packageurl <- "https://cran.rproject.org/src/contrib/Archive/mapview/mapview_2.3.0.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
At this point I then get the error that the dependencies are unavailable for mapview. Any ideas? Thanks in advance.