as title says, have problem generating r package documentation roxygen2. 99.9% positive have prepared explained here and here already. know impossible answer prime remote diagnosis-nono-case this, have give shot.
here see after using document()
> document() updating mypack documentation loading mypack writing namespace there 7 warnings (use warnings() see them) > warnings() warning messages: 1: fun1.rd not generated roxygen2. skipped. 2: fun2.rd not generated roxygen2. skipped. ...
it seems have installed devtools
, roxygen2
correctly - no errors that.
if of importance: have several .r files several functions inside, functions have description.
to make sure , verify strange behaviour, used exact examples of both pages - skipped too. wrong here? wild guessing okay @ point.
thank you!
this warning typically occurs because .rd
files exist in man
directory (did create them manually, perhaps in earlier version of project?). roxygen2 doesn't replace them if don't start line indicating auto-generated, along lines of:
% generated roxygen2 (4.1.0): not edit hand
to solve this, delete .rd
files in man
directory, re-run document()
.