Thanks for the reply. Here is the result:
devtools::install_local("/Users/abc/BreakoutDetection-master")
Installation failed: cannot open file '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/BreakoutDetection/R/BreakoutDetection.rdb': No such file or directory
Warning message:
In eapply(ns_env(pkg), force, all.names = TRUE) :
restarting interrupted promise evaluation