ndphillips / FFTrees

An R package to create and visualise fast-and-frugal decision trees (FFTs)
https://journal.sjdm.org/17/17217/jdm17217.pdf
135 stars 23 forks source link

Build package down site for repo #216

Open ndphillips opened 4 months ago

ndphillips commented 4 months ago

We need a package down site for this repo!

hneth commented 4 months ago

@ndphillips: I tried adding support for a pkgdown workflow that automatically would update a site at https://ndphillips.github.io/FFTrees/. Unfortunately, this does not seem to work yet. Perhaps the use of pages first needs to be enabled in the repository's GitHub settings?

ndphillips commented 4 months ago

Yep it needs to be enabled in the repo settings. I just turned it on and I am seeing the website at https://ndphillips.github.io/FFTrees/

Looks great!

image
hneth commented 4 months ago

Thanks for adjusting the repo settings. I now can see the generated pkgdown site, but it doesn't seem to update automatically when changing the package contents, even though some corresponding GitHub actions completed successfully. (The current main page at https://ndphillips.github.io/FFTrees/ still is from 2024-05-10.)

As I used the same setup that works for my other packages, I suspect that this is due to me initializing the corresponding actions in a project fork. Hence, perhaps you could check or re-initialize the pkgdown setup (e.g., using the corresponding usethis commands)?