Skip to content

What is the recommended way to run R CMD check with these containers? #11

Open
@nsheff

Description

@nsheff

I'm using the container bioconductor/bioconductor_docker:RELEASE_3_10.

When I try to run an R CMD check using this container, I get:

* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
* checking PDF version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  pdflatex is not available
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  pdflatex is not available
Error in running tools::texi2pdf()

I presume this is because this container doesn't contain all the required latex stuff for building PDF manuals. That's probably by design since the latex dependencies are huge -- but in this case, what is the recommended way to do R CMD check ?

Further, running a BiocCheck in the container also fails since BiocCheck hasn't been included.

R CMD BiocCheck rigd_1.0.tar.gz 
/usr/local/lib/R/bin/Rcmd: 62: exec: BiocCheck: not found

What is the recommended way to use the containers for package building/checking? Do you think it makes sense to maintain some kind of a 'building' image that includes these prerequisites?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions