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

> ### Name: plot_table
> ### Title: Plot Data from Two Arm Bayesian Clinical Trial Simulation.
> ### Aliases: plot_table
> 
> ### ** Examples
> 
> #Run a Weibull simulation, using simple_sim().
> #For meaningful results, trial_reps needs to be much larger than 2.
> weibull_test <- simple_sim(trial_reps = 2, outcome_type = "weibull",
+                            subj_per_arm = c(50, 100, 150, 200),
+                            effect_vals = c(0.6, 1),
+                            control_parms = c(2.82487,3), time_vec = NULL,
+                            censor_value = NULL, alpha = 0.05,
+                            get_var = TRUE, get_bias = TRUE, get_mse = TRUE,
+                            seedval=123, quietly=TRUE)

> 
> #Tabulate the simulation results for power.
> test_table <- print_table(bayes_ctd_array=weibull_test, measure="power",
+                           tab_type=NULL, subj_per_arm_val=NULL, a0_val=NULL,
+                           effect_val=NULL, rand_control_diff_val=NULL)
[1] "Since simple_sim was used, tab_type was set to WX|YZ"
[1] "Values for tab_type, subj_per_arm_val, a0_val, effect_val, and rand_control_diff_val were ignored"
[1] "This works towards putting all results in a single table, effect by sample size"
> print(test_table)
    0.6 1
50  0.5 0
100 1.0 0
150 1.0 0
200 1.0 0
> 
> #Create a plot of the power simulation results.
> plot_table(bayes_ctd_array=weibull_test, measure="power", tab_type=NULL,
+            smooth=FALSE, plot_out=TRUE, subj_per_arm_val=NULL, a0_val=NULL,
+            effect_val=NULL, rand_control_diff_val=NULL)
[1] "Since simple_sim was used, tab_type was set to WX|YZ"
[1] "Values for tab_type, subj_per_arm_val, a0_val, effect_val, and rand_control_diff_val were ignored"
[1] "This works towards putting all results on a single plot, effect by sample size"
Error in library.dynam(lib, package, package.lib) : 
  DLL 'Rcpp' not found: maybe not installed for this architecture?
Calls: plot_table ... namespaceImportFrom -> asNamespace -> loadNamespace -> library.dynam
Execution halted