This is a bug that was reported on the issues page for DEP way back in 2021, and is apparently yet to be fixed. I would normally suggest providing a patch to the maintainer, but if the issues page on their GitHub is being ignored, a patch is likely to be ignored as well.
If you just want to get it to work, you can either clone the repo or just download the tar.gz file (see the Package Archives part of the landing page). If you download the tarball, you have to decompress it. If you then navigate to DEP/inst/shiny_apps/TMT/ and open app.R in your favorite text editor (or R IDE), you can look for this code block, and change MSnbase to MsCoreUtils.
menuItem("Imputation options",
radioButtons("imputation",
"Imputation type",
choices = c("man", MSnbase::imputeMethods())[1:9], <---------------this part right here
selected = "MinProb"),
p(a("Detailed information link",
You can then install the package by starting R and using install.packages
install.packages(<path to DEP>, repos = NULL)
If you are on Windows, add source = TRUE
to that call.
I just reached out to the maintainer as well to see if they are still maintaining the package and to fix the reported bug.
Thank you very much James. I corrected the code as you suggested and it fixed the eror.
Shajahan