You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exported functions cannot inherit parameters from unexported functions. This triggers a whole chain of problems.
Having the full documentation version available during development might be helpful exactly because of that. Using @inheritsParams makes it difficult to see the whole documentation for a function just from the source code. Hence I would prefer to have the rendered .Rd available in some cases.
Can't we just use @keywords internal to generate the documentation but not adding it to the index as suggested in the roxygen vignette?
I don't see any indication in the CRAN repository policy that says we can't have internal function documentation rendered to .Rd, so maybe that's worth a try?
Perhaps with the revdepcheck package from r-lib? revdepcheck::revdep_check() should do the job, there are also some functions that summarize the results.
Activity
krlmlr commentedon Feb 5, 2018
I forgot that you don't need to delete
.manfiles, you can use the@noRdtag instead.lorenzwalthert commentedon Feb 18, 2018
So should we remove the
.Rdof all non-exported functions permanently with@noRd?krlmlr commentedon Feb 23, 2018
That sounds like a good idea.
lorenzwalthert commentedon Mar 1, 2018
Not so sure anymore about the
@noRdsolution.@inheritsParamsmakes it difficult to see the whole documentation for a function just from the source code. Hence I would prefer to have the rendered.Rdavailable in some cases.Can't we just use
@keywords internalto generate the documentation but not adding it to the index as suggested in the roxygen vignette?lorenzwalthert commentedon Mar 1, 2018
I don't see any indication in the CRAN repository policy that says we can't have internal function documentation rendered to
.Rd, so maybe that's worth a try?krlmlr commentedon Mar 1, 2018
Sure, we could try
@keywords internal.lorenzwalthert commentedon Mar 2, 2018
@krlmlr How do we do revdep checking for exampletestr and usethis?
krlmlr commentedon Mar 2, 2018
Perhaps with the revdepcheck package from r-lib?
revdepcheck::revdep_check()should do the job, there are also some functions that summarize the results.lorenzwalthert commentedon Mar 2, 2018
Thanks for the hint, just trying that out now.
lorenzwalthert commentedon Mar 7, 2018
Submitted to CRAN.