[R-pkg-devel] HTTP status was '403 Forbidden' on function examples
Uwe Ligges
||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Wed Mar 20 13:58:06 CET 2019
It could be the server is blocked, either due to nationality or due to
too many requests to the service.
Anyyway, pls try to implement examples in a way they fail gracefully in
case the websevice is not reliable.
Best,
Uwe Ligges
On 20.03.2019 10:11, Emanuele Cordano wrote:
> Dear R-package-devel list,
>
> I just submitted an update of 'geotopbricks' on CRAN checks returns the
> following error (only Debian-dev).
>
> The example dataset files are available on line through an external URL
> that Debian-server cannot access and returns HTTP status 403 Forbidden
> (attached below the error message)
> I do not know the cause of this error and I kindly ask if this may depend
> on the server where the check is launched.
> The same check with other distributions (local Ubuntu 16.04 LTS
> distribution included) works successfully, downloading correctly example
> files from
> https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3/geotop.inpts
> .
> I thank you for any help or suggestion.
> Best
> Emanuele
>
>
>
> * checking examples ... ERROR
> Running examples in ‘geotopbricks-Ex.R’ failed
> The error most likely occurred in:
>
>> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
>> ### Name: create.geotop.inpts.keyword
>> ### Title: Creates an 'geotop.inpts' files the keyword and their values of
>> ### a date.frame like the one returned by
>> ### 'declared.geotop.inpts.keywords'
>> ### Aliases: create.geotop.inpts.keyword
>>
>> ### ** Examples
>>
>>
>> library(geotopbricks)
>>
>> #Simulation working path
>> wpath <- 'https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3'
>> df <- declared.geotop.inpts.keywords(wpath=wpath)
> Warning in file(con, "r") :
> cannot open URL
> 'https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3/geotop.inpts':
> HTTP status was '403 Forbidden'
> Error in file(con, "r") :
> cannot open the connection to
> 'https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3/geotop.inpts'
> Calls: declared.geotop.inpts.keywords -> <Anonymous> -> file
> Execution halted
>
>
>
More information about the R-package-devel
mailing list