Update buildDocs.R

Hi Ryan

I found that if I did not do builDocs:::validID, it will get an error saying cannot found validID function.