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

Fix bug with pkgdown website rendering #131

Closed
henriquesposito opened this issue Oct 11, 2022 · 2 comments · Fixed by #132
Closed

Fix bug with pkgdown website rendering #131

henriquesposito opened this issue Oct 11, 2022 · 2 comments · Fixed by #132
Assignees

Comments

@henriquesposito
Copy link
Collaborator

Pkgdown fails with a weird error...

@henriquesposito henriquesposito self-assigned this Oct 11, 2022
@BBieri
Copy link
Collaborator

BBieri commented Oct 11, 2022

Just had a quick look at the "Build and Deploy" website action and was able to reproduce the same error locally. It seems to be related to the NAMESPACE not including the advdate() function from our package for some obscure reason. Redocumenting the package solved the error locally in my case. Hence, maybe adding a Document step like:

- name: Document
   run: Rscript -e 'roxygen2::roxygenise()'

... in the {pkgdown} runner right above the install step might solve the issue. Hope it helps 😄

@henriquesposito
Copy link
Collaborator Author

Thank you very much for your help @BBieri ! Hope you are doing great!

I will definitely try and implement the solution described. I also just noticed that the ´{roxygen2}´ version in the package Description file for main branch is 7.2.0, instead of the 7.2.1 (newer) version in develop brench, which could be related to this weird issue...

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

Successfully merging a pull request may close this issue.

2 participants