{"id":20690271,"url":"https://github.com/merck/pkglite","last_synced_at":"2025-08-27T13:21:27.620Z","repository":{"id":38320540,"uuid":"341974672","full_name":"Merck/pkglite","owner":"Merck","description":"Compact Package Representations","archived":false,"fork":false,"pushed_at":"2024-11-09T21:36:57.000Z","size":2115,"stargazers_count":29,"open_issues_count":5,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-23T10:02:05.365Z","etag":null,"topics":["clinical-trials","ectd","package","packaging-tool","pharmaverse","r"],"latest_commit_sha":null,"homepage":"https://merck.github.io/pkglite/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Merck.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-24T17:10:15.000Z","updated_at":"2025-02-07T01:12:42.000Z","dependencies_parsed_at":"2024-01-16T04:09:34.970Z","dependency_job_id":"9da9340a-8f8f-49ab-bbb4-760cb61cfc39","html_url":"https://github.com/Merck/pkglite","commit_stats":{"total_commits":105,"total_committers":6,"mean_commits":17.5,"dds":0.08571428571428574,"last_synced_commit":"a0264e484bd38034eaa7280dd94cd3ba51791187"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Merck/pkglite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merck%2Fpkglite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merck%2Fpkglite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merck%2Fpkglite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merck%2Fpkglite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Merck","download_url":"https://codeload.github.com/Merck/pkglite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merck%2Fpkglite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272335767,"owners_count":24916529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clinical-trials","ectd","package","packaging-tool","pharmaverse","r"],"created_at":"2024-11-16T23:12:28.656Z","updated_at":"2025-08-27T13:21:27.600Z","avatar_url":"https://github.com/Merck.png","language":"R","readme":"# pkglite \u003cimg src=\"man/figures/logo.png\" align=\"right\" width=\"120\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/Merck/pkglite/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Merck/pkglite/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/Merck/pkglite/branch/master/graph/badge.svg)](https://app.codecov.io/gh/Merck/pkglite?branch=master)\n[![CRAN status](https://www.r-pkg.org/badges/version/pkglite)](https://CRAN.R-project.org/package=pkglite)\n[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/pkglite)](https://CRAN.R-project.org/package=pkglite)\n\u003c!-- badges: end --\u003e\n\nA tool, grammar, and standard to represent and exchange\nR package source code as text files. Converts one or more source\npackages to a text file and restores the package structures from the file.\n\n- To get started, see `vignette(\"pkglite\")`.\n- To generate file specifications, see `vignette(\"filespec\")`.\n- To curate file collections, see `vignette(\"filecollection\")`.\n- The text file format is described in `vignette(\"format\")`.\n\n## Installation\n\nYou can install the package via CRAN:\n\n```r\ninstall.packages(\"pkglite\")\n```\n\nOr, install from GitHub:\n\n```r\nremotes::install_github(\"Merck/pkglite\")\n```\n\n## Workflow\n\n```r\nlibrary(\"pkglite\")\n```\n\nPack one R package:\n\n```r\n\"/path/to/package/\" %\u003e%\n  collate(file_default()) %\u003e%\n  pack()\n```\n\nPack multiple R packages:\n\n```r\npack(\n  \"/path/to/pkg1/\" %\u003e% collate(file_default()),\n  \"/path/to/pkg2/\" %\u003e% collate(file_default()),\n  output = \"/path/to/pkglite.txt\"\n)\n```\n\nUnpack one or more packages:\n\n```r\n\"/path/to/pkglite.txt\" %\u003e%\n  unpack(output = \"/path/to/output/\")\n```\n\n## Citation\n\nIf you use this software, please cite it as below.\n\n\u003e Zhao, Y., Xiao, N., Anderson, K., \u0026 Zhang, Y. (2023).\n\u003e Electronic common technical document submission with analysis using R.\n\u003e _Clinical Trials_, **20**(1), 89--92.\n\u003e https://doi.org/10.1177/17407745221123244\n\nA BibTeX entry for LaTeX users is\n\n```bibtex\n@article{zhao2023electronic,\n  title   = {Electronic common technical document submission with analysis using {R}},\n  author  = {Zhao, Yujie and Xiao, Nan and Anderson, Keaven and Zhang, Yilong},\n  journal = {Clinical Trials},\n  volume  = {20},\n  number  = {1},\n  pages   = {89--92},\n  year    = {2023},\n  doi     = {10.1177/17407745221123244}\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerck%2Fpkglite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerck%2Fpkglite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerck%2Fpkglite/lists"}