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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: summary.pvlrt
> ### Title: Summary method for a pvlrt object
> ### Aliases: summary.pvlrt
> 
> ### ** Examples
> 
> 
> # 500 bootstrap iterations (nsim) in the example below
> # are for quick demonstration only --
> # we recommended setting nsim to 10000 (default) or bigger
> 
> test1 <- pvlrt(statin46, test_zi = TRUE, nsim = 500)

Bootstrapping null distribution of the pseudo LRT statistic for omega and calculating p-values..

Calculating observed pseudo LRT statistic for global null against signals...

Bootstrapping null distribution of the pseudo LRT statistics for signals & calculating p-values..

Total running time: 4.119434 secs
> summary(test1)
                                         AE         Drug      n lrstat p_value
  1:                    Acute Kidney Injury        Other 355651     NA      NA
  2:                                 Anuria        Other  10403     NA      NA
  3:                Blood Calcium Decreased        Other  15918     NA      NA
  4:  Blood Creatine Phosphokinase Abnormal        Other    261     NA      NA
  5: Blood Creatine Phosphokinase Increased        Other  23805     NA      NA
 ---                                                                          
325:                 Renal Tubular Necrosis  Fluvastatin      0      0       1
326:                 Renal Tubular Necrosis   Lovastatin      0      0       1
327:                 Renal Tubular Necrosis Rosuvastatin     10      0       1
328:                      Tendon Discomfort  Fluvastatin      0      0       1
329:                      Tendon Discomfort   Lovastatin      0      0       1
> tmp <- summary(test1, show_zi = TRUE)
> print(tmp)
                                         AE         Drug      n lrstat p_value
  1:                    Acute Kidney Injury        Other 355651     NA      NA
  2:                                 Anuria        Other  10403     NA      NA
  3:                Blood Calcium Decreased        Other  15918     NA      NA
  4:  Blood Creatine Phosphokinase Abnormal        Other    261     NA      NA
  5: Blood Creatine Phosphokinase Increased        Other  23805     NA      NA
 ---                                                                          
325:                 Renal Tubular Necrosis  Fluvastatin      0      0       1
326:                 Renal Tubular Necrosis   Lovastatin      0      0       1
327:                 Renal Tubular Necrosis Rosuvastatin     10      0       1
328:                      Tendon Discomfort  Fluvastatin      0      0       1
329:                      Tendon Discomfort   Lovastatin      0      0       1
> tmp_zi <- attr(tmp, "zi")
> print(tmp_zi)
             AE           zi    lrstat     p_value    q_value
1: Atorvastatin 2.625350e-10  0.000000 1.000000000 1.00000000
2:  Fluvastatin 7.124664e-02  5.283967 0.001996008 0.01197605
3:   Lovastatin 1.605045e-01  3.810668 0.001996008 0.01197605
4:  Pravastatin 5.937156e-02 32.488340 0.001996008 0.01197605
5: Rosuvastatin 3.102238e-10  0.000000 1.000000000 1.00000000
6:  Simvastatin 2.271311e-09  0.000000 1.000000000 1.00000000
7:        Other 6.224145e-11  0.000000          NA         NA
> 
> 
> 
> 
> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
> base::cat("summary.pvlrt", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed:  34.04 0.495 42.865 0 0 
> grDevices::dev.off()
null device 
          1 
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
Killed