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

check_cran(): use check_r_cmd() instead of R() #205

Merged
merged 3 commits into from
Dec 11, 2012

Conversation

wch
Copy link
Member

@wch wch commented Dec 11, 2012

The purpose of this series of commits its to make it possible for check_cran to use the internal check_r_cmd function, so that it's easier to use the same framework for setting environment variables related to R CMD check. This will be useful for simulating CRAN more closely.

Notes:

  • The reason for calling check_r_cmd instead of check is that check uses stuff related to the package object, whereas check_r_cmd does not. (Actually, check_r_cmd did get the name from the package object, but that wasn't necessary so I took it out.)
  • check_r_cmd now gets the name of the package from the name of the input tar file.
  • check_r_cmd now can take an argument for the destination directory.

@hadley
Copy link
Member

hadley commented Dec 11, 2012

Looks good.

wch added a commit that referenced this pull request Dec 11, 2012
check_cran(): use check_r_cmd() instead of R()
@wch wch merged commit 4663654 into r-lib:master Dec 11, 2012
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.

2 participants