69 questions
Advice
5
votes
1
replies
80
views
How to programmatically find pkgdown/altdoc documentation URLs for R packages?
I'm building a reference guide, R Functions for Categorical Data Analysis, https://friendly.github.io/psy6136/R-functions.html, that lists R functions for analysis and visualization, organized around ...
1
vote
0
answers
46
views
R pkgdown equation numbering and referencing
I'm looking to dynamically number and reference equations in my .Rmd file to then be used in an Article for a package using pkgdown. I have read quite a few different approaches (which seem to depend ...
4
votes
0
answers
214
views
Using shinylive to add a shiny app to the readme or an article of a pkgdown website on GitHub pages [closed]
I have some R packages on GitHub, mostly they contain small-ish datasets with a few helper functions for data preparation and plotting. I've started using GitHub pages to make the data and ...
0
votes
1
answer
115
views
Error pushing package with sf (geos dependency) to github pages via pkgdown R
I am attempting to put a package on github pages. However, I keep having the same error when doing so.
Writing `articles/index.html`
Reading vignettes/PACKAGE_VIGNETTE.Rmd
Error in `.f()`:
! Failed to ...
0
votes
2
answers
120
views
How to set different logo sizes in GitHub README and pkgdown homepage?
I'm developing an R package and using pkgdown for the website. I want the package logo to appear smaller in the GitHub README but larger on the homepage of the website, similar to the data.table ...
1
vote
1
answer
308
views
How to insert external images in a vignette knit using pkgdown in R
I am trying to use pkgdown to knit vignettes and have them posted on GitHub, along with the rest of a package's documentation, using GitHub Actions. I can also knit the pages locally. Regardless, ...
2
votes
0
answers
101
views
Controlling the build order of pkgdown articles
I'm building a pkgdown website for my R package and I need the articles to be built in a specific order due to dependencies between them. The first article saves an output using:
saveRDS(X, 'X.rds')
...
1
vote
1
answer
106
views
How do I fix the home page rendering in this pkgdown + GitLab workflow?
I'm having issues with the pkgdown homepage for an R package I created.
When I build_site() from my PC, the site created in my local directory looks as I expect. It is using the REAMDE.md file that I ...
0
votes
1
answer
213
views
Equation not rendered in helper files of function of html pages [closed]
I am building a package and an associated website (via Github Pages). Let's say I have a function funX. In R, when I do ?funXI have some equations (using \eqn{} or \deqn{}) in the description files, ...
1
vote
0
answers
58
views
Changing Math font for website made with `pkgdown`
I am using bslib in pkgdown to customize a package website. While I am able to change the base font and the code font, I am unable to change the font used to render math equations supplied via LaTeX. ...
1
vote
0
answers
216
views
pkgdown website not showing up on github but shows up on my local drive without any issues
I'm building a package that automatically builds ensembles. The GitHub URL for the repository is:
https://www.github.com/InfiniteCuriosity/Ensembles
The package runs without any errors or warnings. ...
0
votes
0
answers
49
views
build_site() fails to render some examples
I am not entirely certain as to why this is occurring but when I run the build_site() function on my package some examples no longer render. For example:
library(recipes)
library(dplyr)
library(tidyr)
...
0
votes
2
answers
293
views
My news md does not show up in my pkgdown site
I have a R package called relper, recently I did some updating in my news file, here a sample:
# relper 3 (Calculations all the way)
To improve data analysis, I added functions that compute metrics ...
3
votes
2
answers
290
views
home page generated by pkgdown not rendering properly
After a few months without updating my package mRpostman, I decided to include GitHub Actions unit test badge on README.Rmd file. I used usethis::use_github_action("check-standard") then ...
0
votes
1
answer
2k
views
Border around Markdown embed in RMarkdown
I have a couple of Github profile "cards" created from here which I am embedding as Markdown in a RMarkdown page on a pkgdown website.
How would i go about adding a border to these? Anything ...