ropensci / neotoma

Programmatic R interface to the Neotoma Paleoecological Database.
https://docs.ropensci.org/neotoma
Other
30 stars 16 forks source link

Use inherits() to ascertain class information #154

Closed gavinsimpson closed 10 years ago

gavinsimpson commented 10 years ago

This series of commits changes functions to use inherits(foo, "class") instead of class(foo) == "class" or similar constructs.

(I also removed a couple of return()s)

The changes look more extensive that they are as my editor has a different indent width than Simon's and I streamlined the code a little as I was editing.

gavinsimpson commented 10 years ago

The failure after a6c404c is the same failure of example("get_download") on Windows. The changes in this PR are now OK.