fauxpas 0.2.0
CRAN release: 2018-03-01
NEW FEATURES
- New function
find_error_class()
for a user to get aHTTP*
class object with just the status code (#10) - Added a vignette (#4)
- Added an additional object type that fauxpas responds to: the
Response
from thewebmockr
package and theVcrResponse
from thevcr
package (#9)
MINOR IMPROVEMENTS
-
behavior_type
variable in theError
class object is now a private variable, and can be set with a new method$set_behavior()
(#7) - For
http*()
S3 list methods added additional checks for response objects fromcurl
package that are simple lists, so are challenging to verify (#5) - Added tests for all
http*
methods via a generator (#11)
BUG FIXES
- Fixed
message_template
behavior, see above related comment about new message template param (#8)