Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

webpack + npm + R = ❤️

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

JohnCoene/packer

Repository files navigation

LicenseGitHub tag (latest by date)R-CMD-checkCodecov test coverage

Website |Installation |Get Started |Book

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 runscaffold_* to set up the required basic structure.

packer::scaffold_input("<name_of_input>")

Once the scaffold laid down you can eitherbundle the JavaScript orwatch for changes as you develop it.

packer::bundle()

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

Install

Get the stable version from CRAN:

install.packages("packer")

Get the development version from Github withremotes.

# install.packages("remotes")remotes::install_github("JohnCoene/packer")

About

webpack + npm + R = ❤️

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Sponsor this project

 

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp