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

Removing renv #15

Merged
merged 2 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .Rprofile

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ jobs:
with:
r-version: 'release'
use-public-rspm: true
# - uses: r-lib/actions/setup-renv@v2
- uses: pre-commit/[email protected]
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ repos:
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: renv/activate.R
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
Expand Down
4 changes: 0 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"r.alwaysUseActiveTerminal": true,
"r.bracketedPaste": true,
"r.rpath.mac": "/opt/homebrew/bin/R",
"r.useRenvLibPath": true,
"r.workspaceViewer.clearPrompt": false,
"r.rterm.mac": "radian",
"r.libPaths": [
"/Users/dorme/Research/Virtual_Rainforest/ve_data_science/renv/library/macos/R-4.4/aarch64-apple-darwin23.6.0 "
]
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ As a brief overview, this involves setting up the following tools:
tools.
* **Poetry**. This is a Python package manager that we use to manage a shared set of
Python packages used across the project.
* **R**. We will be using R extensively for analysis and data visualisation.
* **renv**. This is an R package manager that, like `poetry`, is being used to manage
the shared set of R packages used across the project.
* **R**. We will be using R extensively for analysis and data visualisation. At the
moment, we are managing package use and versioning with a simple list of packages.
This is currently very light touch and we may use something stricter in the future.
* **pre-commit**. This is a QA tool - we have a set of configured checks that run
whenever you try and `git commit` some changes to the repo. If the changes fail any of
the checks, then you will have to fix them and try again. Sometimes, the QA checks can
Expand Down
11 changes: 11 additions & 0 deletions r_requirements.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This file is used to record R packages used by the project.
#
# We did look at using `renv` to manage this automatically but it added a layer of
# complexity and unexpected issues and workflow problems and so we have dropped it for
# now.

# This is required for R support in VSCode
library(languageserver)

# This is required to use R with Jupyter
library(IRkernel)
2,337 changes: 0 additions & 2,337 deletions renv.lock

This file was deleted.

7 changes: 0 additions & 7 deletions renv/.gitignore

This file was deleted.

Loading