Displaying 1 result from an estimated 1 matches for "some_file_in_mypackage".
2009 Dec 09
0
What is the development cycle where there are code in tests/ for package development?
...in
'mypackage' -> modify the code in 'mypackage' -> install
'mypackage'->try test cases in tests again....
But I think it would faster if the step of installing the package is
avoid. So instead of using 'library(mypackage)', I'd think to use
'source(some_file_in_mypackage.R)' in any file in tests/. Could
somebody let me know what is the current standard way of developing
package. Why 'library(mypackage)' rather than
'source(some_file_in_mypackage.R)' is used?