packer

webpack + npm + R = ❤️

https://github.com/johncoene/packer

Science Score: 13.0%

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

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

Keywords

javascript r rstats webpack

Keywords from Contributors

shiny
Last synced: 6 months ago · JSON representation

Repository

webpack + npm + R = ❤️

Basic Info
Statistics
  • Stars: 150
  • Watchers: 5
  • Forks: 7
  • Open Issues: 10
  • Releases: 8
Topics
javascript r rstats webpack
Created over 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Funding License

README.md

![License](https://img.shields.io/badge/license-MIT-green?style=flat-square) ![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/JohnCoene/packer?label=latest&style=flat-square) [![R-CMD-check](https://github.com/JohnCoene/packer/workflows/R-CMD-check/badge.svg)](https://github.com/JohnCoene/packer/actions) [![Codecov test coverage](https://codecov.io/gh/JohnCoene/packer/branch/master/graph/badge.svg)](https://app.codecov.io/gh/JohnCoene/packer?branch=master) [Website](https://packer.john-coene.com/) | [Installation](https://packer.john-coene.com/#/guide/installation) | [Get Started](https://packer.john-coene.com/#/guide/getting-started) | [Book](https://book.javascript-for-r.com/webpack-intro.html) ## An opinionated framework for using JavaScript with R

At its core packer consists of functions to scaffold R packages powered by webpack and npm, these take the form of scaffolds which are built on top of packages. All of the scaffolds below thus need to be run from within an R package.

Things you can do with packer

  • Use npm packages with htmlwidgets
  • Create your shiny UI with the pug templating engine
  • Include React/Vue in you shiny application
  • Bundle JavaScript files for golem
  • Scope CSS selectors
  • Use Lit web components
  • And so much more...

Usage

Always start from an empty package and run scaffold_* to set up the required basic structure.

r packer::scaffold_input("<name_of_input>")

Once the scaffold laid down you can either bundle the JavaScript or watch for changes as you develop it.

r packer::bundle()

You can then document and install the package to try it out.

Install

Get the stable version from CRAN:

r install.packages("packer")

Get the development version from Github with remotes.

```r

install.packages("remotes")

remotes::install_github("JohnCoene/packer") ```

Owner

  • Name: John Coene
  • Login: JohnCoene
  • Kind: user
  • Location: Switzerland
  • Company: @devOpifex

R, Go, JavaScript, and other indoor stuff.

GitHub Events

Total
  • Issues event: 2
  • Watch event: 5
  • Issue comment event: 1
  • Fork event: 1
Last Year
  • Issues event: 2
  • Watch event: 5
  • Issue comment event: 1
  • Fork event: 1

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 437
  • Total Committers: 3
  • Avg Commits per committer: 145.667
  • Development Distribution Score (DDS): 0.041
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
JohnCoene j****p@g****m 419
DivadNojnarg d****n@y****m 17
Félix Luginbühl f****l@p****h 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 25
  • Total pull requests: 6
  • Average time to close issues: 9 days
  • Average time to close pull requests: 30 days
  • Total issue authors: 19
  • Total pull request authors: 4
  • Average comments per issue: 1.28
  • Average comments per pull request: 0.33
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 0
  • Average comments per issue: 0.67
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • JohnCoene (7)
  • asbates (1)
  • pvictor (1)
  • DivadNojnarg (1)
  • ajmoralesa (1)
  • stewartli (1)
  • etiennebacher (1)
  • angelorbastos (1)
  • qiushiyan (1)
  • armenic (1)
  • zac-garland (1)
  • JosiahParry (1)
  • nkbaim (1)
  • EkkoTheGekko (1)
  • shahreyar-abeer (1)
Pull Request Authors
  • JohnCoene (2)
  • DivadNojnarg (2)
  • jdlom (1)
  • lgnbhl (1)
Top Labels
Issue Labels
bug (2) feature (2) enhancement (2)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 490 last-month
  • Total dependent packages: 3
    (may contain duplicates)
  • Total dependent repositories: 9
    (may contain duplicates)
  • Total versions: 21
  • Total maintainers: 1
proxy.golang.org: github.com/JohnCoene/packer
  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.7%
Dependent repos count: 5.9%
Last synced: 6 months ago
proxy.golang.org: github.com/johncoene/packer
  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.7%
Dependent repos count: 5.9%
Last synced: 6 months ago
cran.r-project.org: packer

An Opinionated Framework for Using 'JavaScript'

  • Versions: 5
  • Dependent Packages: 3
  • Dependent Repositories: 9
  • Downloads: 490 Last month
Rankings
Stargazers count: 3.0%
Forks count: 9.6%
Dependent repos count: 9.8%
Dependent packages count: 10.9%
Average: 11.1%
Downloads: 22.4%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • assertthat * imports
  • cli * imports
  • fs * imports
  • htmlwidgets * imports
  • jsonlite * imports
  • roxygen2 * imports
  • rprojroot * imports
  • rstudioapi * imports
  • usethis * imports
  • covr * suggests
  • golem * suggests
  • testthat * suggests