-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create R package #131
Comments
See this discussion of submodules. There is also a lot of criticism of submodules out there. |
For Windows compilation, need to find out if we can cross-compile using Rtools |
Quick update I have been able to make a small toy package that converts files, it though still depends on the libvol2bird.so file, lets see if i can include the source |
I just got a version working where the library is compiled directly into the r package. It might still be a challenge to get it cran compatible but it works well. I will upload it later today |
Here is a quick mockup: https://github.com/bart1/Rvol2bird it is only tested on linux, and mostlikely does not directly compile on other OS's. Currently copies of the required libraries are included (no git subtrees). So it does not follow changes in the libaries |
Asked Simon Urbanek about proj4 header files in s-u/proj4#6 proj4 C library not available via proj4 package |
See adokter/bioRad#385 and https://docs.ropensci.org/rnoaa/ to read NOAA data into R directly. Unfortunately NEXRAD level2 and level3 data are currently not supported |
adokter/bioRad#156 requires compilation of vol2bird within R, instead of accessing it through Docker.
To keep code bases separate, I suggest making an R-package for vol2bird that will be a dependency to bioRad (instead of integrating vol2bird C-code itself into bioRad)
R documentation for how to include external code:
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Non_002dR-scripts-in-packages
Hadley Wickham's tutorial on compiled code:
http://r-pkgs.had.co.nz/src.html
Examples of R packages based on C/C++ code:
Required steps:
args="--recursive"
instead of install_github.nm
The text was updated successfully, but these errors were encountered: