tibble icon indicating copy to clipboard operation
tibble copied to clipboard

tibble 3.2.1 testing fails on Windows R-4.3.2

Open olathan opened this issue 9 months ago • 12 comments

I have problems to run the testing of tibble 3.2.1 on R-4.3.2 in a Windows environment (knitr is installed in version 1.45).

The following test in the script "test-vignette-formats.R" fails:

test_that("formats vignette", {
  skip_if_not_installed("knitr", "1.34.2")

  # Fails on Linux
  test_galley("formats")
})
== Failed tests ================================================================
-- Error ('test-vignette-formats.R:5:3'): formats vignette ---------------------
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `value[[3L]](cond)`:
! Could not find a root 'DESCRIPTION' file that starts with '^Package' in '...\tibble-tests\testthat'.

After copying the tibble 'DESCRIPTION' from

"...\R-4.3.2\library\tibble\DESCRIPTION"

to the testthat directory

"...\R-4.3.2\library\tibble\tests\testthat\DESCRIPTION"

I got this fail:

== Failed tests ================================================================
-- Error ('test-vignette-formats.R:5:3'): formats vignette ---------------------
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `abs_path(input)`:
! The file '' does not exist.
Backtrace:
    x
 1. \-tibble:::test_galley("formats") at test-vignette-formats.R:5:3
 2.   \-tibble:::render_galley(rmd_name, md_name)
 3.     \-base::tryCatch(...)
 4.       \-base (local) tryCatchList(expr, classes, parentenv, handlers)
 5.         \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 6.           \-value[[3L]](cond)

olathan avatar May 06 '24 13:05 olathan