File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11Package: standartox
2- Version: 0.0.1.9001
3- Date: 2021-10-02
2+ Version: 0.0.1.9002
3+ Date: 2021-10-04
44Title: Ecotoxicological Information from the Standartox Database
55Authors@R: c(
66 person("Andreas", "Scharmüller",
Original file line number Diff line number Diff line change @@ -334,10 +334,13 @@ stx_meta = function(vers = NULL) {
334334# '
335335stx_availability = function (res ,
336336 http_codes = c(200 , 400 )) {
337- if (inherits(res , ' try-error' ) || ! httr :: status_code(res ) %in% http_codes ) {
338- msg = '
339- The standartox web service seems currently unavailable. Please try again after some time. Should it still not work then, please file an issue here:
340- https://github.com/andschar/standartox/issues'
337+ if (inherits(res , ' try-error' ) ||
338+ ! httr :: status_code(res ) %in% http_codes ) {
339+ msg = paste0(
340+ ' The standartox web service seems currently unavailable.
341+ Please try again after some time. Should it still not work then, please file an issue here:
342+ https://github.com/andschar/standartox/issues
343+ Error code: ' , res )
341344 stop(msg )
342345 }
343346}
You can’t perform that action at this time.
0 commit comments