From 17f9c2adcdada2115d1a933eebfa35611d30f01c Mon Sep 17 00:00:00 2001
From: Paul Northrop
Date: Sun, 11 Jun 2017 07:59:57 +0100
Subject: [PATCH] [ci skip]
---
vignettes/rust-using-rcpp-vignette.Rmd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vignettes/rust-using-rcpp-vignette.Rmd b/vignettes/rust-using-rcpp-vignette.Rmd
index 54a1086..1e2a028 100644
--- a/vignettes/rust-using-rcpp-vignette.Rmd
+++ b/vignettes/rust-using-rcpp-vignette.Rmd
@@ -93,7 +93,7 @@ All the examples in the documentation for `ru` are replicated in the documentati
```{r}
library(rust)
library(Rcpp)
-mb_available <- require("microbenchmark")
+mb_available <- requireNamespace("microbenchmark")
if (mb_available) library(microbenchmark)
# Set the size of the simulated sample
n <- 1000