Can someone explain to me how to use boot.roc (from fbroc package)

See the FAQ: How to do a minimal reproducible example reprex for beginners for how to make a complete working example. Without data it's hard to tell much. Have you checked

length(pred) #predicted?
length(ROCC)