File: test_env.Rd

package info (click to toggle)
r-cran-testthat 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,452 kB
  • sloc: cpp: 9,261; ansic: 37; sh: 14; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/test-env.R
\name{test_env}
\alias{test_env}
\title{Generate default testing environment.}
\usage{
test_env(package = NULL)
}
\description{
We use a new environment which inherits from \code{\link[=globalenv]{globalenv()}} or a package
namespace. In an ideal world, we'd avoid putting the global environment on
the search path for tests, but it's not currently possible without losing
the ability to load packages in tests.
}
\keyword{internal}