pkglite

Compact Package Representations

https://github.com/merck/pkglite

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.8%) to scientific vocabulary

Keywords

clinical-trials ectd package packaging-tool pharmaverse r
Last synced: 6 months ago · JSON representation ·

Repository

Compact Package Representations

Basic Info
Statistics
  • Stars: 29
  • Watchers: 8
  • Forks: 4
  • Open Issues: 5
  • Releases: 7
Topics
clinical-trials ectd package packaging-tool pharmaverse r
Created almost 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License Citation

README.md

pkglite

R-CMD-check Codecov test coverage CRAN status CRAN Downloads <!-- badges: end -->

A tool, grammar, and standard to represent and exchange R package source code as text files. Converts one or more source packages to a text file and restores the package structures from the file.

  • To get started, see vignette("pkglite").
  • To generate file specifications, see vignette("filespec").
  • To curate file collections, see vignette("filecollection").
  • The text file format is described in vignette("format").

Installation

You can install the package via CRAN:

r install.packages("pkglite")

Or, install from GitHub:

r remotes::install_github("Merck/pkglite")

Workflow

r library("pkglite")

Pack one R package:

r "/path/to/package/" %>% collate(file_default()) %>% pack()

Pack multiple R packages:

r pack( "/path/to/pkg1/" %>% collate(file_default()), "/path/to/pkg2/" %>% collate(file_default()), output = "/path/to/pkglite.txt" )

Unpack one or more packages:

r "/path/to/pkglite.txt" %>% unpack(output = "/path/to/output/")

Citation

If you use this software, please cite it as below.

Zhao, Y., Xiao, N., Anderson, K., & Zhang, Y. (2023). Electronic common technical document submission with analysis using R. Clinical Trials, 20(1), 89--92. https://doi.org/10.1177/17407745221123244

A BibTeX entry for LaTeX users is

bibtex @article{zhao2023electronic, title = {Electronic common technical document submission with analysis using {R}}, author = {Zhao, Yujie and Xiao, Nan and Anderson, Keaven and Zhang, Yilong}, journal = {Clinical Trials}, volume = {20}, number = {1}, pages = {89--92}, year = {2023}, doi = {10.1177/17407745221123244} }

Owner

  • Name: Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc.
  • Login: Merck
  • Kind: organization
  • Location: Kenilworth, NJ

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Xiao"
  given-names: "Nan"
  orcid: "https://orcid.org/0000-0002-0250-5673"
- family-names: "Zhang"
  given-names: "Yilong"
- family-names: "Anderson"
  given-names: "Keaven"
title: "pkglite: Compact Package Representations"
version: 0.2.1
date-released: 2021-03-08
url: "https://github.com/Merck/pkglite"
preferred-citation:
  type: article
  authors:
  - family-names: "Zhao"
    given-names: "Yujie"
    orcid: "https://orcid.org/0000-0003-2896-4955"
  - family-names: "Xiao"
    given-names: "Nan"
    orcid: "https://orcid.org/0000-0002-0250-5673"
  - family-names: "Anderson"
    given-names: "Keaven"
  - family-names: "Zhang"
    given-names: "Yilong"
  title: "Electronic common technical document submission with analysis using R"
  journal: "Clinical Trials"
  year: 2023
  volume: 20
  issue: 1
  start: 89
  end: 92
  doi: "10.1177/17407745221123244"

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 2
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 5
  • Pull request review event: 2
  • Pull request event: 4
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 2
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 5
  • Pull request review event: 2
  • Pull request event: 4

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 105
  • Total Committers: 6
  • Avg Commits per committer: 17.5
  • Development Distribution Score (DDS): 0.086
Past Year
  • Commits: 21
  • Committers: 1
  • Avg Commits per committer: 21.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Nan Xiao me@n****e 96
Amin Shirazi a****i@m****m 3
turnbach m****h@m****m 2
Fu Danfeng 9****u 2
Yilong Zhang y****g@m****m 1
Shirazi s****m@c****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 39
  • Total pull requests: 20
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 1 day
  • Total issue authors: 5
  • Total pull request authors: 3
  • Average comments per issue: 1.28
  • Average comments per pull request: 0.35
  • Merged pull requests: 20
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 8
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 8 hours
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nanxstats (28)
  • elong0527 (7)
  • SHAESEN2 (3)
  • ggrothendieck (1)
  • jhk0530 (1)
Pull Request Authors
  • nanxstats (27)
  • ashirazist (2)
  • elong0527 (1)
Top Labels
Issue Labels
enhancement (14) documentation (3) release (3) testing (3) bug (3) cran (2) wontfix (1)
Pull Request Labels
documentation (4) enhancement (2) chore (2)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 725 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 2
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: pkglite

Compact Package Representations

  • Versions: 6
  • Dependent Packages: 1
  • Dependent Repositories: 2
  • Downloads: 725 Last month
Rankings
Stargazers count: 10.2%
Forks count: 12.2%
Average: 18.0%
Dependent repos count: 19.3%
Downloads: 19.6%
Dependent packages count: 28.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • crayon * imports
  • magrittr * imports
  • remotes * imports
  • covr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
inst/examples/pkg1/DESCRIPTION cran
  • R >= 3.5.0 depends
  • knitr * suggests
  • rmarkdown * suggests
inst/examples/pkg2/DESCRIPTION cran
  • R >= 3.5.0 depends
  • knitr * suggests
  • rmarkdown * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite