Skip to content

Sourcing code blocks from an internal file #555

Discussion options

You must be logged in to vote

@mhuzzell - it's an interesting idea to do that. The simplest solution is to put it into the demo folder as you suggest. Alternatives include putting it into an inst folder - the contents of that folder get automatically installed with the packages, but can be hard to source those files correctly so don't worry if you find that too complex. The final(?) alternative is to write a function that returns the tree populations, which is handled just like all of the other functions you write in a package.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mhuzzell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants