Rvest is an R package that is need by other packages. Specially by tidyverse package, which is very widely used.

However, latest version 1.0.4, the package r-rvest does not pass the tests that the developer has prepared in R. This makes that other packages like r-tidyverse cannot be installed either.

Below the building log after failing "guix shell r-rvest" :

starting phase `separate-from-pid1'
build process now running as PID 18
phase `separate-from-pid1' succeeded after 0.0 seconds
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/hgwh7z21a7bh6js5g17hwjz5hzpx4wwd-r-minimal-4.5.0/bin:/gnu/store/x5nk7jclncdrrsjhpmjjfl2z9p36bxyw-tar-1.35/bin:/gnu/store/vcmbby8alqahhhd5qnidpf5pbvr102jl-gzip-1.14/bin:/gnu/store/j2bib9ysq7f3369gjg6hv1kp24g07472-bzip2-1.0.8/bin:/gnu/store/plifc9akxxfyjjbnh10dj350nxbhc399-file-5.46/bin:/gnu/store/d7q1jypzi0hjx0gf2034yzljvapy7fvy-diffutils-3.12/bin:/gnu/store/3yky2jh15qsknnxnzplhj4by14sqmfig-patch-2.7.6/bin:/gnu/store/nfs39m8hsbx905q5kgjiw1irfrllkk00-findutils-4.10.0/bin:/gnu/store/xmqvvby6vlmhbi3q913ck5marh6p86av-gawk-5.3.0/bin:/gnu/store/d4bzgx28m0640plahv0x3h5hxlh1npnj-zstd-1.5.6/bin:/gnu/store/5a3p82yj9nrj6rhk11f7b2sb84wirc2k-sed-4.9/bin:/gnu/store/1lkl6hik16bbhpjjsl825fivp2dsr9vi-grep-3.11/bin:/gnu/store/gd41pn8r5723cyd6d79q9riqjbi070zz-xz-5.4.5/bin:/gnu/store/pai3hvsiihllqi03b2198qi5qq9a28ga-coreutils-9.1/bin:/gnu/store/jkxm9drwlxkmb53zn1sd7w2wxdvpbj32-make-4.4.1/bin:/gnu/store/k66i68s5l93n1lgxp29vn2292nsywp1v-bash-minimal-5.2.37/bin:/gnu/store/pazcfyngzb35khc8ad33dmsb22ibnl80-ld-wrapper-0/bin:/gnu/store/c8mp7qq5az7cbnvmxgj2bjkscsf5h9ri-binutils-2.44/bin:/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0/bin:/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/bin:/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/sbin' environment variable `R_LIBS_SITE' set to `/gnu/store/jx5yj969k9wxsg8dzj4c450rzfb3qsmy-r-knitr-1.50/site-library/:/gnu/store/vn6545qcwrjcw8b1prrsry5z5yalw4fc-r-testthat-3.2.3/site-library/:/gnu/store/mc70zs6nvkk429n97gp7jqkxnwmx8a6p-r-cli-3.6.5/site-library/:/gnu/store/pibyfxd3cxwlkc4hpwpjv3shxlc81fbp-r-glue-1.8.0/site-library/:/gnu/store/8dbqbcpxvcazwk8ya5zvcjpc11xya9ps-r-httr-1.4.7/site-library/:/gnu/store/wxi9hzv0mx4n377pl09nzkqdyv92fbmv-r-lifecycle-1.0.4/site-library/:/gnu/store/5rhmgq5k4sxv80rwlbpzlwd99y3rf8fj-r-magrittr-2.0.3/site-library/:/gnu/store/dghqnil6xkj3dgcixh9jsq4s1v4ppy7d-r-rlang-1.1.6/site-library/:/gnu/store/hzbw2isqzc43yis1zfzcac5fja1qafnx-r-selectr-0.4-2/site-library/:/gnu/store/m7sgixl01qry0jwnl344hgakxd0m7cfa-r-tibble-3.2.1/site-library/:/gnu/store/jy7j1dwknxbjvdb9jh9bn9v81qlk5fyp-r-xml2-1.4.0/site-library/:/gnu/store/c6m91zxnnmmsidbnbrxxxs6dbgnq3h12-r-yaml-2.3.10/site-library/:/gnu/store/cwydvvya675a211b3p2xz43dqdr4sq3q-r-xfun-0.52/site-library/:/gnu/store/ih70hhbjx0c6g6k7phcvgg81pzplvyk8-r-highr-0.11/site-library/:/gnu/store/3p5fa5p8prvkv2a1zslm7yxchsmbikrg-r-evaluate-1.0.3/site-library/:/gnu/store/n7qpq5b8x1wi686l3js3b3hy0ynry4c6-r-withr-3.0.2/site-library/:/gnu/store/4p2zj7xf0zhd8209qd2pa6prlgi6qv86-r-waldo-0.6.1/site-library/:/gnu/store/jcxvaswr4fss1hyslb5736fa562j1ipv-r-r6-2.6.1/site-library/:/gnu/store/c31qwxxc2b2x0715b4248f0n2raa321m-r-ps-1.9.1/site-library/:/gnu/store/g74rx66gjf99g4a4kld8lxlhmdj53xyf-r-processx-3.8.6/site-library/:/gnu/store/8wp1a0iy04bwx8kxk20kkaharjcafsi9-r-praise-1.0.0/site-library/:/gnu/store/brqkwcyjl7q9hn7mmsdwr122ym6q9yf0-r-pkgload-1.4.0/site-library/:/gnu/store/vvsq95mwdmbx0q9wh2mxqfvs562jvzkp-r-jsonlite-2.0.0/site-library/:/gnu/store/iazcf15bmmrczraja7l309zfla6gw254-r-digest-0.6.37/site-library/:/gnu/store/18h4qbw17v6i5rq7adg3s3xxc27y7v93-r-desc-1.4.3/site-library/:/gnu/store/x9slwi6wnc2y13mqbl7qy22lkkcbqf5y-r-callr-3.7.6/site-library/:/gnu/store/283apig4r4bid9flr55d6lhqw6ljmcgl-r-brio-1.1.5/site-library/:/gnu/store/zl20rqhr1f5v43w4g6a6ixgg08fbv5z0-r-openssl-2.3.3/site-library/:/gnu/store/h4bxbaymnsxmqfi5fm5ji7ckh61zcr8x-r-mime-0.13/site-library/:/gnu/store/b5ijhl0jvilrd07i5qv6dxv9jwkqdqr1-r-curl-6.2.3/site-library/:/gnu/store/igsjva2vflfzcj39cxbl1m7n50yhv876-r-stringr-1.5.1/site-library/:/gnu/store/fnr0bpf9c72yqbq5bqczbw1b8w1imlha-r-vctrs-0.6.5/site-library/:/gnu/store/hal4n1572ap48q2jpzrihpbfahhm9xfz-r-pkgconfig-2.0.3/site-library/:/gnu/store/an0f9m89a11jwqyhxy64h7phfsfhcgkh-r-pillar-1.10.2/site-library/:/gnu/store/mb8lfq1sqiq83j72a84hkzrw1y7lwgq9-r-fansi-1.0.6/site-library/:/gnu/store/dbm1dj9myr92jjb82wxcsicp2x45rz2z-r-diffobj-0.3.6/site-library/:/gnu/store/g6y6x8ybpdfiamg7725b66n5fqp7n0wg-r-rprojroot-2.0.4/site-library/:/gnu/store/zymm5qqlj4vmjarimda9jlnd3528f8l2-r-pkgbuild-1.4.8/site-library/:/gnu/store/62fh337l29zhl3agxw8sq9yvzv3dhpzb-r-fs-1.6.6/site-library/:/gnu/store/1x5f09w0wgkmj6rgr3aaqqm5hwn0qwbh-r-askpass-1.2.1/site-library/:/gnu/store/rna7nbq7svqsba4f8lcdz0dhh20svjmr-r-stringi-1.8.7/site-library/:/gnu/store/cxya0fh7x3g37vm6ndva75smgj4cg5jn-r-utf8-1.2.5/site-library/:/gnu/store/grdlabrmwzm0251sgaycqnmvwv6xy5zs-r-crayon-1.5.3/site-library/:/gnu/store/q373lcsj467z888pzca3gncjz12ijy18-r-sys-3.4.3/site-library/'
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/j2bib9ysq7f3369gjg6hv1kp24g07472-bzip2-1.0.8/include:/gnu/store/plifc9akxxfyjjbnh10dj350nxbhc399-file-5.46/include:/gnu/store/xmqvvby6vlmhbi3q913ck5marh6p86av-gawk-5.3.0/include:/gnu/store/gd41pn8r5723cyd6d79q9riqjbi070zz-xz-5.4.5/include:/gnu/store/jkxm9drwlxkmb53zn1sd7w2wxdvpbj32-make-4.4.1/include:/gnu/store/c8mp7qq5az7cbnvmxgj2bjkscsf5h9ri-binutils-2.44/include:/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0/include:/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/include:/gnu/store/90qwxdmdw7jdf0dkkgdgxln6b5a57kzx-linux-libre-headers-6.12.17/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/j2bib9ysq7f3369gjg6hv1kp24g07472-bzip2-1.0.8/include:/gnu/store/plifc9akxxfyjjbnh10dj350nxbhc399-file-5.46/include:/gnu/store/xmqvvby6vlmhbi3q913ck5marh6p86av-gawk-5.3.0/include:/gnu/store/gd41pn8r5723cyd6d79q9riqjbi070zz-xz-5.4.5/include:/gnu/store/jkxm9drwlxkmb53zn1sd7w2wxdvpbj32-make-4.4.1/include:/gnu/store/c8mp7qq5az7cbnvmxgj2bjkscsf5h9ri-binutils-2.44/include:/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0/include/c++:/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0/include:/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/include:/gnu/store/90qwxdmdw7jdf0dkkgdgxln6b5a57kzx-linux-libre-headers-6.12.17/include' environment variable `OBJC_INCLUDE_PATH' set to `/gnu/store/j2bib9ysq7f3369gjg6hv1kp24g07472-bzip2-1.0.8/include:/gnu/store/plifc9akxxfyjjbnh10dj350nxbhc399-file-5.46/include:/gnu/store/xmqvvby6vlmhbi3q913ck5marh6p86av-gawk-5.3.0/include:/gnu/store/gd41pn8r5723cyd6d79q9riqjbi070zz-xz-5.4.5/include:/gnu/store/jkxm9drwlxkmb53zn1sd7w2wxdvpbj32-make-4.4.1/include:/gnu/store/c8mp7qq5az7cbnvmxgj2bjkscsf5h9ri-binutils-2.44/include:/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0/include:/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/include:/gnu/store/90qwxdmdw7jdf0dkkgdgxln6b5a57kzx-linux-libre-headers-6.12.17/include' environment variable `OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/j2bib9ysq7f3369gjg6hv1kp24g07472-bzip2-1.0.8/include:/gnu/store/plifc9akxxfyjjbnh10dj350nxbhc399-file-5.46/include:/gnu/store/xmqvvby6vlmhbi3q913ck5marh6p86av-gawk-5.3.0/include:/gnu/store/gd41pn8r5723cyd6d79q9riqjbi070zz-xz-5.4.5/include:/gnu/store/jkxm9drwlxkmb53zn1sd7w2wxdvpbj32-make-4.4.1/include:/gnu/store/c8mp7qq5az7cbnvmxgj2bjkscsf5h9ri-binutils-2.44/include:/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0/include/c++:/gnu/store/wssvk5s5akbx78kx92bdkirrry87jvbj-gcc-14.3.0/include:/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/include:/gnu/store/90qwxdmdw7jdf0dkkgdgxln6b5a57kzx-linux-libre-headers-6.12.17/include' environment variable `LIBRARY_PATH' set to `/gnu/store/hgwh7z21a7bh6js5g17hwjz5hzpx4wwd-r-minimal-4.5.0/lib:/gnu/store/j2bib9ysq7f3369gjg6hv1kp24g07472-bzip2-1.0.8/lib:/gnu/store/plifc9akxxfyjjbnh10dj350nxbhc399-file-5.46/lib:/gnu/store/xmqvvby6vlmhbi3q913ck5marh6p86av-gawk-5.3.0/lib:/gnu/store/gd41pn8r5723cyd6d79q9riqjbi070zz-xz-5.4.5/lib:/gnu/store/c8mp7qq5az7cbnvmxgj2bjkscsf5h9ri-binutils-2.44/lib:/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/lib:/gnu/store/q1s19kv8bdq9ssfdgznzgkmfmj90vdfd-glibc-2.41-static/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/yj053cys0724p7vs9kir808x7fivz17m-glibc-2.41/lib/locale'
environment variable `TZDIR' unset
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'C.UTF-8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
rvest/
rvest/NAMESPACE
rvest/demo/
rvest/demo/united.R
rvest/demo/zillow.R
rvest/demo/00Index
rvest/demo/tripadvisor.R
rvest/LICENSE
rvest/README.md
rvest/man/
rvest/man/html_text.Rd
rvest/man/google_form.Rd
rvest/man/html_form.Rd
rvest/man/rename.Rd
rvest/man/read_html_live.Rd
rvest/man/minimal_html.Rd
rvest/man/html_name.Rd
rvest/man/html_attr.Rd
rvest/man/html_table.Rd
rvest/man/html_element.Rd
rvest/man/repair_encoding.Rd
rvest/man/rvest-package.Rd
rvest/man/figures/
rvest/man/figures/lifecycle-defunct.svg
rvest/man/figures/lifecycle-maturing.svg
rvest/man/figures/logo.png
rvest/man/figures/lifecycle-archived.svg
rvest/man/figures/lifecycle-soft-deprecated.svg
rvest/man/figures/lifecycle-questioning.svg
rvest/man/figures/lifecycle-superseded.svg
rvest/man/figures/lifecycle-stable.svg
rvest/man/figures/lifecycle-experimental.svg
rvest/man/figures/lifecycle-deprecated.svg
rvest/man/reexports.Rd
rvest/man/LiveHTML.Rd
rvest/man/read_html.Rd
rvest/man/session.Rd
rvest/man/html_encoding_guess.Rd
rvest/man/html_children.Rd
rvest/DESCRIPTION
rvest/build/
rvest/build/vignette.rds
rvest/tests/
rvest/tests/spelling.R
rvest/tests/testthat/
rvest/tests/testthat/test-table.R
rvest/tests/testthat/test.html
rvest/tests/testthat/test-session.R
rvest/tests/testthat/html/
rvest/tests/testthat/html/click.html
rvest/tests/testthat/html/table.html
rvest/tests/testthat/html/scroll.html
rvest/tests/testthat/html/press.html
rvest/tests/testthat/html/type.html
rvest/tests/testthat/html/bullets.html
rvest/tests/testthat/test-form.R
rvest/tests/testthat/test-live.R
rvest/tests/testthat/test-selectors.R
rvest/tests/testthat/test-encoding.R
rvest/tests/testthat/helper.R
rvest/tests/testthat/test-text.R
rvest/tests/testthat/_snaps/
rvest/tests/testthat/_snaps/form.md
rvest/tests/testthat/_snaps/table.md
rvest/tests/testthat/_snaps/session.md
rvest/tests/testthat/_snaps/selectors.md
rvest/tests/testthat/_snaps/rename.md
rvest/tests/testthat/_snaps/encoding.md
rvest/tests/testthat/_snaps/html.md
rvest/tests/testthat/_snaps/utils.md
rvest/tests/testthat/_snaps/live.md
rvest/tests/testthat/test-html.R
rvest/tests/testthat/test-utils.R
rvest/tests/testthat/test-rename.R
rvest/tests/testthat.R
rvest/vignettes/
rvest/vignettes/rvest.Rmd
rvest/vignettes/starwars.Rmd
rvest/R/
rvest/R/sysdata.rda
rvest/R/utils.R
rvest/R/zzz.R
rvest/R/table.R
rvest/R/selectors.R
rvest/R/rename.R
rvest/R/rvest-package.R
rvest/R/import-standalone-types-check.R
rvest/R/text.R
rvest/R/session.R
rvest/R/encoding.R
rvest/R/form.R
rvest/R/html.R
rvest/R/import-standalone-obj-type.R
rvest/R/compat-purrr.R
rvest/R/live.R
rvest/NEWS.md
rvest/MD5
rvest/inst/
rvest/inst/doc/
rvest/inst/doc/rvest.Rmd
rvest/inst/doc/rvest.html
rvest/inst/doc/starwars.html
rvest/inst/doc/starwars.R
rvest/inst/doc/starwars.Rmd
rvest/inst/doc/rvest.R
rvest/inst/html-ex/
rvest/inst/html-ex/bad-encoding.html
rvest/inst/WORDLIST
phase `unpack' succeeded after 0.0 seconds
starting phase `disable-bad-tests'
phase `disable-bad-tests' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `install'
* installing *source* package ‘rvest’ ...
** this is package ‘rvest’ version ‘1.0.4’
files ‘tests/testthat/test-rename.R’, ‘tests/testthat/test-session.R’ are missing
** using staged installation
** R
** demo
** inst
** tests
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rvest)
phase `install' succeeded after 5.7 seconds
starting phase `check'
Running specific tests for package ‘rvest’
  Running ‘spelling.R’
  Running ‘testthat.R’
Error: running the tests in ‘testthat.R’ failed

Tests failed, dumping logs.

--- ./rvest-tests/testthat.Rout.fail ----------------------------------------


R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: x86_64-unknown-linux-gnu

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(rvest)
>
> test_check("rvest")
Starting 2 test processes
[ FAIL 3 | WARN 0 | SKIP 35 | PASS 80 ]

══ Skipped tests (35) ══════════════════════════════════════════════════════════
• {webfakes} is not installed (1): 'test-form.R:204:3'
• currently broken (2): 'test-encoding.R:2:3', 'test-encoding.R:14:3'
• On CRAN (32): 'test-html.R:16:3', 'test-live.R:2:3', 'test-live.R:9:3',
  'test-live.R:26:3', 'test-live.R:34:3', 'test-live.R:43:3',
  'test-live.R:54:3', 'test-live.R:73:3', 'test-live.R:81:3',
  'test-live.R:95:3', 'test-form.R:29:3', 'test-form.R:76:3',
  'test-form.R:85:3', 'test-form.R:107:3', 'test-form.R:119:3',
  'test-form.R:144:3', 'test-form.R:177:3', 'test-selectors.R:63:3',
  'test-utils.R:7:3', 'test-table.R:11:3', 'test-table.R:40:3',
  'test-table.R:55:3', 'test-table.R:69:3', 'test-table.R:84:3',
  'test-table.R:100:3', 'test-table.R:115:3', 'test-table.R:128:3',
  'test-table.R:175:3', 'test-table.R:186:3', 'test-table.R:196:3',
  'test-table.R:202:3', 'test-table.R:208:3'

══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-form.R:44:3'): select options are named character vector ─────── Error in `UseMethod("html_form")`: no applicable method for 'html_form' applied to an object of class "xml_missing"
Backtrace:
    ▆
 1. ├─select %>% html_element("form") %>% html_form() at test-form.R:44:3
 2. └─rvest::html_form(.)
── Failure ('test-form.R:57:3'): select values are inherited from names ────────
opts$options (`actual`) not equal to c(x = "1", y = "y") (`expected`).

`names(actual)`:
`names(expected)`: "x" "y"

`actual`:
`expected`: "1" "y"
── Error ('test-form.R:67:3'): parse_fields gets the button ──────────────────── Error in `UseMethod("html_form")`: no applicable method for 'html_form' applied to an object of class "xml_missing"
Backtrace:
    ▆
 1. ├─select %>% html_element("form") %>% html_form() at test-form.R:67:3
 2. └─rvest::html_form(.)

[ FAIL 3 | WARN 0 | SKIP 35 | PASS 80 ]
Deleting unused snapshots:
• rename.md
• session.md
Error: Test failures
Execution halted

error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "R" arguments: ("quit(status=tools::testInstalledPackage(\"rvest\", lib.loc = \"/gnu/store/qpl126pdp13sxghb5dm7hqm0fyk59zvn-r-rvest-1.0.4/site-library/\", errorsAreFatal=TRUE, types=c(\"tests\", \"vignettes\")))" "--no-save" "--slave") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 6.0 seconds
command "R" "quit(status=tools::testInstalledPackage(\"rvest\", lib.loc = \"/gnu/store/qpl126pdp13sxghb5dm7hqm0fyk59zvn-r-rvest-1.0.4/site-library/\", errorsAreFatal=TRUE, types=c(\"tests\", \"vignettes\")))" "--no-save" "--slave" failed with status 1
build process 18 exited with status 256



  • bug#79638: r-rvest does not pass the tests Javier Vaquero Martínez

Reply via email to