Skip to content

Recent Breaking Changes in s.label? #15

@neellab-umd

Description

@neellab-umd

I have been working with the MEM vignette that includes several plots made with s.label. All of a sudden those plots are throwing errors. s.label was working as expected as of yesterday (12/19/2023) before I updated to the new version of RStudio ('Ocean Storm" SHA-256: 96A34972 Version: 2023.12.0+369 Released: 2023-12-15). I am using
R version 4.3.2 (2023-10-31 ucrt) -- "Eye Holes" on Windows: x86_64-w64-mingw32/x64 (64-bit)

I get the issues using code from your s.label.R script in your test folder when I run R in the new RStudio.

x0 <- runif(50, -2, 2)
y0 <- runif(50, -2, 2)
z <- x0 ^ 2 + y0 ^ 2
dfxy1 <- data.frame(x0, y0)
g1 <- s.label(dfxy1, label = as.character(z < 1), paxes.draw = TRUE, axis.text = list(col = "grey"))

Error in s.label(dfxy1, label = as.character(z < 1), paxes.draw = TRUE, :
unused arguments (paxes.draw = TRUE, axis.text = list(col = "grey"))

But it runs as expected if I use R outside of RStudio. So it seems that changes in RStudio did something to break s.label.

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