You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
He did warn me that this will not pass CRAN checks however.
This is awesome!
After quickly asking on #R, people there agreed that first doing it this way and just publishing it on github would be a nice start, then later on I could rewrite the C source code so that the R functions can use .C() directly.
I've built this locally and it works great! Will see when/if I can put it in a separate branch on github.
I've added a valid (new default) output = "source" option. If it cannot find the executable it will fall back to the slow implementation. Had to rewrite some of the tests but was pretty smooth!
Stephen Meyers suggested a simple way of using
He did warn me that this will not pass CRAN checks however.
This is awesome!
After quickly asking on #R, people there agreed that first doing it this way and just publishing it on github would be a nice start, then later on I could rewrite the C source code so that the R functions can use
.C()
directly.I've built this locally and it works great! Will see when/if I can put it in a separate branch on github.
I've added a valid (new default)
output = "source"
option. If it cannot find the executable it will fall back to the slow implementation. Had to rewrite some of the tests but was pretty smooth!Following what aitap told me on #R and https://cran.r-project.org/doc/manuals/R-exts.html#Package-subdirectories
src/
directorysrc/Makefile
that builds it to snvec.x, makes it executable, then moves it toinst/
src/install.libs.R
that autmatically should copy the prebuilt files to the correct foldersystem.file()
to find where the newly compiledsnvec.x
is locatedsystem2()
.Also tried if Windows will play nice with it via
devtools::check_win_devel()
. It doesn't seem to source the Makefile.Up next:
The text was updated successfully, but these errors were encountered: