Re: [R-pkg-devel] package build warning

2016-07-25 Thread Glenn Schultz
Hi Jack, Thanks, do you think checking the files in the order of collate is the way to go? I tried on a standalone basis and everything is okay so it must be as you suggested something before. Glenn > On Jul 25, 2016, at 1:52 AM, Jack Wasey wrote: > > roxygen2 can be fragile when there are

Re: [R-pkg-devel] package build warning

2016-07-24 Thread Jack Wasey
roxygen2 can be fragile when there are mistakes in preceding roxygen2 documentation blocks, or conflicting documentation blocks elsewhere in a package, and, if I remember correctly, extraneous empty lines. A lack of verbose options or logging makes debugging roxygen2 errors tricky sometimes. Try pu

Re: [R-pkg-devel] package build warning

2016-07-24 Thread Glenn Schultz
check on Generate documentation with Oxygen check devtools::document() does not create the man/MortgageEffectiveMeasures-class.Rd I can share my sources but I am not sure the base way to go about. It is on github in a private repo which I can provide access or ssh key Glenn > On Jul 24, 20

Re: [R-pkg-devel] package build warning

2016-07-24 Thread Kevin Ushey
If you're using RStudio, have you enabled 'Generate documentation with Roxygen' in your Project Options? Can you confirm whether manually invoking 'devtools::document()' creates a file at 'man/MortgageEffectiveMeasures-class.Rd', with the expected documentation? Everything looks fine for me with

Re: [R-pkg-devel] package build warning

2016-07-24 Thread Glenn Schultz
Duncan is correct the class is not documented but the generics, methods, and constructor functions are documented. Kevin, I updated both devtools and Roxygen2 with the same issue. I am using R Studio. I tried refactoring around some functions and files whose names were close in the event that

Re: [R-pkg-devel] package build warning

2016-07-24 Thread Kevin Ushey
Did you call `devtools::document()` before building and checking your package? Everything looks fine to me with your test example. You should also double-check that you have up-to-date versions of the devtools and roxygen2 packages. It's also worth knowing that nowadays you can generally just use

Re: [R-pkg-devel] package build warning

2016-07-24 Thread Duncan Murdoch
On 24/07/2016 1:35 PM, Glenn Schultz wrote: All, I get the following warning using Roxygen2 * checking for missing documentation entries ... WARNING Undocumented S4 classes: ‘MortgageEffectiveMeasures’ The code to create and document the class is below #' An S4 class MortgageEffectiveMeas

[R-pkg-devel] package build warning

2016-07-24 Thread Glenn Schultz
All, I get the following warning using Roxygen2 * checking for missing documentation entries ... WARNING Undocumented S4 classes: ‘MortgageEffectiveMeasures’ The code to create and document the class is below #' An S4 class MortgageEffectiveMeasures #' #' A class of mortgage effective