1

I've just released a package to CRAN which has the following line in the DESCRIPTION file:

Depends: R (>= 2.12.0)

I have never used such a line in a package DESCRIPTION file before, and never had any troubles.

I received the following message a few hours ago, as is typical for CRAN releases:

Dear package maintainer,

this notification has been generated automatically.
Your package maRketSim_0.9.tar.gz has been built for Windows and
will be published within 24 hours in the corresponding CRAN directory
(CRAN/bin/windows/contrib/2.13/).
R version 2.13.1 Patched (2011-07-20 r56455)

All the best,
Uwe Ligges
(Maintainer of binary packages for Windows)

Now with this package, install.packages(maRketSim) on Windows in R 2.13.1 returns:

In getDependencies(pkgs, dependencies, available, lib) :
  package ‘maRketSim’ is not available (for R version 2.13.1)

The same error occurs in R 2.13.0 on Windows.

Yet the install works just fine in R 2.12.2 on the same machine.

Did including the Depends line mess things up?

1 Answer 1

1

It works for me on Linux. CRAN says that there are currently no binary builds for Windows or MacOS X. What system/OS were you trying the install on when it failed.

Uwe's (automated) message does mention that it might take up to 24 hours for the new build to reach CRAN and thence out to whatever mirror you are using.

And this does appear to be the issue: there is a binary for maRketSim in http://cran.r-project.org/bin/windows/contrib/2.12/ but not yet in http://cran.r-project.org/bin/windows/contrib/2.13/

You just need to wait a little while before you can install the binary for the 2.13.x branch of R/

4
  • 1
    Updated with OS (all on Windows, sadly, since I'm on my work laptop. I think you might be right. I'd just assumed since 2.12.2 was working well enough that the package was already distributed/available. Patience is a virtue I s'pose. :-) Aug 5, 2011 at 14:27
  • Actually for that matter I'm confused why this is winding up as a binary package. There's no C code in it, just pure R.... Aug 5, 2011 at 14:54
  • 2
    The packages used on Windows and MacOS X are binary in the sense that they have been "compiled" into a form that is not the source code. This facilitates their installation on those machines where the toolchain needed to install the package is not present. Compiling any C/Fortran sources present in the package is but one part of the binary building process on Windows and MacOS X. Take a look at a Windows binary R package for example and you'll see folders for html help, a meta folder, the R code in the R folder is combined into a single file etc.... Aug 5, 2011 at 14:58
  • 2
    And to add to Gavin's explanation: these internal R, help, ... formats have changed of late between releases so there really is a version dependence. Congrats on maRketSim, by the way. That will fill a gap. Aug 5, 2011 at 17:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.