When installing the DAAG R package I get the following error:
> install.packages("DAAG")
Installing package into ‘/home/azureuser/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘DAAG’ is not available (for R version 3.6.2)
CRAN tells me that this package have been archived on January 11, 2020. Please update the page.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@beritatscioplus Thanks for the question. We are investigating the issue and will update you shortly.
@beritatscioplus Thanks for the feedback. I could see this package has been archived as shown in the CRAN.

So you can try the following to install DAAG. I could see DAAG has dependency of the following latticeExtra, so the dependency latticeExtra can be installed using the following install.packages("latticeExtra").
install.packages("lattice")
url <- "https://cran.r-project.org/src/contrib/Archive/DAAG/DAAG_1.22.tar.gz"
destfile <- "DAAG_1.22.tar.gz"
download.file(url = url, destfile = destfile)
install.packages(pkgs=destfile, type="source", repos=NULL)
unlink(destfile)
library(DAAG)
@beritatscioplus We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Most helpful comment
@beritatscioplus Thanks for the feedback. I could see this package has been archived as shown in the CRAN.

So you can try the following to install DAAG. I could see DAAG has dependency of the following
latticeExtra, so the dependencylatticeExtracan be installed using the following install.packages("latticeExtra").install.packages("lattice")
url <- "https://cran.r-project.org/src/contrib/Archive/DAAG/DAAG_1.22.tar.gz"
destfile <- "DAAG_1.22.tar.gz"
download.file(url = url, destfile = destfile)
install.packages(pkgs=destfile, type="source", repos=NULL)
unlink(destfile)
library(DAAG)