Is it possible to set a flag in the R CMD build ... command which specifies the destination folder for the tar.gz file?
I have looked pretty closely at the R CMD --help and cannot see it – but i may be missing something.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The normal way to do this would be to
cdto the destination folder and runR CMD build foofrom there. E.g. sources are in~/pkgsrcs/fooand you wanttar.gzto be in~/pkgbuild/foothen:will result in
foo_version.tar.gzin~/pkgsrcs/foo.