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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tobit
> ### Title: Tobit Regression
> ### Aliases: tobit print.tobit summary.tobit print.summary.tobit
> ###   formula.tobit model.frame.tobit update.tobit waldtest.tobit
> ###   lrtest.tobit linearHypothesis.tobit deviance.survreg
> ### Keywords: regression
> 
> ### ** Examples
> 
> data("Affairs")
> 
> ## from Table 22.4 in Greene (2003)
> fm.tobit <- tobit(affairs ~ age + yearsmarried + religiousness + occupation + rating,
+   data = Affairs)
> fm.tobit2 <- tobit(affairs ~ age + yearsmarried + religiousness + occupation + rating,
+   right = 4, data = Affairs)
> 
> summary(fm.tobit)

Call:
tobit(formula = affairs ~ age + yearsmarried + religiousness + 
    occupation + rating, data = Affairs)

Observations:
         Total  Left-censored     Uncensored Right-censored 
           601            451            150              0 

Coefficients:
              Estimate Std. Error z value Pr(>|z|)    
(Intercept)    8.17420    2.74145   2.982  0.00287 ** 
age           -0.17933    0.07909  -2.267  0.02337 *  
yearsmarried   0.55414    0.13452   4.119 3.80e-05 ***
religiousness -1.68622    0.40375  -4.176 2.96e-05 ***
occupation     0.32605    0.25442   1.282  0.20001    
rating        -2.28497    0.40783  -5.603 2.11e-08 ***
Log(scale)     2.10986    0.06710  31.444  < 2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Scale: 8.247 

Gaussian distribution
Number of Newton-Raphson Iterations: 4 
Log-likelihood: -705.6 on 7 Df
Wald-statistic: 67.71 on 5 Df, p-value: 3.0718e-13 

> summary(fm.tobit2)

Call:
tobit(formula = affairs ~ age + yearsmarried + religiousness + 
    occupation + rating, right = 4, data = Affairs)

Observations:
         Total  Left-censored     Uncensored Right-censored 
           601            451             70             80 

Coefficients:
              Estimate Std. Error z value Pr(>|z|)    
(Intercept)    7.90098    2.80385   2.818 0.004834 ** 
age           -0.17760    0.07991  -2.223 0.026244 *  
yearsmarried   0.53230    0.14117   3.771 0.000163 ***
religiousness -1.61634    0.42440  -3.809 0.000140 ***
occupation     0.32419    0.25388   1.277 0.201624    
rating        -2.20701    0.44983  -4.906 9.28e-07 ***
Log(scale)     2.07232    0.11040  18.772  < 2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Scale: 7.943 

Gaussian distribution
Number of Newton-Raphson Iterations: 4 
Log-likelihood:  -500 on 7 Df
Wald-statistic: 42.56 on 5 Df, p-value: 4.5387e-08 

> 
> 
> 
> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
> base::cat("tobit", 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:  44.884 1.615 61.622 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