NESCent / popgenInfo

Vignettes for Population Genetics in R
http://popgen.nescent.org
MIT License
21 stars 50 forks source link

Add DESCRIPTION file #123

Closed zkamvar closed 8 years ago

zkamvar commented 8 years ago

This allows the NESCent repository to be seen as a package so that all of the dependencies can be installed. Inspiration comes from https://github.com/hadley/ggplot2-book

This will allow the users to have a consistent environment:

install.packages("devtools", repos = "https://cran.r-project.org")
# devtools::install_github("NESCent/popgenInfo")
devtools::install_github("zkamvar/popgenInfo@as-package")
zkamvar commented 8 years ago

Note that this will effectively bring all packages up to date for the user as devtools updates outdated dependencies by default.

hlapp commented 8 years ago

Are there potential negative side effects of this too? Just for balance trying to come up with reasons as to why one would not want to do this. I can't come up with any, though, and not for lack of trying.

zkamvar commented 8 years ago

The only negative side effects I can think of is that it's one more list of packages to keep up-to-date. However, I don't see this as too much of an issue compared to the utility of having dependencies automatically installed.

zkamvar commented 8 years ago

I've made the changes. Ready to merge?