CRAN Package Check Results for Package stargazer

Last updated on 2018-05-22 22:48:53 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 5.2.1 9.56 44.35 53.91 ERROR
r-devel-linux-x86_64-debian-gcc 5.2.1 8.30 34.46 42.76 ERROR
r-devel-linux-x86_64-fedora-clang 5.2.1 69.25 OK
r-devel-linux-x86_64-fedora-gcc 5.2.1 67.30 OK
r-devel-windows-ix86+x86_64 5.2.1 17.00 82.00 99.00 OK
r-patched-linux-x86_64 5.2.1 8.87 44.00 52.87 ERROR
r-patched-solaris-x86 5.2.1 87.90 OK
r-release-linux-x86_64 5.2.1 7.72 43.33 51.05 ERROR
r-release-windows-ix86+x86_64 5.2.1 17.00 50.00 67.00 OK
r-release-osx-x86_64 5.2.1 OK
r-oldrel-windows-ix86+x86_64 5.2.1 3.00 59.00 62.00 OK
r-oldrel-osx-x86_64 5.2.1 OK

Check Details

Version: 5.2.1
Check: examples
Result: ERROR
    Running examples in ‘stargazer-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: stargazer
    > ### Title: stargazer
    > ### Aliases: stargazer stargazer-package
    > ### Keywords: package models regression nonlinear univar interface
    > ### programming IO
    >
    > ### ** Examples
    >
    > ## create summary statistics table for 'attitude' data frame
    > stargazer(attitude)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Tue, May 22, 2018 - 11:21:02 AM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}}lccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
    Statistic & \multicolumn{1}{c}{N} & \multicolumn{1}{c}{Mean} & \multicolumn{1}{c}{St. Dev.} & \multicolumn{1}{c}{Min} & \multicolumn{1}{c}{Max} \\
    \hline \\[-1.8ex]
    rating & 30 & 64.633 & 12.173 & 40 & 85 \\
    complaints & 30 & 66.600 & 13.315 & 37 & 90 \\
    privileges & 30 & 53.133 & 12.235 & 30 & 83 \\
    learning & 30 & 56.367 & 11.737 & 34 & 75 \\
    raises & 30 & 64.633 & 10.397 & 43 & 88 \\
    critical & 30 & 74.767 & 9.895 & 49 & 92 \\
    advance & 30 & 42.933 & 10.289 & 25 & 72 \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## list the content of the data frame 'attitude'
    > stargazer(attitude, summary=FALSE)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Tue, May 22, 2018 - 11:21:02 AM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}} cccccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
     & rating & complaints & privileges & learning & raises & critical & advance \\
    \hline \\[-1.8ex]
    1 & $43$ & $51$ & $30$ & $39$ & $61$ & $92$ & $45$ \\
    2 & $63$ & $64$ & $51$ & $54$ & $63$ & $73$ & $47$ \\
    3 & $71$ & $70$ & $68$ & $69$ & $76$ & $86$ & $48$ \\
    4 & $61$ & $63$ & $45$ & $47$ & $54$ & $84$ & $35$ \\
    5 & $81$ & $78$ & $56$ & $66$ & $71$ & $83$ & $47$ \\
    6 & $43$ & $55$ & $49$ & $44$ & $54$ & $49$ & $34$ \\
    7 & $58$ & $67$ & $42$ & $56$ & $66$ & $68$ & $35$ \\
    8 & $71$ & $75$ & $50$ & $55$ & $70$ & $66$ & $41$ \\
    9 & $72$ & $82$ & $72$ & $67$ & $71$ & $83$ & $31$ \\
    10 & $67$ & $61$ & $45$ & $47$ & $62$ & $80$ & $41$ \\
    11 & $64$ & $53$ & $53$ & $58$ & $58$ & $67$ & $34$ \\
    12 & $67$ & $60$ & $47$ & $39$ & $59$ & $74$ & $41$ \\
    13 & $69$ & $62$ & $57$ & $42$ & $55$ & $63$ & $25$ \\
    14 & $68$ & $83$ & $83$ & $45$ & $59$ & $77$ & $35$ \\
    15 & $77$ & $77$ & $54$ & $72$ & $79$ & $77$ & $46$ \\
    16 & $81$ & $90$ & $50$ & $72$ & $60$ & $54$ & $36$ \\
    17 & $74$ & $85$ & $64$ & $69$ & $79$ & $79$ & $63$ \\
    18 & $65$ & $60$ & $65$ & $75$ & $55$ & $80$ & $60$ \\
    19 & $65$ & $70$ & $46$ & $57$ & $75$ & $85$ & $46$ \\
    20 & $50$ & $58$ & $68$ & $54$ & $64$ & $78$ & $52$ \\
    21 & $50$ & $40$ & $33$ & $34$ & $43$ & $64$ & $33$ \\
    22 & $64$ & $61$ & $52$ & $62$ & $66$ & $80$ & $41$ \\
    23 & $53$ & $66$ & $52$ & $50$ & $63$ & $80$ & $37$ \\
    24 & $40$ & $37$ & $42$ & $58$ & $50$ & $57$ & $49$ \\
    25 & $63$ & $54$ & $42$ & $48$ & $66$ & $75$ & $33$ \\
    26 & $66$ & $77$ & $66$ & $63$ & $88$ & $76$ & $72$ \\
    27 & $78$ & $75$ & $58$ & $74$ & $80$ & $78$ & $49$ \\
    28 & $48$ & $57$ & $44$ & $45$ & $51$ & $83$ & $38$ \\
    29 & $85$ & $85$ & $71$ & $71$ & $77$ & $74$ & $55$ \\
    30 & $82$ & $82$ & $39$ & $59$ & $64$ & $78$ & $39$ \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## 2 OLS models
    > linear.1 <- lm(rating ~ complaints + privileges + learning
    + + raises + critical, data=attitude)
    >
    > linear.2 <- lm(rating ~ complaints + privileges + learning, data=attitude)
    >
    > ## create an indicator dependent variable, and run a probit model
    >
    > attitude$high.rating <- (attitude$rating > 70)
    > probit.model <- glm(high.rating ~ learning + critical + advance, data=attitude,
    + family = binomial(link = "probit"))
    >
    > stargazer(linear.1, linear.2, probit.model, title="Regression Results")
    Error in if (class(objects[[i]]) %in% c("coeftest", "lmerMod", "glmerMod", :
     the condition has length > 1
    Calls: stargazer -> .stargazer.wrap
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 5.2.1
Check: examples
Result: ERROR
    Running examples in ‘stargazer-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: stargazer
    > ### Title: stargazer
    > ### Aliases: stargazer stargazer-package
    > ### Keywords: package models regression nonlinear univar interface
    > ### programming IO
    >
    > ### ** Examples
    >
    > ## create summary statistics table for 'attitude' data frame
    > stargazer(attitude)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Tue, May 22, 2018 - 09:09:08 PM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}}lccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
    Statistic & \multicolumn{1}{c}{N} & \multicolumn{1}{c}{Mean} & \multicolumn{1}{c}{St. Dev.} & \multicolumn{1}{c}{Min} & \multicolumn{1}{c}{Max} \\
    \hline \\[-1.8ex]
    rating & 30 & 64.633 & 12.173 & 40 & 85 \\
    complaints & 30 & 66.600 & 13.315 & 37 & 90 \\
    privileges & 30 & 53.133 & 12.235 & 30 & 83 \\
    learning & 30 & 56.367 & 11.737 & 34 & 75 \\
    raises & 30 & 64.633 & 10.397 & 43 & 88 \\
    critical & 30 & 74.767 & 9.895 & 49 & 92 \\
    advance & 30 & 42.933 & 10.289 & 25 & 72 \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## list the content of the data frame 'attitude'
    > stargazer(attitude, summary=FALSE)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Tue, May 22, 2018 - 09:09:08 PM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}} cccccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
     & rating & complaints & privileges & learning & raises & critical & advance \\
    \hline \\[-1.8ex]
    1 & $43$ & $51$ & $30$ & $39$ & $61$ & $92$ & $45$ \\
    2 & $63$ & $64$ & $51$ & $54$ & $63$ & $73$ & $47$ \\
    3 & $71$ & $70$ & $68$ & $69$ & $76$ & $86$ & $48$ \\
    4 & $61$ & $63$ & $45$ & $47$ & $54$ & $84$ & $35$ \\
    5 & $81$ & $78$ & $56$ & $66$ & $71$ & $83$ & $47$ \\
    6 & $43$ & $55$ & $49$ & $44$ & $54$ & $49$ & $34$ \\
    7 & $58$ & $67$ & $42$ & $56$ & $66$ & $68$ & $35$ \\
    8 & $71$ & $75$ & $50$ & $55$ & $70$ & $66$ & $41$ \\
    9 & $72$ & $82$ & $72$ & $67$ & $71$ & $83$ & $31$ \\
    10 & $67$ & $61$ & $45$ & $47$ & $62$ & $80$ & $41$ \\
    11 & $64$ & $53$ & $53$ & $58$ & $58$ & $67$ & $34$ \\
    12 & $67$ & $60$ & $47$ & $39$ & $59$ & $74$ & $41$ \\
    13 & $69$ & $62$ & $57$ & $42$ & $55$ & $63$ & $25$ \\
    14 & $68$ & $83$ & $83$ & $45$ & $59$ & $77$ & $35$ \\
    15 & $77$ & $77$ & $54$ & $72$ & $79$ & $77$ & $46$ \\
    16 & $81$ & $90$ & $50$ & $72$ & $60$ & $54$ & $36$ \\
    17 & $74$ & $85$ & $64$ & $69$ & $79$ & $79$ & $63$ \\
    18 & $65$ & $60$ & $65$ & $75$ & $55$ & $80$ & $60$ \\
    19 & $65$ & $70$ & $46$ & $57$ & $75$ & $85$ & $46$ \\
    20 & $50$ & $58$ & $68$ & $54$ & $64$ & $78$ & $52$ \\
    21 & $50$ & $40$ & $33$ & $34$ & $43$ & $64$ & $33$ \\
    22 & $64$ & $61$ & $52$ & $62$ & $66$ & $80$ & $41$ \\
    23 & $53$ & $66$ & $52$ & $50$ & $63$ & $80$ & $37$ \\
    24 & $40$ & $37$ & $42$ & $58$ & $50$ & $57$ & $49$ \\
    25 & $63$ & $54$ & $42$ & $48$ & $66$ & $75$ & $33$ \\
    26 & $66$ & $77$ & $66$ & $63$ & $88$ & $76$ & $72$ \\
    27 & $78$ & $75$ & $58$ & $74$ & $80$ & $78$ & $49$ \\
    28 & $48$ & $57$ & $44$ & $45$ & $51$ & $83$ & $38$ \\
    29 & $85$ & $85$ & $71$ & $71$ & $77$ & $74$ & $55$ \\
    30 & $82$ & $82$ & $39$ & $59$ & $64$ & $78$ & $39$ \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## 2 OLS models
    > linear.1 <- lm(rating ~ complaints + privileges + learning
    + + raises + critical, data=attitude)
    >
    > linear.2 <- lm(rating ~ complaints + privileges + learning, data=attitude)
    >
    > ## create an indicator dependent variable, and run a probit model
    >
    > attitude$high.rating <- (attitude$rating > 70)
    > probit.model <- glm(high.rating ~ learning + critical + advance, data=attitude,
    + family = binomial(link = "probit"))
    >
    > stargazer(linear.1, linear.2, probit.model, title="Regression Results")
    Error in if (class(objects[[i]]) %in% c("coeftest", "lmerMod", "glmerMod", :
     the condition has length > 1
    Calls: stargazer -> .stargazer.wrap
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 5.2.1
Check: examples
Result: ERROR
    Running examples in ‘stargazer-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: stargazer
    > ### Title: stargazer
    > ### Aliases: stargazer stargazer-package
    > ### Keywords: package models regression nonlinear univar interface
    > ### programming IO
    >
    > ### ** Examples
    >
    > ## create summary statistics table for 'attitude' data frame
    > stargazer(attitude)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Mon, May 21, 2018 - 10:43:10 AM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}}lccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
    Statistic & \multicolumn{1}{c}{N} & \multicolumn{1}{c}{Mean} & \multicolumn{1}{c}{St. Dev.} & \multicolumn{1}{c}{Min} & \multicolumn{1}{c}{Max} \\
    \hline \\[-1.8ex]
    rating & 30 & 64.633 & 12.173 & 40 & 85 \\
    complaints & 30 & 66.600 & 13.315 & 37 & 90 \\
    privileges & 30 & 53.133 & 12.235 & 30 & 83 \\
    learning & 30 & 56.367 & 11.737 & 34 & 75 \\
    raises & 30 & 64.633 & 10.397 & 43 & 88 \\
    critical & 30 & 74.767 & 9.895 & 49 & 92 \\
    advance & 30 & 42.933 & 10.289 & 25 & 72 \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## list the content of the data frame 'attitude'
    > stargazer(attitude, summary=FALSE)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Mon, May 21, 2018 - 10:43:10 AM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}} cccccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
     & rating & complaints & privileges & learning & raises & critical & advance \\
    \hline \\[-1.8ex]
    1 & $43$ & $51$ & $30$ & $39$ & $61$ & $92$ & $45$ \\
    2 & $63$ & $64$ & $51$ & $54$ & $63$ & $73$ & $47$ \\
    3 & $71$ & $70$ & $68$ & $69$ & $76$ & $86$ & $48$ \\
    4 & $61$ & $63$ & $45$ & $47$ & $54$ & $84$ & $35$ \\
    5 & $81$ & $78$ & $56$ & $66$ & $71$ & $83$ & $47$ \\
    6 & $43$ & $55$ & $49$ & $44$ & $54$ & $49$ & $34$ \\
    7 & $58$ & $67$ & $42$ & $56$ & $66$ & $68$ & $35$ \\
    8 & $71$ & $75$ & $50$ & $55$ & $70$ & $66$ & $41$ \\
    9 & $72$ & $82$ & $72$ & $67$ & $71$ & $83$ & $31$ \\
    10 & $67$ & $61$ & $45$ & $47$ & $62$ & $80$ & $41$ \\
    11 & $64$ & $53$ & $53$ & $58$ & $58$ & $67$ & $34$ \\
    12 & $67$ & $60$ & $47$ & $39$ & $59$ & $74$ & $41$ \\
    13 & $69$ & $62$ & $57$ & $42$ & $55$ & $63$ & $25$ \\
    14 & $68$ & $83$ & $83$ & $45$ & $59$ & $77$ & $35$ \\
    15 & $77$ & $77$ & $54$ & $72$ & $79$ & $77$ & $46$ \\
    16 & $81$ & $90$ & $50$ & $72$ & $60$ & $54$ & $36$ \\
    17 & $74$ & $85$ & $64$ & $69$ & $79$ & $79$ & $63$ \\
    18 & $65$ & $60$ & $65$ & $75$ & $55$ & $80$ & $60$ \\
    19 & $65$ & $70$ & $46$ & $57$ & $75$ & $85$ & $46$ \\
    20 & $50$ & $58$ & $68$ & $54$ & $64$ & $78$ & $52$ \\
    21 & $50$ & $40$ & $33$ & $34$ & $43$ & $64$ & $33$ \\
    22 & $64$ & $61$ & $52$ & $62$ & $66$ & $80$ & $41$ \\
    23 & $53$ & $66$ & $52$ & $50$ & $63$ & $80$ & $37$ \\
    24 & $40$ & $37$ & $42$ & $58$ & $50$ & $57$ & $49$ \\
    25 & $63$ & $54$ & $42$ & $48$ & $66$ & $75$ & $33$ \\
    26 & $66$ & $77$ & $66$ & $63$ & $88$ & $76$ & $72$ \\
    27 & $78$ & $75$ & $58$ & $74$ & $80$ & $78$ & $49$ \\
    28 & $48$ & $57$ & $44$ & $45$ & $51$ & $83$ & $38$ \\
    29 & $85$ & $85$ & $71$ & $71$ & $77$ & $74$ & $55$ \\
    30 & $82$ & $82$ & $39$ & $59$ & $64$ & $78$ & $39$ \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## 2 OLS models
    > linear.1 <- lm(rating ~ complaints + privileges + learning
    + + raises + critical, data=attitude)
    >
    > linear.2 <- lm(rating ~ complaints + privileges + learning, data=attitude)
    >
    > ## create an indicator dependent variable, and run a probit model
    >
    > attitude$high.rating <- (attitude$rating > 70)
    > probit.model <- glm(high.rating ~ learning + critical + advance, data=attitude,
    + family = binomial(link = "probit"))
    >
    > stargazer(linear.1, linear.2, probit.model, title="Regression Results")
    Error in if (class(objects[[i]]) %in% c("coeftest", "lmerMod", "glmerMod", :
     the condition has length > 1
    Calls: stargazer -> .stargazer.wrap
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 5.2.1
Check: examples
Result: ERROR
    Running examples in ‘stargazer-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: stargazer
    > ### Title: stargazer
    > ### Aliases: stargazer stargazer-package
    > ### Keywords: package models regression nonlinear univar interface
    > ### programming IO
    >
    > ### ** Examples
    >
    > ## create summary statistics table for 'attitude' data frame
    > stargazer(attitude)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Mon, May 21, 2018 - 10:39:16 PM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}}lccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
    Statistic & \multicolumn{1}{c}{N} & \multicolumn{1}{c}{Mean} & \multicolumn{1}{c}{St. Dev.} & \multicolumn{1}{c}{Min} & \multicolumn{1}{c}{Max} \\
    \hline \\[-1.8ex]
    rating & 30 & 64.633 & 12.173 & 40 & 85 \\
    complaints & 30 & 66.600 & 13.315 & 37 & 90 \\
    privileges & 30 & 53.133 & 12.235 & 30 & 83 \\
    learning & 30 & 56.367 & 11.737 & 34 & 75 \\
    raises & 30 & 64.633 & 10.397 & 43 & 88 \\
    critical & 30 & 74.767 & 9.895 & 49 & 92 \\
    advance & 30 & 42.933 & 10.289 & 25 & 72 \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## list the content of the data frame 'attitude'
    > stargazer(attitude, summary=FALSE)
    
    % Table created by stargazer v.5.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
    % Date and time: Mon, May 21, 2018 - 10:39:16 PM
    \begin{table}[!htbp] \centering
     \caption{}
     \label{}
    \begin{tabular}{@{\extracolsep{5pt}} cccccccc}
    \\[-1.8ex]\hline
    \hline \\[-1.8ex]
     & rating & complaints & privileges & learning & raises & critical & advance \\
    \hline \\[-1.8ex]
    1 & $43$ & $51$ & $30$ & $39$ & $61$ & $92$ & $45$ \\
    2 & $63$ & $64$ & $51$ & $54$ & $63$ & $73$ & $47$ \\
    3 & $71$ & $70$ & $68$ & $69$ & $76$ & $86$ & $48$ \\
    4 & $61$ & $63$ & $45$ & $47$ & $54$ & $84$ & $35$ \\
    5 & $81$ & $78$ & $56$ & $66$ & $71$ & $83$ & $47$ \\
    6 & $43$ & $55$ & $49$ & $44$ & $54$ & $49$ & $34$ \\
    7 & $58$ & $67$ & $42$ & $56$ & $66$ & $68$ & $35$ \\
    8 & $71$ & $75$ & $50$ & $55$ & $70$ & $66$ & $41$ \\
    9 & $72$ & $82$ & $72$ & $67$ & $71$ & $83$ & $31$ \\
    10 & $67$ & $61$ & $45$ & $47$ & $62$ & $80$ & $41$ \\
    11 & $64$ & $53$ & $53$ & $58$ & $58$ & $67$ & $34$ \\
    12 & $67$ & $60$ & $47$ & $39$ & $59$ & $74$ & $41$ \\
    13 & $69$ & $62$ & $57$ & $42$ & $55$ & $63$ & $25$ \\
    14 & $68$ & $83$ & $83$ & $45$ & $59$ & $77$ & $35$ \\
    15 & $77$ & $77$ & $54$ & $72$ & $79$ & $77$ & $46$ \\
    16 & $81$ & $90$ & $50$ & $72$ & $60$ & $54$ & $36$ \\
    17 & $74$ & $85$ & $64$ & $69$ & $79$ & $79$ & $63$ \\
    18 & $65$ & $60$ & $65$ & $75$ & $55$ & $80$ & $60$ \\
    19 & $65$ & $70$ & $46$ & $57$ & $75$ & $85$ & $46$ \\
    20 & $50$ & $58$ & $68$ & $54$ & $64$ & $78$ & $52$ \\
    21 & $50$ & $40$ & $33$ & $34$ & $43$ & $64$ & $33$ \\
    22 & $64$ & $61$ & $52$ & $62$ & $66$ & $80$ & $41$ \\
    23 & $53$ & $66$ & $52$ & $50$ & $63$ & $80$ & $37$ \\
    24 & $40$ & $37$ & $42$ & $58$ & $50$ & $57$ & $49$ \\
    25 & $63$ & $54$ & $42$ & $48$ & $66$ & $75$ & $33$ \\
    26 & $66$ & $77$ & $66$ & $63$ & $88$ & $76$ & $72$ \\
    27 & $78$ & $75$ & $58$ & $74$ & $80$ & $78$ & $49$ \\
    28 & $48$ & $57$ & $44$ & $45$ & $51$ & $83$ & $38$ \\
    29 & $85$ & $85$ & $71$ & $71$ & $77$ & $74$ & $55$ \\
    30 & $82$ & $82$ & $39$ & $59$ & $64$ & $78$ & $39$ \\
    \hline \\[-1.8ex]
    \end{tabular}
    \end{table}
    >
    > ## 2 OLS models
    > linear.1 <- lm(rating ~ complaints + privileges + learning
    + + raises + critical, data=attitude)
    >
    > linear.2 <- lm(rating ~ complaints + privileges + learning, data=attitude)
    >
    > ## create an indicator dependent variable, and run a probit model
    >
    > attitude$high.rating <- (attitude$rating > 70)
    > probit.model <- glm(high.rating ~ learning + critical + advance, data=attitude,
    + family = binomial(link = "probit"))
    >
    > stargazer(linear.1, linear.2, probit.model, title="Regression Results")
    Error in if (class(objects[[i]]) %in% c("coeftest", "lmerMod", "glmerMod", :
     the condition has length > 1
    Calls: stargazer -> .stargazer.wrap
    Execution halted
Flavor: r-release-linux-x86_64