Hi,
Alex showed me something nice yesterday that I have been trying to replicate.
The Renjin cli can convert a CRAN package to a Renjin package. I cannot get it to work however. This is what I did:
2. Unzip it to a local directory
3. cd into that directory
4. type renjin package
result is
```
~/Downloads/bssm$ renjin package
[INFO] Resolving dependencies...
[INFO] Resolving transitive dependencies...
[INFO] Downloading dependencies...
java.lang.UnsupportedOperationException: TODO
at org.renjin.cli.build.PackageBuild.setupNativeCompilation(PackageBuild.java:114)
at org.renjin.packaging.PackageBuilder.compileNativeSources(PackageBuilder.java:99)
at org.renjin.packaging.PackageBuilder.build(PackageBuilder.java:59)
at org.renjin.cli.build.Builder.buildPackage(Builder.java:60)
at org.renjin.cli.build.PackageBuildCommand.tryRun(PackageBuildCommand.java:32)
at org.renjin.cli.build.BuildCommand.run(BuildCommand.java:26)
at org.renjin.cli.build.Builder.execute(Builder.java:54)
at org.renjin.cli.Main.main(Main.java:51)
```
Looking in the source for PackageBuild on master line 114 indeed says
public void setupNativeCompilation() {
throw new UnsupportedOperationException("TODO");
}
But I am pretty sure Alex showed it working during the google meetup yesterday. Is there some other way (e.g. it is implemented in another branch or I should use some other command) to get this to work?
Best regards,
Per