pkgdown 1.3.0

Photo by jackmac34

We’re happy to announce that pkgdown 1.3.0 is now available on CRAN. pkgdown is designed to make it quick and easy to build a website for your package. Here, we’ll highlight some of the new features, and improvements in this version. Note, this blog post describes pkgdown 1.2.0 and 1.3.0, because we accidentally released 1.3.0 instead of 1.2.1. For a full list of changes, please see the NEWS.

New features

The new deploy_site_github() function can be used to automatically deploy your package website to GitHub Pages with continuous integration systems (like travis). Setup details can be found here. We are gradually moving all tidyverse sites to use this process so that they’re always up-to-date.

build_favicon() auto-detects the location of your package logo, and runs it through the API to build a complete set of favicons with different sizes.

Lastly, users with limited internet connectivity can now expressly disable pkgdown’s internet usage by setting options(pkgdown.internet = FALSE).

Front-end improvements

All third-party resources are now fetched from a single CDN and are given an SRI hash. The package version displayed in the navbar now has class="version", which should make it easier to customize its appearance. The default footer now displays the version of pkgdown used to build the site. You’ll need to run this once and check in the generated files.

Rd translation

  • rd2html() is now exported to facilitate creation of translation reprexes.
  • Invalid tags now generate more informative errors.
  • \usage{} now supports qualified functions, eliminating Unknown call: :: errors.

Again, these are just some of the updates, so please be sure to see the change log for a more exhaustive inventory.


A big thank you goes out to the 59 people who contributed to this release: @alexpghayes, @aqualogy, @aravind-j, @arilamstein, @ArtemSokolov, @BarkleyBG, @bastistician, @batpigandme, @Bisaloo, @BruceZhaoR, @cderv, @daviddoret, @DavisVaughan, @dongzhuoer, @Dripdrop12, @Fazendaaa, @GeoBosh, @goldingn, @GregorDeCillia, @hadley, @HenrikBengtsson, @HughParsonage, @IndrajeetPatil, @jameslamb, @jayhesselberth, @jennybc, @JiaxiangBU, @jimhester, @jmgirard, @JohnMount, @jpzhangvincent, @KasperSkytte, @kenahoo, @klmr, @koheiw, @kopperud, @krlmlr, @liao961120, @lionel-, @lrutter, @maelle, @maurolepore, @maxheld83, @md0u80c9, @mllg, @mrchypark, @mvinaixa, @nbenn, @pat-s, @pbreheny, @peterdesmet, @petermeissner, @Robinlovelace, @strengejacke, @thiloklein, @venelin, @wenjie2wang, @yihui, and @yonicd.

Upcoming events
Atlanta, GA
Oct 14-15
You should take this workshop if you have experience programming in R and want to learn how to tackle larger scale problems. The class is taught by Hadley Wickham, Chief Scientist at RStudio.
Nov 18 - Nov 19
This two-day course will provide an overview of using R for supervised learning. The session will step through the process of building, visualizing, testing, and comparing models that are focused on prediction. The goal of the course is to provide a thorough workflow in R that can be used with many different regression or classification techniques. Case studies on real data will be used to illustrate the functionality and several different predictive models are illustrated. The class is taught by Max Kuhn.