Skip to content

Comments

Do not use init file in Rscript commands#18

Open
fleimgruber wants to merge 1 commit intorichfitz:masterfrom
fleimgruber:master
Open

Do not use init file in Rscript commands#18
fleimgruber wants to merge 1 commit intorichfitz:masterfrom
fleimgruber:master

Conversation

@fleimgruber
Copy link

This is so that settings in init files, e.g. locale settings or options() calls do not garble Rscript return values

@richfitz
Copy link
Owner

Thanks for this! Rscript never manages to cause random headaches, and that one (output emitted from init files) has messed up package compilation before.

Unfortunately it looks like that messes up packrat: https://travis-ci.org/richfitz/wood/jobs/27453198#L1601-L1604

Perhaps --no-user-file is more appropriate here? That might still run into the same problem.

@fleimgruber
Copy link
Author

Yeah, just saw the Travis CI log. From first sight it looks like sowsear lib is used before being correctly installed. I just toyed with packrat before, no clue why that's messing it up - it definitely should not. I do not have time to look into --no-user-file right now, but as you said, I would assume this to fail similarly. Will check back after more testing (time).

@fleimgruber
Copy link
Author

Finally found the time to try it out once more. It turns out your hunch was correct. Good to merge?

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