Skip to content

Commit d4317a9

Browse files
jchiquetclaude
andcommitted
Homogenize repository configuration
- sync the common .gitignore base (computorg/.github gitignore/computo.gitignore) - version renv auto-loaders (.Rprofile, renv/activate.R), as recommended by renv Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 32743f8 commit d4317a9

5 files changed

Lines changed: 1530 additions & 39 deletions

File tree

‎.Rprofile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
source("renv/activate.R")

‎.gitignore‎

Lines changed: 65 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,74 @@
1-
# R and co
2-
.Rhistory
3-
.Rprofile
4-
.Rapp.history
5-
.RData
6-
.Ruserdata
7-
*.Rproj
8-
.Rproj.user
9-
.Rproj.user/
10-
/*.Rcheck/
11-
renv/
12-
13-
# Python and co
14-
_environment
15-
/.micromamba/
16-
/.joblib
17-
/.pytest_cache/
18-
19-
# Quarto tmp files
20-
/.quarto/
21-
/*_files
22-
/*_cache
23-
/_freeze
24-
_site/
25-
/cache/
1+
# >>> computorg base (managed by tools-automation/sync-gitignore.py, do not edit) >>>
2+
# Common base for Computo article and template repositories.
3+
# Synced into each repository's .gitignore between the "computorg base" markers;
4+
# add repository-specific entries below the closing marker.
265

27-
# Quarto extension files
28-
_extensions/
29-
logo_text_white.pdf
30-
logo_notext_white.png
6+
# Quarto
7+
.quarto/
8+
/_site/
9+
/_freeze/
10+
**/*.quarto_ipynb
11+
.luarc.json
3112

32-
# Quarto output files
33-
main.html
34-
main.pdf
35-
main.ipynb
36-
main.tex
13+
# Computo extension: installed on the fly by CI, never versioned
14+
/_extensions/
15+
/logo_text_white.pdf
16+
/logo_notext_white.png
3717

38-
# Latex compilation files
18+
# Rendered outputs of the source documents (main.qmd, README.qmd, template-computo-*.qmd)
19+
/main.html
20+
/main.pdf
21+
/main.tex
22+
/main.ipynb
23+
/main_files/
24+
/main_cache/
25+
/README.html
26+
/README_files/
27+
/template-computo-*.html
28+
/template-computo-*.pdf
29+
/template-computo-*.tex
30+
/template-computo-*.ipynb
31+
/template-computo-*_files/
32+
/template-computo-*_cache/
33+
# legacy source documents named after the repository
34+
/published-*.html
35+
/published-*.pdf
36+
/published-*.tex
37+
/published-*.ipynb
38+
/published-*_files/
39+
/published-*_cache/
3940
*.aux
4041
*.log
4142
*.toc
4243

43-
# Various system files
44-
DS_Store
45-
/.luarc.json
44+
# R
45+
.Rhistory
46+
.Rapp.history
47+
.RData
48+
.Ruserdata
49+
.Rproj.user/
50+
*.Rproj
51+
*.Rcheck/
52+
_environment
53+
# renv: .Rprofile, renv.lock and renv/{activate.R,settings.json,.gitignore} ARE versioned;
54+
# the package library and renv working directories are not (also excluded by renv/.gitignore)
55+
renv/library/
56+
renv/local/
57+
renv/cellar/
58+
renv/lock/
59+
renv/python/
60+
renv/sandbox/
61+
renv/staging/
4662

63+
# Python
64+
__pycache__/
65+
.pytest_cache/
66+
.micromamba/
67+
.joblib
68+
.venv/
4769

48-
**/*.quarto_ipynb
70+
# Misc
71+
cache/
72+
.DS_Store
73+
.claude/
74+
# <<< computorg base <<<

‎renv/.gitignore‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
library/
2+
local/
3+
cellar/
4+
lock/
5+
python/
6+
sandbox/
7+
staging/

0 commit comments

Comments
 (0)