A belated thanks for this update. Martin
On 03/08/2017 09:53 AM, Welliton Souza wrote:
Martin,
I am using the "Template for Resource Queries"
(http://bioconductor.org/developers/how-to/web-query/). I think the
correct is:
while (N.TRIES > 0L) { # line 5
instead of
while (N.TRIES >= 0L) { #
Martin,
I am using the "Template for Resource Queries" (
http://bioconductor.org/developers/how-to/web-query/). I think the correct
is:
while (N.TRIES > 0L) { # line 5
instead of
while (N.TRIES >= 0L) { # line 5
Because it will run twice when N.TRIES = 1L. At the end of the loop N.TRIES
should
Thank you Martin for the response, it was very helpful.
I am facing difficulties to write code examples, unit tests and vignettes
for accessing web APIs. I understand that the use of \dontrun{} is not the
best solution for examples. I am using testthat::skip_on_bioc() to avoid
time consuming and i
On 03/07/2017 02:35 PM, Welliton Souza wrote:
Thank you Nan Xiao, I think it is a good solution for my case. I will put
the definition of host outside the \dontrun{}.
Actually, generally, one doesn't want to work around tests with hacks,
but either (a) address the underlying problem or (b) jus
Thank you Nan Xiao, I think it is a good solution for my case. I will put
the definition of host outside the \dontrun{}.
Welliton
Em ter, 7 de mar de 2017 16:27, Nan Xiao escreveu:
> - this check can be bypassed by
> writing "partially working" examples,
> for instance:
>
> #' token = "foo"
> #
- this check can be bypassed by
writing "partially working" examples,
for instance:
#' token = "foo"
#' \dontrun{
#' api(..., token)}
Best,
-Nan
On Tue, Mar 7, 2017 at 2:13 PM, Welliton Souza wrote:
> Hi Sean,
>
> It doesn't require authentication. I've been using this server (
> http://1kgeno
Hi Sean,
It doesn't require authentication. I've been using this server (
http://1kgenomes.ga4gh.org) to provide working examples and do unit tests
but I am not responsible for this server. However the package was developed
to access any server endpoint that use the same API. There are many web
re
Hi, Welliton.
Great question. Just out of curiosity, what are the internet connection
requirements that preclude running examples? Is authentication required?
Or are you connecting to a server that runs only intermittently?
Sean
On Tue, Mar 7, 2017 at 1:57 PM, Welliton Souza wrote:
> Hi,
>