Closed sjp closed 10 years ago
Thanks for the tips and reviews Simon!
fetchR
(unlike Rome) was built in a day so there are a few concepts I am not too happy with either like having the plotting within the same calculation function - as you point out. I'll take these considerations on board and once again thanks heaps for your contributions!
Hi Blake -- another package another pull request.
Aside from adding in the usual Travis CI support, I've ensured that the fetchR now passes the package checker. In the process I've dropped the dependency on
rgeos
, as it didn't seem to be used at all.I've also had a go had a code review. Mostly this involved the following:
min()
andmax()
calls)dev.hold()
anddev.flush()
to speed up plot drawing -- it's probably fast enough anyway.isTRUE()
. I've added anNA
check prior to this so we can safely useif (plot)
for example.anyNA()
, should be faster, but mostly it's just easier to read.These changes have not been tested by myself so I can't guarantee whether they work, but they are at least syntactically correct.
A few nit-picky thoughts as an aside:
data()
. I am guessing you want to keep the data internal to the package (reasonable).Congrats on yet another package! Keep up the good work!