I am having trouble creating an R package with roxygen2 . Here is my code:
setwd("C://Users//[email protected]//Documents//sp th//R stuff")
At this point, I used Windows File Explorer to add .R files to the folder "R" within the folder "myfunctions".
setwd("C:/Users/[email protected]/Documents/sp th/R stuff//myfunctions")
setwd("C:/Users/[email protected]/Documents/sp th/R stuff")
Everything appeared to work properly, but:
?vectorize #one of the .R files I added
No documentation for ‘vectorize’ in specified packages and libraries:
you could try ‘??vectorize’
Your problem is that you didn't load the package after you installed it.