Skip to content

by should support logical types #505

@TCornulier

Description

@TCornulier

Hi,
some unexpected behaviour, to me:

dat<- data.frame(y= 1:3, x= 1:3, yesno= c(T, F, T))
tinyplot(y ~ x | yesno, data= dat, cex= 3, pch= 16)

Gives the wrong labels in the legend.
Is this a bug?

sessionInfo()

R version 4.5.1 (2025-06-13 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)

Matrix products: default
LAPACK version 3.12.1

locale:
[1] LC_COLLATE=English_United Kingdom.utf8 LC_CTYPE=English_United Kingdom.utf8
[3] LC_MONETARY=English_United Kingdom.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.utf8

time zone: Europe/London
tzcode source: internal

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] tinyplot_0.5.0

loaded via a namespace (and not attached):
[1] compiler_4.5.1 tools_4.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions