Closed diazrenata closed 1 year ago
Clean up documentation so the only things exported are what we really want exported. This means:
sp1_gr
is and why it's exportedexportPattern("^[[:alpha:]]+")
is in namespace$
and [
need to be in exports if what we're doing is defining new methods for these generics We also need to make sure all arguments are documented in ./man/
files
Outstanding warnings:
data
contains no datasets --> remove datadata
directory --> could use inst
@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
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.
connected to #60, #97, #111, #112 and #122