* using log directory 'd:/RCompile/CRANincoming/R-devel/EmiR.Rcheck' * using R Under development (unstable) (2024-07-07 r86880 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'EmiR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'EmiR' version '1.1.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers Maintainer: 'Lorenzo Sostero ' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'EmiR' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.2.0' * checking C++ specification ... NOTE Specified C++11: please drop specification unless essential * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... NOTE checkRd: (-1) minimize.Rd:22: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:23: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:24: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:25: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:26: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:27: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:28: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:29: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:30: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:31: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:32: Lost braces in \itemize; meant \describe ? checkRd: (-1) minimize.Rd:33: Lost braces in \itemize; meant \describe ? * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(EmiR) > test_check("EmiR") 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| * checking PDF version of manual ... [13s] WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.79 \eqn{x_{i} \in \[ -32.768, 32.768 \]}{} , for all ! LaTeX Error: \begin{list} on input line 74 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.79 \eqn{x_{i} \in \[ -32.768, 32.768 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.81 \eqn{f(\vec{x})=0}{} for \eqn{x_{i}=0}{} for all \eqn{i=1,...,n}{}. ! LaTeX Error: \begin{Rdsection} on input line 74 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Details} on input line 74 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.82 \end{Details} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.139 \eqn{x_{i} \in \[ -100, 100 \]}{} , for all ! LaTeX Error: \begin{list} on input line 134 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.139 \eqn{x_{i} \in \[ -100, 100 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! LaTeX Error: Command \end{Rdsection} invalid in math mode. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Rdsection} on input line 134 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.142 \end{Details} ! LaTeX Error: \begin{Details} on input line 134 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.142 \end{Details} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.177 \eqn{x_{i} \in \[ -10, 10 \]}{} , for all ! LaTeX Error: \begin{list} on input line 172 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.177 \eqn{x_{i} \in \[ -10, 10 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! LaTeX Error: Command \end{Rdsection} invalid in math mode. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Rdsection} on input line 172 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.180 \end{Details} ! LaTeX Error: \begin{Details} on input line 172 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.180 \end{Details} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1085 \eqn{x_{i} \in \[ -10, 10 \]}{} , for all ! LaTeX Error: \begin{list} on input line 1080 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1085 \eqn{x_{i} \in \[ -10, 10 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! LaTeX Error: Command \end{Rdsection} invalid in math mode. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Rdsection} on input line 1080 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1088 \end{Details} ! LaTeX Error: \begin{Details} on input line 1080 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1088 \end{Details} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1156 \eqn{x_{i} \in \[ -600, 600 \]}{} , for all ! LaTeX Error: \begin{list} on input line 1151 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1156 \eqn{x_{i} \in \[ -600, 600 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1158 \eqn{f(\vec{x}) = 0}{} for \eqn{x_{i}=0}{} for all \eqn{i=1,...,n}{}. ! LaTeX Error: \begin{Rdsection} on input line 1151 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Details} on input line 1151 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1159 \end{Details} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1226 \eqn{x_{i} \in \[ -2, 2 \]}{} , for all ! LaTeX Error: \begin{list} on input line 1221 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1226 \eqn{x_{i} \in \[ -2, 2 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! LaTeX Error: Command \end{Rdsection} invalid in math mode. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Rdsection} on input line 1221 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1229 \end{Details} ! LaTeX Error: \begin{Details} on input line 1221 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1229 \end{Details} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1551 \eqn{x_{i} \in \[ -5.12, 5.12 \]}{} , for all ! LaTeX Error: \begin{list} on input line 1545 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1551 \eqn{x_{i} \in \[ -5.12, 5.12 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1553 \eqn{f(\vec{x})=0}{} for \eqn{x_{i}=0}{} for all \eqn{i=1,...,n}{}. ! LaTeX Error: \begin{Rdsection} on input line 1545 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Details} on input line 1545 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1554 \end{Details} ! Missing delimiter (. inserted). \def l.1587 ...1}-x_{i}^2)^2 + (x_{i}-1)^2 \right\],}{} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1587 ...1}-x_{i}^2)^2 + (x_{i}-1)^2 \right\],}{} ! Missing delimiter (. inserted). $ l.1587 ...1}-x_{i}^2)^2 + (x_{i}-1)^2 \right\],}{} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{list} on input line 1584 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1587 ...1}-x_{i}^2)^2 + (x_{i}-1)^2 \right\],}{} ! Display math should end with $$. \endgroup l.1587 ...1}-x_{i}^2)^2 + (x_{i}-1)^2 \right\],}{} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1589 \eqn{x_{i} \in \[ -5, 10 \]}{} , for all ! LaTeX Error: \begin{Rdsection} on input line 1584 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1589 \eqn{x_{i} \in \[ -5, 10 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1591 \eqn{f(\vec{x})=0}{} for \eqn{x_{i}=1}{} for all \eqn{i=1,...,n}{}. ! LaTeX Error: \begin{Details} on input line 1584 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1592 \end{Details} ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1592 \end{Details} ! Missing delimiter (. inserted). \def l.1626 ... -x_{i}\sin(\sqrt{|x_{i}|}) \right\],}{} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1626 ... -x_{i}\sin(\sqrt{|x_{i}|}) \right\],}{} ! Missing delimiter (. inserted). $ l.1626 ... -x_{i}\sin(\sqrt{|x_{i}|}) \right\],}{} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{list} on input line 1623 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1626 ... -x_{i}\sin(\sqrt{|x_{i}|}) \right\],}{} ! Display math should end with $$. \endgroup l.1626 ... -x_{i}\sin(\sqrt{|x_{i}|}) \right\],}{} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1628 \eqn{x_{i} \in \[ -500, 500 \]}{} , for all ! LaTeX Error: \begin{Rdsection} on input line 1623 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1628 \eqn{x_{i} \in \[ -500, 500 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1630 ...-418.9829n}{} for \eqn{x_{i}=420.9687}{} for all \eqn{i=1,...,n}{}. ! LaTeX Error: \begin{Details} on input line 1623 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1631 \end{Details} ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1631 \end{Details} ! LaTeX Error: Bad math environment delimiter. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing \endgroup inserted. \endgroup l.1666 \eqn{x_{i} \in \[ -5, 5 \]}{} , for all ! LaTeX Error: \begin{list} on input line 1661 ended by \end{equation*}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1666 \eqn{x_{i} \in \[ -5, 5 \]}{} , for all ! Package amsmath Error: \vec allowed only in math mode. See the amsmath package documentation for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.1668 ...39.16599n}{} for \eqn{x_{i}=-2.903534}{} for all \eqn{i=1,...,n}{}. ! LaTeX Error: \begin{Rdsection} on input line 1661 ended by \end{list}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{Details} on input line 1661 ended by \end{Rdsection}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: \begin{document} ended by \end{Details}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Extra \endgroup. \endgroup l.1669 \end{Details} * checking PDF version of manual without index ... ERROR * checking HTML version of manual ... NOTE Found the following math rendering problems: ackley_func.Rd:25: Undefined control sequence: \[ in x_{i} \in \[ -32.768, 32.76... bohachevsky_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -100, 100 \] bohachevsky_func.Rd:26: Undefined control sequence: \[ in \vec{x} = \[ 0, 0 \] colville_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -10, 10 \] colville_func.Rd:26: Undefined control sequence: \[ in \vec{x} = \[ 1, 1, 1, 1 \] freudenstein_roth_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -10, 10 \] freudenstein_roth_func.Rd:26: Undefined control sequence: \[ in \vec{x} = \[ 5, 4 \] griewank_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -600, 600 \] miele_cantrell_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -2, 2 \] miele_cantrell_func.Rd:26: Undefined control sequence: \[ in \vec{x} = \[ 0, 1, 1, 1 \] rastrigin_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -5.12, 5.12 \] rosenbrock_func.Rd:22: Undefined control sequence: \[ in ...=1}^{n-1} \left\[ 100(x_{i+1}-x_... rosenbrock_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -5, 10 \] schwefel_func.Rd:22: Undefined control sequence: \[ in ...{i=1}^{n} \left\[ -x_{i}\sin(\sq... schwefel_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -500, 500 \] styblinski_tang_func.Rd:24: Undefined control sequence: \[ in x_{i} \in \[ -5, 5 \] * DONE Status: 2 ERRORs, 1 WARNING, 3 NOTEs