=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== r-cran-actuar-3.0-0/src/hierarc.c-37- PROTECT(s_cred = coerceVector(CADR(args), VECSXP)); r-cran-actuar-3.0-0/src/hierarc.c:38: PROTECT(s_tweights = coerceVector(CADDR(args), VECSXP)); r-cran-actuar-3.0-0/src/hierarc.c-39- PROTECT(s_wmeans = coerceVector(CADDDR(args), VECSXP)); ############################################## r-cran-actuar-3.0-0/src/dpq.c-158- r-cran-actuar-3.0-0/src/dpq.c:159:#define DPQ1_1(A, FUN) dpq1_1(CAR(A), CADR(A), CADDR(A), FUN); r-cran-actuar-3.0-0/src/dpq.c:160:#define DPQ1_2(A, FUN) dpq1_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN) r-cran-actuar-3.0-0/src/dpq.c-161- ############################################## r-cran-actuar-3.0-0/src/dpq.c-344- r-cran-actuar-3.0-0/src/dpq.c:345:#define DPQ2_1(A, FUN) dpq2_1(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN); r-cran-actuar-3.0-0/src/dpq.c:346:#define DPQ2_2(A, FUN) dpq2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), FUN) r-cran-actuar-3.0-0/src/dpq.c:347:#define DPQ2_5(A, FUN) dpq2_5(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), CAD5R(A), CAD6R(A), CAD7R(A), FUN) r-cran-actuar-3.0-0/src/dpq.c-348- ############################################## r-cran-actuar-3.0-0/src/dpq.c-568- r-cran-actuar-3.0-0/src/dpq.c:569:#define DPQ3_1(A, FUN) dpq3_1(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), FUN); r-cran-actuar-3.0-0/src/dpq.c:570:#define DPQ3_2(A, FUN) dpq3_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), CAD5R(A), FUN) r-cran-actuar-3.0-0/src/dpq.c-571- ############################################## r-cran-actuar-3.0-0/src/dpq.c-777- r-cran-actuar-3.0-0/src/dpq.c:778:#define DPQ4_1(A, FUN) dpq4_1(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), CAD5R(A), FUN); r-cran-actuar-3.0-0/src/dpq.c:779:#define DPQ4_2(A, FUN) dpq4_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), CAD5R(A), CAD6R(A), FUN) r-cran-actuar-3.0-0/src/dpq.c-780- ############################################## r-cran-actuar-3.0-0/src/dpq.c-963- r-cran-actuar-3.0-0/src/dpq.c:964:#define DPQ5_1(A, FUN) dpq5_1(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), CAD5R(A), CAD6R(A), FUN); r-cran-actuar-3.0-0/src/dpq.c:965:#define DPQ5_2(A, FUN) dpq5_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), CAD5R(A), CAD6R(A), CAD7R(A), FUN) r-cran-actuar-3.0-0/src/dpq.c-966- ############################################## r-cran-actuar-3.0-0/src/dpq.c-1115- r-cran-actuar-3.0-0/src/dpq.c:1116:#define DPQ6_1(A, FUN) dpq6_1(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), CAD5R(A), CAD6R(A), CAD7R(A), FUN); r-cran-actuar-3.0-0/src/dpq.c-1117- ############################################## r-cran-actuar-3.0-0/src/betaint.c-141- r-cran-actuar-3.0-0/src/betaint.c:142: if (!isNumeric(CAR(args))|| !isNumeric(CADR(args)) || !isNumeric(CADDR(args))) r-cran-actuar-3.0-0/src/betaint.c-143- error(_("invalid arguments")); ############################################## r-cran-actuar-3.0-0/src/betaint.c-146- na = LENGTH(CADR(args)); r-cran-actuar-3.0-0/src/betaint.c:147: nb = LENGTH(CADDR(args)); r-cran-actuar-3.0-0/src/betaint.c-148- if ((nx == 0) || (na == 0) || (nb == 0)) ############################################## r-cran-actuar-3.0-0/src/betaint.c-156- PROTECT(sa = coerceVector(CADR(args), REALSXP)); r-cran-actuar-3.0-0/src/betaint.c:157: PROTECT(sb = coerceVector(CADDR(args), REALSXP)); r-cran-actuar-3.0-0/src/betaint.c-158- PROTECT(sy = allocVector(REALSXP, n)); ############################################## r-cran-actuar-3.0-0/src/random.c-202- !isNumeric(CADR(args)) || r-cran-actuar-3.0-0/src/random.c:203: !isNumeric(CADDR(args))) r-cran-actuar-3.0-0/src/random.c-204- error(_("invalid arguments")); ############################################## r-cran-actuar-3.0-0/src/random.c-225- na = LENGTH(CADR(args)); r-cran-actuar-3.0-0/src/random.c:226: nb = LENGTH(CADDR(args)); r-cran-actuar-3.0-0/src/random.c-227- if (na < 1 || nb < 1) ############################################## r-cran-actuar-3.0-0/src/random.c-233- PROTECT(a = coerceVector(CADR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c:234: PROTECT(b = coerceVector(CADDR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c-235- GetRNGstate(); ############################################## r-cran-actuar-3.0-0/src/random.c-317- !isNumeric(CADR(args)) || r-cran-actuar-3.0-0/src/random.c:318: !isNumeric(CADDR(args)) || r-cran-actuar-3.0-0/src/random.c-319- !isNumeric(CADDDR(args))) ############################################## r-cran-actuar-3.0-0/src/random.c-341- na = LENGTH(CADR(args)); r-cran-actuar-3.0-0/src/random.c:342: nb = LENGTH(CADDR(args)); r-cran-actuar-3.0-0/src/random.c-343- nc = LENGTH(CADDDR(args)); ############################################## r-cran-actuar-3.0-0/src/random.c-350- PROTECT(a = coerceVector(CADR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c:351: PROTECT(b = coerceVector(CADDR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c-352- PROTECT(c = coerceVector(CADDDR(args), REALSXP)); ############################################## r-cran-actuar-3.0-0/src/random.c-427- !isNumeric(CADR(args)) || r-cran-actuar-3.0-0/src/random.c:428: !isNumeric(CADDR(args)) || r-cran-actuar-3.0-0/src/random.c-429- !isNumeric(CADDDR(args)) || ############################################## r-cran-actuar-3.0-0/src/random.c-452- na = LENGTH(CADR(args)); r-cran-actuar-3.0-0/src/random.c:453: nb = LENGTH(CADDR(args)); r-cran-actuar-3.0-0/src/random.c-454- nc = LENGTH(CADDDR(args)); ############################################## r-cran-actuar-3.0-0/src/random.c-462- PROTECT(a = coerceVector(CADR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c:463: PROTECT(b = coerceVector(CADDR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c-464- PROTECT(c = coerceVector(CADDDR(args), REALSXP)); ############################################## r-cran-actuar-3.0-0/src/random.c-535- !isNumeric(CADR(args)) || r-cran-actuar-3.0-0/src/random.c:536: !isNumeric(CADDR(args)) || r-cran-actuar-3.0-0/src/random.c-537- !isNumeric(CADDDR(args)) || ############################################## r-cran-actuar-3.0-0/src/random.c-561- na = LENGTH(CADR(args)); r-cran-actuar-3.0-0/src/random.c:562: nb = LENGTH(CADDR(args)); r-cran-actuar-3.0-0/src/random.c-563- nc = LENGTH(CADDDR(args)); ############################################## r-cran-actuar-3.0-0/src/random.c-572- PROTECT(a = coerceVector(CADR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c:573: PROTECT(b = coerceVector(CADDR(args), REALSXP)); r-cran-actuar-3.0-0/src/random.c-574- PROTECT(c = coerceVector(CADDDR(args), REALSXP)); ############################################## r-cran-actuar-3.0-0/src/randomphtype.c-68- !isNumeric(CADR(args)) || r-cran-actuar-3.0-0/src/randomphtype.c:69: !isMatrix(CADDR(args))) r-cran-actuar-3.0-0/src/randomphtype.c-70- error(_("invalid arguments")); ############################################## r-cran-actuar-3.0-0/src/randomphtype.c-91- PROTECT(a = coerceVector(CADR(args), REALSXP)); r-cran-actuar-3.0-0/src/randomphtype.c:92: PROTECT(b = coerceVector(CADDR(args), REALSXP)); r-cran-actuar-3.0-0/src/randomphtype.c-93- bdims = getAttrib(b, R_DimSymbol); ############################################## r-cran-actuar-3.0-0/src/panjer.c-39- PROTECT(p0 = coerceVector(CADR(args), REALSXP)); r-cran-actuar-3.0-0/src/panjer.c:40: PROTECT(p1 = coerceVector(CADDR(args), REALSXP)); r-cran-actuar-3.0-0/src/panjer.c-41- PROTECT(fs0 = coerceVector(CADDDR(args), REALSXP)); ############################################## r-cran-actuar-3.0-0/src/dpqphtype.c-155- r-cran-actuar-3.0-0/src/dpqphtype.c:156:#define DPQPHTYPE2_1(A, FUN) dpqphtype2_1(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN); r-cran-actuar-3.0-0/src/dpqphtype.c:157:#define DPQPHTYPE2_2(A, FUN) dpqphtype2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), CAD4R(A), FUN) r-cran-actuar-3.0-0/src/dpqphtype.c-158- ############################################## r-cran-actuar-3.0-0/vignettes/credibility.Rnw-471-\end{equation*} r-cran-actuar-3.0-0/vignettes/credibility.Rnw:472:where $m = \E{\mu(\Theta)}$ and $z = n/(n + K)$ for some constant r-cran-actuar-3.0-0/vignettes/credibility.Rnw-473-$K$. ############################################## r-cran-actuar-3.0-0/vignettes/distributions.Rnw-808-\end{equation} r-cran-actuar-3.0-0/vignettes/distributions.Rnw:809:where $r = \lfloor -b\rfloor$. For the needs of \pkg{actuar}, we r-cran-actuar-3.0-0/vignettes/distributions.Rnw-810-dubbed \eqref{eq:betaint} the \emph{beta integral}. ############################################## r-cran-actuar-3.0-0/vignettes/modeling.Rnw-327-\end{equation} r-cran-actuar-3.0-0/vignettes/modeling.Rnw:328:where $I\{\mathcal{A}\} = 1$ if $\mathcal{A}$ is true and r-cran-actuar-3.0-0/vignettes/modeling.Rnw-329-$I\{\mathcal{A}\} = 0$ otherwise. The function returns a \code{"function"} ############################################## r-cran-actuar-3.0-0/vignettes/modeling.Rnw-485- \end{equation} r-cran-actuar-3.0-0/vignettes/modeling.Rnw:486: where $n = \sum_{j = 1}^r n_j$. By default, $w_j = n_j^{-1}$. r-cran-actuar-3.0-0/vignettes/modeling.Rnw-487-\item The layer average severity method (\code{LAS}) applies to ############################################## r-cran-actuar-3.0-0/vignettes/modeling.Rnw-494- \end{equation} r-cran-actuar-3.0-0/vignettes/modeling.Rnw:495: where $\LAS(x, y) = \E{X \wedge y} - \E{X \wedge x}$, % r-cran-actuar-3.0-0/vignettes/modeling.Rnw-496- $\tilde{\LAS}_n(x, y) = \tilde{E}_n[X \wedge y] - \tilde{E}_n[X ############################################## r-cran-actuar-3.0-0/vignettes/risk.Rnw-137-\end{align} r-cran-actuar-3.0-0/vignettes/risk.Rnw:138:where $F_C(x) = \Pr[C \leq x]$ is the common cdf of $C_1, \dots, C_n$, r-cran-actuar-3.0-0/vignettes/risk.Rnw-139-$p_n = \Pr[N = n]$ and $F_C^{*n}(x) = \Pr[C_1 + \dots + C_n \leq x]$ ############################################## r-cran-actuar-3.0-0/vignettes/risk.Rnw-150-\end{equation} r-cran-actuar-3.0-0/vignettes/risk.Rnw:151:where $I\{\mathcal{A}\} = 1$ if $\mathcal{A}$ is true and r-cran-actuar-3.0-0/vignettes/risk.Rnw-152-$I\{\mathcal{A}\} = 0$ otherwise. ############################################## r-cran-actuar-3.0-0/vignettes/risk.Rnw-323- \end{equation} r-cran-actuar-3.0-0/vignettes/risk.Rnw:324: where $\mu_S = \E{S}$ and $\sigma_S^2 = \VAR{S}$. For most realistic r-cran-actuar-3.0-0/vignettes/risk.Rnw-325- models, this approximation is rather crude in the tails of the ############################################## r-cran-actuar-3.0-0/vignettes/risk.Rnw-336- \end{equation} r-cran-actuar-3.0-0/vignettes/risk.Rnw:337: where $\gamma_S = \E{(S - \mu_S)^3}/\sigma_S^{3/2}$. The r-cran-actuar-3.0-0/vignettes/risk.Rnw-338- approximation is valid for $x > \mu_S$ only and performs reasonably ############################################## r-cran-actuar-3.0-0/inst/doc/credibility.Rnw-471-\end{equation*} r-cran-actuar-3.0-0/inst/doc/credibility.Rnw:472:where $m = \E{\mu(\Theta)}$ and $z = n/(n + K)$ for some constant r-cran-actuar-3.0-0/inst/doc/credibility.Rnw-473-$K$. ############################################## r-cran-actuar-3.0-0/inst/doc/distributions.Rnw-808-\end{equation} r-cran-actuar-3.0-0/inst/doc/distributions.Rnw:809:where $r = \lfloor -b\rfloor$. For the needs of \pkg{actuar}, we r-cran-actuar-3.0-0/inst/doc/distributions.Rnw-810-dubbed \eqref{eq:betaint} the \emph{beta integral}. ############################################## r-cran-actuar-3.0-0/inst/doc/modeling.Rnw-327-\end{equation} r-cran-actuar-3.0-0/inst/doc/modeling.Rnw:328:where $I\{\mathcal{A}\} = 1$ if $\mathcal{A}$ is true and r-cran-actuar-3.0-0/inst/doc/modeling.Rnw-329-$I\{\mathcal{A}\} = 0$ otherwise. The function returns a \code{"function"} ############################################## r-cran-actuar-3.0-0/inst/doc/modeling.Rnw-485- \end{equation} r-cran-actuar-3.0-0/inst/doc/modeling.Rnw:486: where $n = \sum_{j = 1}^r n_j$. By default, $w_j = n_j^{-1}$. r-cran-actuar-3.0-0/inst/doc/modeling.Rnw-487-\item The layer average severity method (\code{LAS}) applies to ############################################## r-cran-actuar-3.0-0/inst/doc/modeling.Rnw-494- \end{equation} r-cran-actuar-3.0-0/inst/doc/modeling.Rnw:495: where $\LAS(x, y) = \E{X \wedge y} - \E{X \wedge x}$, % r-cran-actuar-3.0-0/inst/doc/modeling.Rnw-496- $\tilde{\LAS}_n(x, y) = \tilde{E}_n[X \wedge y] - \tilde{E}_n[X ############################################## r-cran-actuar-3.0-0/inst/doc/risk.Rnw-137-\end{align} r-cran-actuar-3.0-0/inst/doc/risk.Rnw:138:where $F_C(x) = \Pr[C \leq x]$ is the common cdf of $C_1, \dots, C_n$, r-cran-actuar-3.0-0/inst/doc/risk.Rnw-139-$p_n = \Pr[N = n]$ and $F_C^{*n}(x) = \Pr[C_1 + \dots + C_n \leq x]$ ############################################## r-cran-actuar-3.0-0/inst/doc/risk.Rnw-150-\end{equation} r-cran-actuar-3.0-0/inst/doc/risk.Rnw:151:where $I\{\mathcal{A}\} = 1$ if $\mathcal{A}$ is true and r-cran-actuar-3.0-0/inst/doc/risk.Rnw-152-$I\{\mathcal{A}\} = 0$ otherwise. ############################################## r-cran-actuar-3.0-0/inst/doc/risk.Rnw-323- \end{equation} r-cran-actuar-3.0-0/inst/doc/risk.Rnw:324: where $\mu_S = \E{S}$ and $\sigma_S^2 = \VAR{S}$. For most realistic r-cran-actuar-3.0-0/inst/doc/risk.Rnw-325- models, this approximation is rather crude in the tails of the ############################################## r-cran-actuar-3.0-0/inst/doc/risk.Rnw-336- \end{equation} r-cran-actuar-3.0-0/inst/doc/risk.Rnw:337: where $\gamma_S = \E{(S - \mu_S)^3}/\sigma_S^{3/2}$. The r-cran-actuar-3.0-0/inst/doc/risk.Rnw-338- approximation is valid for $x > \mu_S$ only and performs reasonably