Skip to content

R-hub on Mac OS X

November 3, 2016

Since I’ve been invited to give a seminar at an OxWaSP mini-symposium, I decided it was finally time to get my R package bayesImageS in shape for submission to the CRAN repository. Recently, the R-hub builder was released as a public beta. I was keen to check this out, since it is meant to make the process of submitting packages to CRAN simpler, particularly for first time package authors such as myself.

The R package rhub didn’t install first time, due to a dependency on the callr package, which isn’t available as a binary for my outdated version of R. I upgraded to the latest R (version 3.3.2), which also necessitated upgrading to RStudio 1.0.44. This fixed all of the dependency issues. I should probably have done this first anyway!

Warning in install.packages :
 packages ‘callr’, ‘desc’ are not available (for R version 3.2.5)

The next step is to validate your contact email address as the author/maintainer of the R package. Once you have received your verification email, you can enter your token to enable you to submit R packages to R-hub. The check() command gives you immediate feedback as the tests are running and you also receive a report via email:


* checking re-building of vignette outputs ... WARNING
Error in re-building vignettes:
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  Running 'texi2dvi' on 'background.tex' failed.
LaTeX errors:
! LaTeX Error: File `algorithm.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

! Emergency stop.
<read *> 
l.67 \usepackage
!  ==> Fatal error occurred, no output PDF file produced!
Calls: buildVignettes -> texi2pdf -> texi2dvi
Execution halted

Looks like I need to figure out which CTAN packages are supported on CRAN…



From → R

One Comment

Trackbacks & Pingbacks

  1. bayesImageS available on CRAN | Matt Moores

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Ella Kaye on Ella Kaye

Computational Bayesian statistics

Bayes' Food Cake

A bit of statistics, a bit of cakes. - Blogs to Learn R from the Community

Computational Bayesian statistics

Richard Everitt's blog

Computational Bayesian statistics

Let's Look at the Figures

David Firth's blog

Nicholas Tierney

Computational Bayesian statistics

Mad (Data) Scientist

Musings, useful code etc. on R and data science

Another Astrostatistics Blog

The random musings of a reformed astronomer ...

Darren Wilkinson's research blog

Statistics, computing, data science, Bayes, stochastic modelling, systems biology and bioinformatics

(badness 10000)

Computational Bayesian statistics

Igor Kromin

Computational Bayesian statistics


I can't get no

Xi'an's Og

an attempt at bloggin, nothing more...

Sam Clifford

Postdoctoral Fellow, Bayesian Statistics, Aerosol Science

%d bloggers like this: