Failing build for Github repo ukbtools.
The test, in tests/testthat/test-dataset.R
, accesses data from inst/extdata
with system.file
and passes the returned path to a package function:
path_to_example_data <- system.file("extdata", package = "ukbtools")
ukbtools::ukb_df_field("ukbxxxx", path = path_to_example_data)
ukbtools::ukb_df_field
calls xml2::read_html.default(file.path(path, "ukbxxxx.html"))
which generates an invalid path on Travis CI (trusty/ xenial).
‘/home/travis/build/kenhanscombe/ukbtools/ukbtools.Rcheck/ukbtools/extdata/ukbxxxx.html’ does not exist.
The same test passess locally, sessionInfo
R version 3.6.3 (2020-02-29)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6