Skip to content

shinycoreci tests fail on Windows Server 2022 with pak for specific R versions #762

@karangattu

Description

@karangattu

We are using shinycoreci for automated Shiny application testing across multiple platforms:

  • Windows Server 2022
  • Ubuntu
  • macOS

While tests pass on Ubuntu and macOS, we are encountering failures on Windows Server 2022 for some R versions. These failures seem linked to using pak for package installation/building. Other R versions on Windows using pak are succeeding.

  • 4.4.3 ✅
  • 4.3.3 ✅
  • 4.2.3 ❌
  • 4.1.3 ❌
  • 4.0.5 ❌

The ones that fail complain with an error that is really hard to pinpoint the source of the error -

> Will download 1 CRAN package (22.31 MB).
+ shinycoreci   0.0.0.9009 [bld][dl] (22.31 MB)
i Getting 1 pkg (22.31 MB)
v Cached copy of shinycoreci 0.0.0.9009 (source) is the latest build
i Building shinycoreci 0.0.0.9009
x Failed to build shinycoreci 0.0.0.9009 (173ms)
Error : ! in callr subprocess.
Caused by error: 
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package shinycoreci.
Full installation output:
##[debug]Skipping logging an issue for the matched line because the message is empty.
Error in rawToChar(block[seq_len(ns)]) : 
  embedded nul in string: 'PK\003\004\n\0\0\0\0\0��\210Z\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0shinycoreci/PK\003\004\n\0\0\0\0\0��\210Z\0\0\0\0\0\0\0\0\0\0\0\0\021\0\0\0shinycoreci/apps/PK\003\004\n\0\0\0\0\0�'
[2/162; 32s; 43m] 000-manual
Installing packages: shiny, shinycoreci, shinytest2, bslib, fontawesome, htmltools, httpuv, later, promises, sass, cachem, fastmap, chromote, websocket
libpath: C:\Users\runneradmin\AppData\Local\R\shinycoreci\R-4_0_5

Link to the failing build

cc: @schloerke

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions