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
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
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:
>
- 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
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
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
Hi,
I am developing a package that access web API endpoints. I wrote the
examples within \dontrun{} due to internet connection requirements.
However, the BiocCheck reports that I should provide at least 80 % of
running examples. What I should do? The package is mainly focused on
accessing web API