I tuned and regularly updated my R package to GitHub after Hadley's extensive documentation on Devtools, Roxygen2, etc. on my laptop. Yesterday I decided to use my main computer instead, and now I want to push the changes to GitHub. After entering document() I got the following error:
Error: 'Adult_Females' is not an exported object from 'namespace:gbm.auto'
Adult_Females is the name of the first data file in / Data. According to this (scroll down to "Data")
"that live in data / donโt use the usual namespace mechanism and donโt need to export."
So ... what to do? I have not edited Adult_Females in any way, and the R script I edited does not reference it. My suspicion is that this error will appear for all data files, and it just happened that this is the first of them, but this hypothesis is at the moment.
Thanks in advance. install_github("SimonDedman/gbm.auto") if you want to watch.
source share