-
Notifications
You must be signed in to change notification settings - Fork 2
add roxygen style documentation and vignettes #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I opened pull request because I cannot create an issue within a fork. |
|
Need to solve before merging (talk to Jen):
|
|
Further improvements
|
|
I made a few changes to the functions to pass CRAN check. However, one important change is in the I assumed transfe(e) should be log(e) based on the context, but you should verify this is correct. If transfe is supposed to be a different function. I cannot find a definition within or outside the package. |
|
The R CMD check action has been passed, however, using internal functions from drc package is remaining a note in the check output. We can either get around this by adding eval(parse) wrapper or directly pull the internal functions into this repo, or try to use the upper level functions instead if possible. |
JensBaalkilde
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on getting documentation up to date and addressing issues!
@JensBaalkilde , I opened the pull request but please to not yet pull to the master yet.
Summary of Repository Transformation to Roxygen Style with Devtools Workflow
1. Documentation Conversion
Converting .Rd Files to Roxygen Comments
Rd2roxygenpackage to convert existing .Rd documentation files to roxygen2-style commentsEnhancing Roxygen Documentation
@param,@return,@examples, and other tags to all functions@exporttagsPackage-Level Documentation
"_PACKAGE"approach2. NAMESPACE Management
Converting Static NAMESPACE to Roxygen-Generated
@exporttags to all exported functions@importFromand@importtags for package dependencies@exporttags3. Vignettes Management
Converting Examples to Vignettes
4. Package Structure Modernization
Implementing Devtools Workflow
devtools::document()for documentation generationdevtools::check()for package validationdevtools::test()for running unit testsdevtools::build_vignettes()for vignette building5. GitHub Pages Integration
Setting Up Package Website
pkgdownto generate a package websiteThis transformation has modernized the package development workflow, making it easier to maintain, extend, and document the package in the future. The roxygen2-based documentation system ensures that code and documentation stay in sync, while the devtools workflow simplifies package development tasks. The GitHub Pages integration provides accessible documentation for users of the package.