R support?
Searching around the Appveyor site and google, I haven't seen any examples of building R libraries. Is there R language support? If not, any plans to do so? If it helps, here is a project bring support to Travis-CI for R https://github.com/craigcitro/r-travis - but of course there is no Windows build support on Travis :(
Thanks! Scott
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 28 Feb, 2014 05:56 PM
Hi Scott,
Is it this one: http://cran.rstudio.com/?
What else should be installed besides the main package?
Do you have any sample app/project to test the installation?
2 Posted by Scott Chamberla... on 28 Feb, 2014 06:22 PM
Hi. Yes, that is where you get R. I was testing with this R library on Github https://github.com/ropensci/rnoaa on Appveyor, but no luck yet. I put a appveyor.yml file in the repo in the root dir. I copied text from another project on Github as I wasn't sure what exactly to put in the appveyor.yml file. This particular R library required GDAL (http://www.gdal.org/), so it will likely error on testing without that, but would still be good to see if we can get it building at all.
Unfortunately, I don't know much about Windows. I wonder if all you need is the R exe?
Thanks! Scott
Support Staff 3 Posted by Feodor Fitsner on 28 Feb, 2014 06:35 PM
OK, thanks! I will look into it to see if this could be easily installed on build servers.
4 Posted by Scott Chamberla... on 28 Feb, 2014 08:56 PM
There's another repo you could try: https://github.com/ropensci/alm Which doesn't rely on GDAL, should work more easily. I added a yaml file in that repo too.
In addition, the builds probably need to install dependencies on the library being built. For example, this travis yaml file gives instructions to travis to install dependencies, which takes the code from the
r-travis
repo hereThe instructions for checking/testing proper installation of an R package in the
r-travis
library are here, basically requiresR CMD BUILD <libraryname> <options>
, thenR CMD CHECK <filecreatedin R CMD BUILD> <options>
Support Staff 5 Posted by Feodor Fitsner on 01 Mar, 2014 02:41 AM
OK, thanks!
6 Posted by Kirill Müller on 06 Aug, 2014 07:40 PM
I have managed to install R and Rtools, and to run
R CMD build
andR CMD check
, in an AppVeyor test: https://github.com/krlmlr/r-appveyor. It's pre-alpha now, but I'll be working on it so that it actually can be used for testing and building R packages on Windows.7 Posted by Scott Chamberla... on 06 Aug, 2014 07:45 PM
Kirill - That's awesome. I'll head over to your repo...
Scott
8 Posted by Kirill Müller on 09 Aug, 2014 09:05 AM
I think the project is now in a quite stable state -- there's some documentation, too ;-) Does it work for you?
-Kirill
9 Posted by Scott Chamberla... on 09 Aug, 2014 03:00 PM
Kirill - Tried it again with your updated script. Worked great. https://github.com/ropensci/alm/tree/dev
thanks for working on this, Scott
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:47 AM.