Hi, > Turning to the R-Terminal executing /R CMD Rd2pdf/ Leads to: > > Converting Rd files to LaTeX ... > > spsh_1.0.1.tar.gz > > Warning in readLines(f) : line 1 appears to contain an embedded nul
You really need to give the exact command you run, it is not just 'R CMD Rd2pdf'. The error message indicates that probably you run 'R CMD Rd2pdf spsh_1.0.1.tar.gz ', which is incorrect - you need to run Rd2pdf on the directory were your source package is, not on the tar ball, eg. 'R CMD Rd2pdf spsh '. The LaTeX error indicates that you probably used something like \code{some code} but omitted the closing curly parenthesis. Georgi Boshnakov -----Original Message----- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Tobias KD Weber Sent: 13 March 2019 09:50 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Help request on Rd2pdf | Fwd: [CRAN-pretest-archived] CRAN submission spsh 1.0.190311 Dear people, I submitted a package to CRAN and got an error on the pdf manual creation (solved other minor issues, full response from cran-submissi...@r-project.org please see email below). The response to an error and warnings detailed: * using log directory 'd:/RCompile/CRANincoming/R-devel/spsh.Rcheck' * using R Under development (unstable) (2019-03-09 r76216) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'spsh/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'spsh' version '1.0.190311' * package encoding: UTF-8 * checking CRAN incoming feasibility ... WARNING [... deleted .... all OK ...] * checking PDF version of manual ... WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! LaTeX Error: There's no line here to end. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... ! Paragraph ended before \Rd@code was complete. <to be read again> \par l.1340 * checking PDF version of manual without hyperrefs or index ... ERROR * DONE Status: 1 ERROR, 2 WARNINGs, 1 NOTE Turning to the R-Terminal executing /R CMD Rd2pdf/ Leads to: Converting Rd files to LaTeX ... spsh_1.0.1.tar.gz Warning in readLines(f) : line 1 appears to contain an embedded nul Warning in readLines(f) : line 19 appears to contain an embedded nul [... deleted many more lines ... ] Warning in readLines(f) : line 3058 appears to contain an embedded nul Warning in readLines(f) : line 3117 appears to contain an embedded nul Warning in readLines(f) : incomplete final line found on 'spsh_1.0.1.tar.gz' Error in iconv(lines, encoding, "UTF-8", sub = "byte") : embedded nul in string: '\001\f\023aIeK\021\030\023U\\,%\035\002\003\n\v\\}s\021heyt\036m\037 PaK\032\027Z,C %2u@\031w\021('\017}gcn\004L\006\0267#!|E\017\ 177\\1w\032|Gf\005JS*a\177F\\\aa_Yr]\033sVA<bf>~~\\,\026Sa_QnXMF\017B?O,<\003~\toMZ\023i\006\177\0\006\005qKvB_~\t\a\a5l\001\177=MWu\030]\t>JF\nDx\004T\t\023 `[\025?n)g^\004oMhW{%l\aO\fo>\033>\016{_<bf>n?]d|\v>V' I have truely searched most of the morning for a solution, but none to be found. Any ideas how to solve this would be very much appreciated. Kind Regards, Tobias -------- Weitergeleitete Nachricht -------- Betreff: [CRAN-pretest-archived] CRAN submission spsh 1.0.190311 Datum: Tue, 12 Mar 2019 19:43:25 +0100 Von: lig...@statistik.tu-dortmund.de Antwort an: cran-submissi...@r-project.org An: tobias.we...@uni-hohenheim.de Kopie (CC): cran-submissi...@r-project.org Dear maintainer, package spsh_1.0.190311.tar.gz does not pass the incoming checks automatically, please see the following pre-tests: Windows: <https://win-builder.r-project.org/incoming_pretest/spsh_1.0.190311_20190312_152345/Windows/00check.log> Status: 1 ERROR, 2 WARNINGs, 1 NOTE Debian: <https://win-builder.r-project.org/incoming_pretest/spsh_1.0.190311_20190312_152345/Debian/00check.log> Status: 1 ERROR, 2 WARNINGs, 1 NOTE Please fix all problems and resubmit a fixed version via the webform. If you are not sure how to fix the problems shown, please ask for help on the R-package-devel mailing list: <https://stat.ethz.ch/mailman/listinfo/r-package-devel> If you are fairly certain the rejection is a false positive, please reply-all to this message and explain. More details are given in the directory: <https://win-builder.r-project.org/incoming_pretest/spsh_1.0.190311_20190312_152345/> The files will be removed after roughly 7 days. No strong reverse dependencies to be checked. Best regards, CRAN teams' auto-check service ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel