Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed 2 minor typos in tt.r example #86

Merged
merged 1 commit into from
Jun 28, 2021

Conversation

aaronwolen
Copy link
Contributor

No description provided.

tt.r -p testpkg # test the (installed) package 'testpkg'
tt.r -n 1 -p testpkg # test (installed) package 'testpkg' in serial mode
tt.r # run test_all() iff DESCRIPTION && inst/tinytest/
tt.r # run test_all() if DESCRIPTION && inst/tinytest/
Copy link
Owner

@eddelbuettel eddelbuettel Jun 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's on purpose: "if and only if" (both conditions are met). But I guess it's not as a clear as I hope it would be :/

@@ -40,10 +40,10 @@ if (opt$usage) {
Examples:
tt.r -a # test 'all files' from current directory
tt.r -f testfile.R # test the file 'testfile.R'
tt.t -d testdir # test all files in the directory 'testdir'
tt.r -d testdir # test all files in the directory 'testdir'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops.

Copy link
Owner

@eddelbuettel eddelbuettel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that

@eddelbuettel eddelbuettel merged commit fa62dc7 into eddelbuettel:master Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants