In order to experiment with chronicler
and test ideas described in the
introductory vignette you need to install the chronicler
package and its
dependencies. It might be a lengthy process, especially that some of
the third-party dependencies (like imager
)
have their own dependencies and sometimes require the development versions
of certain Linux packages.
If you'd like to save yourself that work, please read on to see how to
run the pre-configured Docker image. The image comes with chronicler
and RStudio pre-installed, and also contains a sample artifact repository.
The chronicler
's Docker image is available from Docker Hub.
Go to lbartnik/chronicler
to see the Docker Hub repository. It is configured to be run in Linux.
You need to have Docker installed in your system; follow the official Docker installtion guide.
Now that you have Docker installed, pull the chronicler
image.
docker pull lbartnik/chronicler:18.04
Now you are ready to run RStudio from Docker with chronicler
installed.
Here is a script
that makes it easy: it runs some basic checks and then starts RStudio
inside Docker with access to your X server.
SCRIPT=rstudio-chronicler IMAGE=https://raw.githubusercontent.com/lbartnik/chronicler/master/inst/docker/${SCRIPT} wget ${IMAGE} -O ./${SCRIPT} bash ./${SCRIPT}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.