
src_local errs with pkg/env
===========================

> src_df("base", new.env())
Warning: `src_local()` is deprecated as of dplyr 1.0.0.

Error: Exactly one of `pkg` and `env` must be non-NULL, not 2.

> src_df()
Warning: `src_local()` is deprecated as of dplyr 1.0.0.

Error: Exactly one of `pkg` and `env` must be non-NULL, not 0.


copy_to
=======

> env <- new.env(parent = emptyenv())
> env$x <- 1
> src_env <- src_df(env = env)
Warning: `src_local()` is deprecated as of dplyr 1.0.0.

> copy_to(src_env, tibble(x = 1), name = "x")
Error: object with `name` = `x` must not already exist, unless `overwrite` = TRUE.

