-
Notifications
You must be signed in to change notification settings - Fork 4
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
add functions to build html reference manuals #15
base: devel
Are you sure you want to change the base?
Conversation
I will take a look at it tomorrow. I think the BBS has some Python functions that can wrap around R functions. |
While I can see that For Is I haven't looked too deeply but I did try to follow the examples, which worked for me. |
Hi Jen, @jwokaty I think copilot did a pretty good job at summarizing the code: The other functions in
End copilot.
This worked form me on a package tarball: > tools::pkg2HTML("AnVIL_1.19.3.tar.gz")
Warning message:
In y[i] <- if (is.null(value)) NULL else as.person(value) :
number of items to replace is not a multiple of replacement length
> file.exists("AnVIL.html")
[1] TRUE What are the advantages of running it on the tarball? I think running the code on the source package directory allows one to run it at any time (e.g., after the package is updated). The tarballs are dependent on the build process. It may also take more time to
I don't see where Yes, it is the first part of the full package URL, e.g., Best regards, |
The discussion last week helped clarify a lot of questions, including getting html from source versus tarballs. We'll get the HTML from source. I'll include the other clarifications/todos here:
I misspelled: it's called biocViews/vignettes/createReposHtml.Rmd Lines 33 to 34 in 8aa6daf
|
It would be less disruptive to generate from the source directories but may not be in sync with the builds. OTOH, generating from tarballs will be in sync with the builds but will have to be run after the tarballs are generated. Feel free to chime in Hervé @hpages.
Not necessarily. These files are for CRAN to inspect / merge into their DB for linking to Bioconductor cross-references.
By default, the
This will likely be another cell in the table on the landing page, right next to the pdf link.
I have changed |
Note. I've created a PR to update the landing pages with the HTML links: |
For the BBS builds the final repository structure is assembled close to the propagation step when it's easier to point to tarballs vs source repositories. I will work with whatever you make available. I misunderstood what you said about the 2 RDS files. Great, they don't need to be available for generating HTML. Just put them in the Meta directory. And we should use the defaults for |
This is a work in progress. The functions are working but I am not sure how to make them run on the builders.
See here for the local setup step for testing:
https://github.com/r-devel/repos/blob/main/R/minibioc.R
cc: @jwokaty @hpages