[Bioc-devel] Writing examples for accessing web API

Welliton Souza well309 at gmail.com
Tue Mar 7 20:35:06 CET 2017


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 <road2stat at gmail.com> escreveu:

> - 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 <well309 at gmail.com> wrote:
>
> 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
> resources to cover, the package takes some time to run all examples.
>
> Welliton
>
>
> Em ter, 7 de mar de 2017 16:03, Sean Davis <seandavi at gmail.com> escreveu:
>
> 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 <well309 at gmail.com> wrote:
>
> 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 and processing response data.
>
> Best regards,
> Welliton Souza
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
>
>
>
> --
> https://nanx.me
>

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list