Skip to content

Failed compile of cshapes package

2 messages · Nils B. Weidmann, Simon Urbanek

#
Dear all,

I have been submitting more recent versions of my cshapes package to 
CRAN. Whereas version 0.1-1 compiled just fine, all subsequent releases 
failed to do so, but only under OS X:

http://cran.r-project.org/web/checks/check_results_cshapes.html

This is weird, because
* the example that triggered the OS X compilation error was not changed 
between 0.1-1 and now
* this example has also been excluded from testing (using "Not run:")

Any suggestions of what I could do? Thanks!

Nils
#
On Jan 26, 2010, at 16:19 , Nils B. Weidmann wrote:

            
The issue is that you compiled it with too high target:
   java.lang.UnsupportedClassVersionError: Bad version number  
in .class file

We only support JDK 1.5. Please use -target 1.5 when compiling your  
class files (they seem to not require 1.6 at all).
No, it's not -- the "Not run" is just your comment, it has no  
influence on the examples.
See above.

Cheers,
Simon