Farbfetzen / fractalplotr

Make beautiful fractals with R
Other
0 stars 0 forks source link

testing and argument checking #7

Closed Farbfetzen closed 5 years ago

Farbfetzen commented 5 years ago

Write the package in R 3.5 so I can use the better version of stopifnot() with the exprs argument. Test not only if the functions produce the correct output but also if they throw errors for bad input when necessary. Only test for bad input in exported functions the user can see.

Farbfetzen commented 5 years ago

Additionally, decide on one form of input to support. Don't maintain different options if there is no strong reason for it. This reduces the time and effort necessary for development and testing.