File: test_call_wd.R

package info (click to toggle)
r-cran-tinytest 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,072 kB
  • sloc: sh: 14; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
# Only test at home, because R CMD check uses different working directories and
# who knows what happens at CRAN.
if( at_home() ){
  expect_false(getwd() == get_call_wd())
}