When I use R CMD check pkg_name to check my own R package, I obtain warnings like this:
unexpected section header '\examples'
unexpected section header '\keyword'
The problem exists in the .Rd file where I write some example R codes for my own data (i.e. the .Rd file is for a .RDdata file, not for an .R function file). I was thinking that we can just write example codes ("...") between the {}
below:
\example{
...
}
Unfortunately it cannot pass the package checking procedure...Thanks in advance for your help!
.Rd
file in question.... – Wellfed{}
bracket pair earlier on in the .Rd file. Maybe try checking for that? – Oxytocic