Skip to content

Warning on saveRDS of qenv object #194

Open
@pawelru

Description

@pawelru

I was having issues with shinytest2 and I narrowed this to the following reprex:

library(teal.code)
qenv() |> saveRDS(tempfile())
#> Warning in saveRDS(qenv(), tempfile()): 'package:teal.code' may not be
#> available when loading

Created on 2024-01-23 with reprex v2.1.0

Not digging into why one might want to call saveRDS() (in my case it's out of my control) - is there a way to avoid this warning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions