Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Working directory when preparing package for testing in test() #640
When testing a package using
Test package: https://github.com/krlmlr/test.getwd
EDIT: It's the same with
Is this by design? Otherwise I'd like to take a look at this, so that the CWD is always the package's root.
This is important when the package wants to access stuff in
pushed a commit
Nov 7, 2014
@hadley: Thanks --
@wch: No, CWD is package root when running those tests.
Code is explicitly loaded with
@gaborcsardi: Thanks, didn't know that. This function expects an object named