insightsengineering / insightsengineering/teal.code
Warning on saveRDS of qenv object
Open
core
- Dominant language
- R
- Stars
- 12
- Forks
- 11
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
I was having issues with shinytest2 and I narrowed this to the following reprex:
``` r
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](https://reprex.tidyverse.org)
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?
Contributor guide
Assessment
This issue has not been assessed yet.