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

htmlwidgets _posts/libs not loading in jekyll rendered site #4

Open
bbest opened this issue Oct 27, 2015 · 6 comments
Open

htmlwidgets _posts/libs not loading in jekyll rendered site #4

bbest opened this issue Oct 27, 2015 · 6 comments

Comments

@bbest
Copy link
Collaborator

bbest commented Oct 27, 2015

image

See README.md for attempts so far in getting to work.

@lwasser
Copy link

lwasser commented Oct 27, 2015

Got it. Thanks Ben for posting this!
I will be chatting with a few folks about jekyll and building these lessons in December! In the meantime, as we are working these out, we can post the Rstudio rendered html files. Is that ok with you for the time being?

Leah

Leah A. Wasser, Ph.D.
Supervising Scientist
Education / Data Products
National Ecological Observatory Network (NEON)

Boulder, Colorado

For free tutorials and resources on working with spatio-temporal data:
http://www.neondataskills.orghttp://www.neondataskills.org/

From: Ben Best <[email protected]mailto:[email protected]>
Reply-To: data-lessons/NEON-R-Make-Pretty-Maps-Plots <[email protected]mailto:[email protected]>
Date: Tuesday, October 27, 2015 at 12:41 PM
To: data-lessons/NEON-R-Make-Pretty-Maps-Plots <[email protected]mailto:[email protected]>
Subject: [NEON-R-Make-Pretty-Maps-Plots] htmlwidgets _posts/libs not loading in jekyll rendered site (#4)

[image]https://cloud.githubusercontent.com/assets/2837257/10768678/94d59dd6-7c9f-11e5-9160-58f0f472a3f1.png

Reply to this email directly or view it on GitHubhttps://github.com//issues/4.

@bbest
Copy link
Collaborator Author

bbest commented Oct 27, 2015

Yep, sounds good. Just checked in a simplified .nojekyll version which uses the knitted Rmarkdown outputs and brews a listing into the index.html. See http://data-lessons.github.io/NEON-R-Make-Pretty-Maps-Plots.

@bbest bbest closed this as completed Oct 27, 2015
@bbest
Copy link
Collaborator Author

bbest commented Oct 27, 2015

@lwasser
Copy link

lwasser commented Oct 27, 2015

cool -- thank you. Should we keep this open so it remains a "to do" ? we will figure it out! links are greatly appreciated!

@bbest
Copy link
Collaborator Author

bbest commented Oct 27, 2015

Sure, as you wish -- reopened. I previously closed it because I committed a solution to render and display posts (see the README.md). I like the ability to knit a standalone post on my desktop and see it's fully rendered output. If I change a post then I just run make.R to update the index.html. Jekyll doesn't play nicely with htmlwidgets, hence .nojekyll.

You might consider opening a separate issue that tries to reconcile bringing these lessons together into a single site, factoring in this closed issue as a factor for consideration (if you want to include htmlwidgets) and one possibility to generate output (ie by skipping use of Jekyll and opting for simpler rendering methods like brew and Makefile).

@bbest bbest reopened this Oct 27, 2015
@lwasser
Copy link

lwasser commented Oct 27, 2015

great suggestion! i'll do that now. and i'll make it a point to bring it up in our discussion in December. i am meeting with someone who is a Make file pro. i am sure he can help with these issues! They will run across all repos! Thanks ben 👍

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