Fix pkgdown issues#156
Open
VisruthSK wants to merge 2 commits into
Open
Conversation
jgabry
requested changes
Jul 17, 2026
| With __roxygen__ documentation enabled, we need to generate the documentation | ||
| for `lm_stan` and update the `NAMESPACE` so the function is exported, i.e., | ||
| available to users when the package is installed. This can be done with the | ||
| function `roxygen2::roxygenize()`, which needs to be called twice initially. |
Member
There was a problem hiding this comment.
Suggested change
| available to users when the package is installed. Load the R source files directly when running `roxygen2::roxygenize()`, then call `rstan_config()` to | |
| generate the Stan C++ code: |
Comment on lines
241
to
242
| try(roxygen2::roxygenize(load_code = rstantools_load_code), silent = TRUE) | ||
| roxygen2::roxygenize() |
Member
There was a problem hiding this comment.
Suggested change
| roxygen2::roxygenize(load_code = roxygen2::load_source) | |
| rstantools::rstan_config() |
jgabry
reviewed
Jul 17, 2026
| @@ -56,6 +56,6 @@ Suggests: | |||
| roxygen2 (>= 6.0.1), | |||
Member
There was a problem hiding this comment.
Suggested change
| roxygen2 (>= 6.0.1), | |
| roxygen2 (>= 7.0.0), |
I think the new vignette should work with v7 or greater
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumped Roxygen to 8.0.0 and fixed vignette. Closes #155.