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

Broken link in vignette #64

Closed
karpfen opened this issue Jun 5, 2017 · 10 comments
Closed

Broken link in vignette #64

karpfen opened this issue Jun 5, 2017 · 10 comments

Comments

@karpfen
Copy link
Contributor

karpfen commented Jun 5, 2017

While looking through the function reference, I saw that the page for opq_to_string is missing.

@Robinlovelace
Copy link
Member

I've tried to fix it here but to no avail: #65

I'm getting this build error though:

> pkgdown::build_site()
Initialising site -----------------------------------------------------------------------------------------
Copying '/home/robin/R/x86_64-pc-linux-gnu-library/3.4/pkgdown/assets/jquery.sticky-kit.min.js'
Copying '/home/robin/R/x86_64-pc-linux-gnu-library/3.4/pkgdown/assets/link.svg'
Copying '/home/robin/R/x86_64-pc-linux-gnu-library/3.4/pkgdown/assets/pkgdown.css'
Copying '/home/robin/R/x86_64-pc-linux-gnu-library/3.4/pkgdown/assets/pkgdown.js'
Building home ---------------------------------------------------------------------------------------------
Updating README.md
Error: pandoc document conversion failed with error 67
> file.rename("R/opq_to_string.R", "R/opq_string.R")

@Robinlovelace
Copy link
Member

I something failing in a previous function, e.g. opq()? @maelle @mpadge at my wits end on this one...

@mpadge
Copy link
Member

mpadge commented Jun 6, 2017

Thanks Robin - I've fixed the first pandoc error (here, but am also getting this opq() fail thing. Will hopefully report back in a mo

@mpadge
Copy link
Member

mpadge commented Jun 6, 2017

Nup, still fails for me. I even tried removing all docs (except the ./wiki ones) and rebuilding afresh, but I just get

Building function reference ---------------------------------------------------
Error in osmdata - class : non-numeric argument to binary operator

I have no idea what that's trying to say - I even changed the class def to remove almost all binary operations, and it still occurs. @maelle - could you maybe please try pkgdown::build_site()-ing on your machine?

@mpadge
Copy link
Member

mpadge commented Jun 6, 2017

I did a bit of a hack job by just removing the offending bits from the _pkgdown.yml - in this case, the lines for osmdata-class, osmdata-package and osm-sf-translation. Was then able to build the site, and then manually reconstruct it as if it still had these lines in it. There are probably some broken bits somewhere in there, but at least all function names and ref links appear to be correct.

Thanks @karpfen for reporting this one, thanks @Robinlovelace for getting on it so promptly. Might just keep the issue open until @maelle can hopefully give us a proper re-build on her ever-uncompromising windows beast.

@Robinlovelace
Copy link
Member

Gr8 solution by the sounds of it : )

@mpadge
Copy link
Member

mpadge commented Jun 6, 2017

yeah, the title bars of both vignettes are a disaster. Easy to manually fix, but better to do it all with a clean build

@maelle
Copy link
Member

maelle commented Jun 6, 2017

@mpadge @Robinlovelace I can build the website and will push as soon as I have access.

I was wondering whether both of you can knit vignettes and the README? Or is it pkgdown-specific?

maelle added a commit that referenced this issue Jun 6, 2017
@mpadge
Copy link
Member

mpadge commented Jun 6, 2017

That's great - thanks @maelle! It was just pkgdown-specific (for me at least). Vignette builds were all okay. pkgdown is still a little flaky because on my ubuntu system it doesn't render the cerulean template properly - and i note that @Robinlovelace's new pkgdown page for stplanr also seems to suffer the same issues. But it once again looks grand thanks maelle!

@mpadge mpadge closed this as completed Jun 6, 2017
@maelle
Copy link
Member

maelle commented Jun 6, 2017

@Robinlovelace I can build your stplanr website if needed 😉

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

4 participants