Skip to content
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

{pkgdown} fails after update to 2.0.1 #85

Closed
kadyb opened this issue Dec 10, 2021 · 3 comments
Closed

{pkgdown} fails after update to 2.0.1 #85

kadyb opened this issue Dec 10, 2021 · 3 comments

Comments

@kadyb
Copy link
Owner

kadyb commented Dec 10, 2021

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
Copy link
Collaborator

Nowosad commented Dec 10, 2021

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

@kadyb
Copy link
Owner Author

kadyb commented Dec 10, 2021

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
Copy link
Owner Author

kadyb commented Jan 7, 2022

It looks like this warning is false: r-lib/pkgdown#1980

@kadyb kadyb closed this as completed Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants