fixed for R 3.0.0

Solution for Issue https://github.com/hadley/staticdocs/issues/43.