I want to use EBImage package but it says it is not available for my version of R

EBImage is distributed as part of the Bioconductor project. To install the package use

source("http://bioconductor.org/biocLite.R")
biocLite("EBImage")

Install the latest release of R, then get the latest version of Bioconductor by starting R and entering the commands

install.packages("BiocManager") 
BiocManager::install("EBImage")
library(EBImage)

Install specific packages, e.g., “GenomicFeatures” and “AnnotationDbi”, with

BiocManager::install(c("GenomicFeatures", "AnnotationDbi"))