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

add build preferences to .Rproj file (because it insists) #93

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

cjyetman
Copy link
Member

@cjyetman cjyetman commented Feb 8, 2024

Because a DESCRIPTION file has been added to this repo, RStudio seems to insist on adding these build preferences to the .Rproj file. As far as I know, they are meaningless and won't cause any problems in this context, so I'm allowing them rather than constantly fighting them to keep my git history clean.

Copy link
Member

@jdhoffa jdhoffa left a comment

Choose a reason for hiding this comment

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

Not going to open this can of worms again, but of the reason that I usually ignore .Rproj XD

Copy link
Collaborator

@AlexAxthelm AlexAxthelm left a comment

Choose a reason for hiding this comment

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

I also never use .Rproj files. Do we need to keep the file in repo at all?

@cjyetman
Copy link
Member Author

cjyetman commented Feb 8, 2024

I prefer them in the repos I maintain because I develop almost exclusively in RStudio and they define/enforce a number of worthwhile editor preferences.

@cjyetman cjyetman merged commit 5801f95 into main Feb 8, 2024
2 checks passed
@cjyetman cjyetman deleted the add-rproj-build-prefs branch February 8, 2024 15:50
cjyetman added a commit to RMI-PACTA/workflow.transition.monitor that referenced this pull request Feb 23, 2024
As with RMI-PACTA/workflow.data.preparation#93
and RMI-PACTA/workflow.data.preparation#117,
having a `DESCRIPTION` file in the repo causes RStudio to add/modify
`.Rbuildignore` and `workflow.transition.monitor.Rproj`. This PR
appeases RStudio so we don't fight against it
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.

3 participants