Running examples in 'cpr-Ex.R' failed
The error most likely occurred in:

> ### Name: bsplineD
> ### Title: B-spline Derivatives
> ### Aliases: bsplineD
> 
> ### ** Examples
> 
> 
> set.seed(42)
> 
> xvec <- seq(0.1, 9.9, length = 1000)
> iknots <- sort(runif(rpois(1, 3), 1, 9))
> bknots <- c(0, 10)
> 
> # basis matrix and the first and second derivatives thereof, for cubic (order =
> # 4) b-splines
> bmat  <- bsplines(xvec, iknots, bknots = bknots)
> bmat1 <- bsplineD(xvec, iknots, bknots = bknots, derivative = 1)
> bmat2 <- bsplineD(xvec, iknots, bknots = bknots, derivative = 2)
> 
> # control polygon ordinates
> theta <- runif(length(iknots) + 4L, -5, 5)
> 
> # plot data
> plot_data <-
+   dplyr::data_frame(x = xvec,
+                     Spline = as.numeric(bmat %*% theta),
+                     "First Derivative" = as.numeric(bmat1 %*% theta),
+                     "Second Derivative" = as.numeric(bmat2 %*% theta))
Warning: S3 methods '[.fun_list', '[.grouped_df', 'all.equal.tbl_df', 'anti_join.data.frame', 'anti_join.tbl_df', 'arrange.data.frame', 'arrange.default', 'arrange.grouped_df', 'arrange.tbl_df', 'arrange_.data.frame', 'arrange_.tbl_df', 'as.data.frame.grouped_df', 'as.data.frame.rowwise_df', 'as.data.frame.tbl_cube', 'as.data.frame.tbl_df', 'as.table.tbl_cube', 'as.tbl.data.frame', 'as.tbl.tbl', 'as.tbl_cube.array', 'as.tbl_cube.data.frame', 'as.tbl_cube.matrix', 'as.tbl_cube.table', 'as_data_frame.grouped_df', 'as_data_frame.tbl_cube', 'auto_copy.tbl_cube', 'auto_copy.tbl_df', 'cbind.grouped_df', 'collapse.data.frame', 'collect.data.frame', 'common_by.NULL', 'common_by.character', 'common_by.default', 'common_by.list', 'compute.data.frame', 'copy_to.DBIConnection', 'copy_to.src_local', 'default_missing.data.frame', 'default_missing.default', 'dim.tbl_cube', 'distinct.data.frame', 'distinct.default', 'distinct.grouped_df', 'distinct.tbl_df', 'distinct_.data.frame', 'distinct_.grouped_df', 'dist [... truncated]
Error in library.dynam(lib, package, package.lib) : 
  DLL 'dplyr' not found: maybe not installed for this architecture?
Calls: :: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted