Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchang committed Aug 14, 2018
1 parent ad7449b commit 9eb6ba4
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 12 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
^\.travis\.yml$
^.*\.Rproj$
^\.Rproj\.user$
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

language: R
sudo: false
cache: packages
22 changes: 13 additions & 9 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
Package: fishtree
Type: Package
Title: The R Interface to the Fish Tree of Life API
Title: Interface to the Fish Tree of Life API
Version: 0.1.0
Authors@R: as.person(c(
"Jonathan Chang <jonathan.chang@ucla.edu> [aut, cre]",
"Stephen A Smith <eebsmith@umich.edu> [ctb]",
"Daniel L Rabosky <drabosky@umich.edu> [ctb]",
"Michael E Alfaro <michaelalfaro@ucla.edu> [ctb]"
))
Description: Interfaces with the Fish Tree ofe Life API. Download taxonomies,
Authors@R: c(
person("Jonathan", "Chang", role = c("aut", "cre"),
email = "jonathan.chang@ucla.edu",
comment = c("ORCID" = "0000-0002-3811-1254")),
person("Michael E", "Alfaro", role = "ctb"),
person("Daniel L", "Rabosky", role = "ctb"),
person("Stephen A", "Smith", role = "ctb")
)
Description: An interface to the Fish Tree of Life API to download taxonomies,
phylogenies, fossil calibrations, and diversification rate information.
License: BSD_2_clause + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.1.0
URL: https://fishtreeoflife.org/
BugReports: https://github.com/jonchang/fishtree/issues
Imports:
Depends:
R (>= 3.4.0)
Imports:
ape,
rlang,
jsonlite,
Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# fishtree

The goal of `fishtree` is to provide an easy interface to the Fish Tree of Life API.

## Installation

You can install the released version of fishtree from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("fishtree")
```

## Example

``` r
library(fishtree)
library(ape)
phy <- fishtree_phylogeny("Acanthuridae")
branchin.times(phy)
```

2 changes: 1 addition & 1 deletion man/fishtree_alignment.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fishtree_phylogeny.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fishtree_taxonomy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9eb6ba4

Please sign in to comment.