[R-pkg-devel] R package fails examples and tests on Windows i386

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Mon Dec 30 13:58:24 CET 2019


My guess is that you have nmot properly closed open connections?

Best,
Uwe Ligges



On 29.12.2019 05:30, Artem Klevtsov wrote:
> Hello,
> 
> The package is R bindings of the uap-cpp library using Rcpp. Package also includes re2 and yaml-cpp libs (included in the source tree and built with Makevars).
> 
> I tried test the package on Linux and Windows. I faced with errors on i386 on the AppVeyor. The same with rhub and win-builder. I don't understand what going on because output of the failed and success examples/test are the same. How can I found the reason and fix it?
> 
> R code to test package:
> 
> remotes::install_gitlab("artemklevtsov/uaparser")
> library(uaparser)
> # user agent strings
> ua <- c(
>    "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0",
>    "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0",
>    "Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0)",
>    "curl/7.10.6 (i386-redhat-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4",
>    "Googlebot/2.1 (+http://www.google.com/bot.html)"
> )
> # parse all fields
> parse_user_agent(ua)
> # parse os information
> parse_os(ua)
> # get device information
> parse_device(ua)
> # parse browser information
> parse_browser(ua)
> # get device type
> parse_device_type(ua)
> 
> References:
> 
> - Package source code: https://gitlab.com/artemklevtsov/uaparser
> - Latest AppVeyor build log: https://ci.appveyor.com/project/artemklevtsov/uaparser/build/job/ajofdjiy5exvocq7
> - Latest AppVeyor build artifacts: https://ci.appveyor.com/api/buildjobs/ajofdjiy5exvocq7/artifacts/failure.zip
>



More information about the R-package-devel mailing list