Skip to content

Conversation

jimhester
Copy link

@jimhester jimhester commented Jul 17, 2018

Sorry for the huge diff, I added snap as a git subtree with

git subtree add --squash --prefix=src/snap [email protected]:snap-stanford/snap.git master

You can update it at a later date with

git subtree pull --squash --prefix=src/snap [email protected]:snap-stanford/snap.git master

This puts the entire source tree in the package, in this case we really only need the snap-core and glib-core directories and top-level makefiles, so you could add the rest to .Rbuildignore if you would like.

Rather than putting the sources in inst/ I put them as a subdirectory of src/, the former is only really useful if you are trying to expose the snap headers to other packages.

Anyway hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant