RepositoryRUSUnited States
nanxstats

nanxstats/liftr

🐳 Containerize R Markdown documents for continuous reproducibility

173stars
20forks
14issues
1views

🐳 liftr: Đóng gói R Markdown trong Docker để báo cáo luôn tái lập trình

liftr kéo dài định dạng metadata của R Markdown, dùng Docker đóng gói và render tài liệu — giữ cho báo cáo thống kê tái tạo được bất kể môi trường.

liftr là một gói R do nanxstats phát triển, giải quyết bài toán báo cáo tái lập trình kéo dài (persistent reproducible reporting). Thay vì chỉ render một lần, liftr gói toàn bộ môi trường R Markdown — bao gồm phiên bản R, thư viện, system dependencies — vào một container Docker. Kết quả: bất kỳ ai, trên máy nào, chỉ cần có Docker, đều render được tài liệu với output nhất quán.

✨ Điểm nổi bật

  • Mở rộng metadata R Markdown: Thêm cấu hình Docker trực tiếp trong YAML header của .Rmd.
  • Tự động sinh Dockerfile: Sinh tự động từ thông tin metadata, không cần viết thủ công.
  • Hỗ trợ nhiều base images: Chọn phiên bản R và hệ điều hành phù hợp qua cấu hình.
  • Render trong container: Docker build + run để render tài liệu, đảm bảo môi trường đồng nhất.
  • Tích hợp với CI/CD: Dễ dàng thiết lập pipeline tái lập trình li contnuous trên GitHub Actions hoặc dịch vụ tương tự.
  • Lưu trữ và chia sẻ image: Đẩy image Docker lên registry để người khác tái hiện ngay.
  • Hỗ trợ knitr và tinythres:

💡 Vì sao đáng chú ý

Trong nghiên cứu thống kê và khoa học dữ liệu, "tái lập trình" thường chỉ là lý tưởng. liftr biến nó thành hiện thực bằng cách đóng gói toàn bộ ngữ cảnh thực thi — từ phiên bản R đến system libraries — vào Docker. Điều này đặc biệt quan trọng khi làm việc nhóm, nộp bài khoa học, hoặc xuất bản kết quả nghiên cứu mà yêu cầu người khác có thể tái tạo chính xác.

Không cần cài đặt R hay bất kỳ thư viện nào trên máy — chỉ cần Docker. liftr phù hợp cho các nhà thống kê, khoa học dữ liệu và nghiên cứu viên muốn chia sẻ báo cáo một cách bền vững và tái lập trình li.


#R #Docker #RMarkdown #ReproducibleResearch #StatisticalComputing #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryR
yihui/knitr

A general-purpose tool for dynamic report generation in R

2.5k
Oct 26, 2026
RepositoryR
swcarpentry/r-novice-inflammation

Programming with R

175
Oct 20, 2026
RepositoryR
ropensci/ezknitr

Avoid the typical working directory pain when using 'knitr'

113
Aug 20, 2023
RepositoryR
tjmahr/WrapRmd

RStudio addin for wrapping RMarkdown paragraphs

103
Mar 13, 2026
RepositoryPython
jupytext/jupytext

Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts

7.3k
Oct 21, 2026
RepositoryPython
IDSIA/sacred

Sacred is a tool to help you configure, organize, log and reproduce experiments developed at IDSIA.

4.4k
Oct 22, 2025
RepositoryHTML
crsh/papaja

papaja (Preparing APA Journal Articles) is an R package that provides document formats to produce complete APA manuscripts from RMarkdown-files (PDF and Word documents) and helper functions that facilitate reporting statistics, tables, and plots.

693
Sep 2, 2026
RepositoryTeX
showyourwork/showyourwork

A workflow for reproducible and open scientific articles

665
Oct 20, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
190.2M
Jun 1, 2026