kadyb / rgugik

Download datasets from Polish Head Office of Geodesy and Cartography
https://kadyb.github.io/rgugik/
Other
33 stars 4 forks source link

{pkgdown} fails after update to 2.0.1 #85

Closed kadyb closed 2 years ago

kadyb commented 2 years ago
Error: Error: Can't find url in '_pkgdown.yml'.
Backtrace:
    █
 1. └─pkgdown::deploy_to_branch(new_process = FALSE, examples = FALSE)
 2.   └─pkgdown::build_site_github_pages(...)
 3.     └─pkgdown::build_site(...)
 4.       └─pkgdown:::build_site_local(...)
 5.         └─pkgdown:::build_redirects(pkg, override = override)
Warning message:
Missing images in 'README.md': 'reference/figures/logo.png', 'reference/figures/README-f1-1.png', 'reference/figures/README-f2-1.png'
ℹ pkgdown can only use images in 'man/figures' and 'vignettes' 

https://github.com/kadyb/rgugik/actions/runs/1563552654

Nowosad commented 2 years ago

This is how I fixed this issue for {supercells} - https://github.com/Nowosad/supercells/blob/ce3296772f009797e504bb4f6d58a18a99cea86e/_pkgdown.yml

kadyb commented 2 years ago

Thanks! There is still warning here (in {supercells} too), so {pkgdown} doesn't like that files location and we probably should change it. Nevertheless, everything works and displays properly.

Warning message:
Missing images in 'README.md': 'reference/figures/logo.png', 'reference/figures/README-f1-1.png', 'reference/figures/README-f2-1.png'
ℹ pkgdown can only use images in 'man/figures' and 'vignettes' 
kadyb commented 2 years ago

It looks like this warning is false: https://github.com/r-lib/pkgdown/issues/1980