8000 Skip on Emscripten (WebR) · Issue #2076 · r-lib/testthat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Skip on Emscripten (WebR) #2076
Open
Open
@eitsupi

Description

@eitsupi

Currently skip_on_os() only supports Windows, Linux, macOS, and Solaris.

testthat/R/skip.R

Lines 155 to 160 in 30f5b11

skip_on_os <- function(os, arch = NULL) {
os <- match.arg(
os,
choices = c("windows", "mac", "linux", "solaris"),
several.ok = TRUE
)

The OS is Emscripten in R builds for WASM such as WebR and xeus-r distributed on Emscripten-forge.

> Sys.info()[["sysname"]]
[1] "Emscripten"

Since testthat seems to work on WebR, it would be useful if skip_on_os() could also recognize Emscripten.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0