Skip to content
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

Load all packages in the setup chunk? #22

Open
rpruim opened this issue Jul 2, 2018 · 3 comments
Open

Load all packages in the setup chunk? #22

rpruim opened this issue Jul 2, 2018 · 3 comments

Comments

@rpruim
Copy link
Contributor

rpruim commented Jul 2, 2018

Advantages:

  • provides a manifest for the document (what do I need for this file?)
  • hides start up messaging elsewhere.
@bonnfire
Copy link
Collaborator

bonnfire commented Jul 2, 2018

Do you have a preference for require() or library()?

@nicholasjhorton
Copy link
Contributor

I'd suggest library(), to ensure that the compilation will fail if the packages aren't available.

My comments on the hardcopies include this, along with other suggestions.

@rpruim
Copy link
Contributor Author

rpruim commented Jul 2, 2018

Since this won't be seen, I'd say go with library() -- that way things will error out if a package is missing.

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

No branches or pull requests

3 participants