Running examples in ‘ggQC-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: QC_Lines
> ### Title: Calculate QC Limits
> ### Aliases: QC_Lines
> 
> ### ** Examples
> 
> #############################################
> #  Example 1: Charts other than "p" or "u"  #
> #############################################
> 
> # Load Libraries ----------------------------------------------------------
>  require(ggQC)
>  require(plyr)
Loading required package: plyr
Error: package or namespace load failed for ‘plyr’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
>  require(ggplot2)
Loading required package: ggplot2
Error: package or namespace load failed for ‘ggplot2’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so':
  /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/libs/Rcpp.so: failed to map segment from shared object
> 
> # Setup Data --------------------------------------------------------------
>  set.seed(5555)
>  Process1 <- data.frame(processID = as.factor(rep(1,100)),
+                         metric_value = rnorm(100,0,1),
+                         subgroup_sample=rep(1:20, each=5),
+                         Process_run_id = 1:100)
>  set.seed(5555)
>  Process2 <- data.frame(processID = as.factor(rep(2,100)),
+                         metric_value = rnorm(100,5, 1),
+                         subgroup_sample=rep(1:10, each=10),
+                         Process_run_id = 101:200)
> 
>  Both_Processes <- rbind(Process1, Process2)
> 
> # QC Values For Individuals -----------------------------------------------
>  # All Together
>    QC_Lines(data = Both_Processes$metric_value, method = "XmR")
  xBar_one_LCL    mean xBar_one_UCL mR_LCL        mR   mR_UCL     sigma
1  -0.04192909 2.57306     5.188049      0 0.9830786 3.212701 0.8716631
> 
> 
>  # For Each Process
>    ddply(Both_Processes, .variables = "processID",
+      .fun =function(df){
+        QC_Lines(data = df$metric_value, method = "XmR")
+      }
+    )
Error in ddply(Both_Processes, .variables = "processID", .fun = function(df) { : 
  could not find function "ddply"
Execution halted