role-model / roleR

R package implementing the RoLE model
https://role-model.github.io/roleR
GNU General Public License v3.0
1 stars 2 forks source link

Package checks #62

Closed diazrenata closed 1 year ago

diazrenata commented 1 year ago
ajrominger commented 1 year ago

Clean up documentation so the only things exported are what we really want exported. This means:

We also need to make sure all arguments are documented in ./man/ files

diazrenata commented 1 year ago

Outstanding warnings:

ajrominger commented 1 year ago

@diazrenata it seems like a lot of the undocumented things boil down to just an issue with file order. for example, documenting getFinalState gives a warning that roleModel and roleExperiment are undefined. but they are defined, it's just that they're defined in a file that alphabetically comes after the file where getFinalState is defined. the solution (short of renaming the files) is to use the @include roxygen tag.

so, for example, the file defining getFinalState will need to include this in the roxygen "preamble":

#' @include roleModel.R roleExperiment.R
diazrenata commented 1 year ago

Yep, that’s a lot of them!

On May 5, 2023, at 12:19 PM, Andy Rominger @.***> wrote:

@diazrenata https://github.com/diazrenata it seems like a lot of the undocumented things boil down to just an issue with file order. for example, documenting getFinalState gives a warning that roleModel and roleExperiment are undefined. but they are defined, it's just that they're defined in a file that alphabetically comes after the file where getFinalState is defined. the solution (short of renaming the files) is to use the @include roxygen tag.

so, for example, the file defining getFinalState will need to include this in the roxygen "preamble":

' @include roleModel.R roleExperiment.R

— Reply to this email directly, view it on GitHub https://github.com/role-model/roleR/issues/62#issuecomment-1536487377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH6DNZBNKD7NHWCULD6TADXEUSCVANCNFSM6AAAAAAVVUMSDE. You are receiving this because you were mentioned.

ajrominger commented 1 year ago

connected to #60, #97, #111, #112 and #122