Git Product home page Git Product logo

brocks's People

Contributors

brendan-r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

brocks's Issues

Unable to load Leaflet.js nor Three.js

Hello @brendan-r !

I've been following your solution for creating interactive charts directly from RStudio and Jekyll. I am still a humble apprentice regarding R and all its configuration possibilities. The issue I am facing is not being able to run 2/3 of the charts you have in the example post. I serve jekyll with

brocks::blog_serve()

I get the following message

Warning message:
In normalizePath(dirname(f)) : path[1]="NA": No such file or directory

but still able to run the site.

Can we get htmlwidgets to work?

When I go to the article above I see the first chart but for the next one

## Error in loadNamespace(name): there is no package called 'webshot'

And I've been stuck in here ever since. I have a couple of hypothesis but honestly there seem to be so many paths that I don't know which one to choose.

  1. Webshot is the issue. I installed all required dependencies and familiar packages from CRAN, ran library(webshot) before running brocs::blog_serve(), install ImageMagick and PhantomJS and classical debugging like using or removing quotes.
  2. Different version of RTools. I regularly get a message from different versions but haven't had issues with any other library or package.
  3. build.R file should have my jekyll source path explicitly declared though I don't really know how to check those knitr or rmardown config files inside RStudio. Or maybe the fact that brocks::blog_serve() works but brocks::blog_gen() does not. Here I guess RStudio is serving some cached .site folder but not actually rebuilding jekyll to show the rmd example file work after webshot and the other libraries (such as igraph) called. I have gotten the error jekyll_build() function does not exist as well.

Thanks in advance!

sys_open not working on Windows

Hi, I stumbled on your blog post about creating a blog with RMarkdown, Jekyll and Github and I tried to follow the instructions in there. Thanks for a great writeup !

However I noticed the sys_open function in this package would fail on Windows:

# Fails
sys_open("_source/new-post/new-post.R")
# Works
sys_open("_source\\new-post\\new-post.R")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.