Skip to content

[R-pkg-devel] Difference between local R CMD check and winbuilder

2 messages · Hongying Sun, Timothy Bates

#
Hello,

My package passed the R CMD check locally on my desktop with Windows
system, but not the winbuilder.   These are both done on R-4.0.0.

Does this happen to anyone else?

Here is the error:

* 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.
 ...
* checking PDF version of manual without hyperrefs or index ... ERROR




I also have difficulty install R-devel on my desktop.  Here is the error
message:

$ tar -xvzf R-devel.tar.gz
Library/Frameworks/R.framework/
Library/Frameworks/R.framework/PrivateHeaders
Library/Frameworks/R.framework/Resources
Library/Frameworks/R.framework/Versions/
Library/Frameworks/R.framework/R
tar: Library/Frameworks/R.framework/R: Cannot create symlink to
?Versions/Current/R?: No such file or directory
Library/Frameworks/R.framework/Libraries
Library/Frameworks/R.framework/Headers
tar: Library/Frameworks/R.framework/Headers: Cannot create symlink to
?Versions/Current/Headers?: No such file or directory
Library/Frameworks/R.framework/Versions/Current
Aborted (core dumped)


  I'm new to R and this is my first R package.   Please help.   Much
appreciated.

Thanks,
Hongying
#
Different error report: but I?ve been getting an error reported from winbuilder, but no error/code failures revealed in the log?


Running examples in 'umx-Ex.R' failed
The error most likely occurred in:


?

[example code with no error showing in the code?]


Passes release checks fine on MacOS with R 4.0.0 So, hard to debug?

Best, tim
On 21 May 2020, at 20:14, Hongying Sun <hongyingsun1101 at gmail.com<mailto:hongyingsun1101 at gmail.com>> wrote:
Hello,
My package passed the R CMD check locally on my desktop with Windows
system, but not the winbuilder.   These are both done on R-4.0.0.

Does this happen to anyone else?

Here is the error:

* 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.
...
* checking PDF version of manual without hyperrefs or index ... ERROR

$ tar -xvzf R-devel.tar.gz
Library/Frameworks/R.framework/
Library/Frameworks/R.framework/PrivateHeaders
Library/Frameworks/R.framework/Resources
Library/Frameworks/R.framework/Versions/
Library/Frameworks/R.framework/R
tar: Library/Frameworks/R.framework/R: Cannot create symlink to
?Versions/Current/R?: No such file or directory
Library/Frameworks/R.framework/Libraries
Library/Frameworks/R.framework/Headers
tar: Library/Frameworks/R.framework/Headers: Cannot create symlink to
?Versions/Current/Headers?: No such file or directory
Library/Frameworks/R.framework/Versions/Current
Aborted (core dumped)

 I'm new to R and this is my first R package.   Please help.   Much appreciated.
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.