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 (17.0%) to scientific vocabulary
Keywords
htmlwidgets
js
r
shiny
vue
Last synced: 6 months ago
·
JSON representation
Repository
vue.js for R
Basic Info
- Host: GitHub
- Owner: vue-r
- License: other
- Language: R
- Default Branch: master
- Homepage: https://vue-r.github.io/vueR
- Size: 1.09 MB
Statistics
- Stars: 142
- Watchers: 9
- Forks: 14
- Open Issues: 7
- Releases: 6
Topics
htmlwidgets
js
r
shiny
vue
Created about 9 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
[](https://github.com/vue-r/vueR/actions)
[](https://CRAN.R-project.org/package=vueR)
[](https://github.com/vue-r/vueR/actions/workflows/R-CMD-check.yaml)
[Vue.js](https://vuejs.org) is a quiet, very popular JavaScript framework with an impressive set of features, a solid community, and MIT license. Don't tell anybody, but I think I might even like it better than React. With all this, Vue deserves its own set of helpers for `R`, just like [`d3r`](https://github.com/timelyportfolio/d3r) and [`reactR`](https://github.com/react-r/reactR).
`vueR` provides these helpers with its dependency function `html_dependency_vue()` and `htmlwidget` helper `vue()`.
### Installation
```
install.packages("vueR")
```
or for the latest if different from CRAN
```
remotes::install_github("vue-r/vueR")
```
### Example
We'll start with a recreation of the simple "Hello World" example from the Vue.js documentation. This is the hard way.
```{r eval=FALSE}
library(htmltools)
library(vueR)
browsable(
tagList(
html_dependency_vue(), # local and minimized by default
tags$div(id="app","{{message}}"),
tags$script(
"
var app = new Vue({
el: '#app',
data: {
message: 'Hello Vue!'
}
});
"
)
)
)
```
`vueR` gives us an `htmlwidget` that can ease the code burden from above.
```{r eval=FALSE}
library(vueR)
library(htmltools)
# recreate Hello Vue! example
browsable(
tagList(
tags$div(id="app", "{{message}}"),
vue(
list(
el = "#app",
data = list(
message = "Hello Vue!"
)
)
)
)
)
```
Also, please check out additional [examples](https://github.com/vue-r/vueR/tree/master/inst/examples) and [experiments](https://github.com/vue-r/vueR/tree/master/inst/experiments).
### Build/Update
`vueR` is now part of a Github organization, and hopefully will be backed with interest by more than one (me) developer. For most `vueR` users, this section will not apply, but I would like to document the build/update step for new versions of `Vue`. In [`getvue.R`](https://github.com/vue-r/vueR/blob/master/build/getvue.R), I created some functions for rapid download and deployment of new `Vue` versions. Running all of the code in `getvue.R` should update local minified and development versions of Vue and also update the version references in `vueR`.
### Code of Conduct
I would love for you to participate and help with `vueR`, but please note that this project is released with a [Contributor Code of Conduct](https://github.com/vue-r/vueR/blob/master/CONDUCT.md). By participating in this project you agree to abide by its terms.
Owner
- Name: vue-r
- Login: vue-r
- Kind: organization
- Repositories: 1
- Profile: https://github.com/vue-r
GitHub Events
Total
- Watch event: 3
Last Year
- Watch event: 3
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| timelyportfolio | k****l@t****m | 68 |
| seankross | s****0@g****m | 1 |
| Daniel Schildt | d****t@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 11
- Total pull requests: 3
- Average time to close issues: over 3 years
- Average time to close pull requests: 12 minutes
- Total issue authors: 7
- Total pull request authors: 3
- Average comments per issue: 4.27
- Average comments per pull request: 1.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 4.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- timelyportfolio (5)
- feddelegrand7 (1)
- mwhitaker (1)
- nezlicodes (1)
- yonicd (1)
- kaipingyang (1)
- TrantorM (1)
Pull Request Authors
- seankross (1)
- timelyportfolio (1)
- d2s (1)
Top Labels
Issue Labels
discussion (5)
enhancement (3)
question (1)
help wanted (1)
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- cran 243 last-month
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 14
- Total maintainers: 1
proxy.golang.org: github.com/vue-r/vueR
- Documentation: https://pkg.go.dev/github.com/vue-r/vueR#section-documentation
- License: other
-
Latest release: v0.6.0
published over 2 years ago
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced:
6 months ago
proxy.golang.org: github.com/vue-r/vuer
- Documentation: https://pkg.go.dev/github.com/vue-r/vuer#section-documentation
- License: other
-
Latest release: v0.6.0
published over 2 years ago
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced:
6 months ago
cran.r-project.org: vueR
'Vuejs' Helpers and 'Htmlwidget'
- Homepage: https://github.com/vue-r/vueR
- Documentation: http://cran.r-project.org/web/packages/vueR/vueR.pdf
- License: MIT + file LICENSE
-
Latest release: 0.6.0
published over 2 years ago
Rankings
Stargazers count: 3.2%
Forks count: 5.3%
Dependent packages count: 29.8%
Average: 32.1%
Dependent repos count: 35.5%
Downloads: 86.5%
Maintainers (1)
Last synced:
6 months ago
Dependencies
DESCRIPTION
cran
- htmltools * imports
- htmlwidgets >= 0.6.0 imports
- knitr * suggests
- rmarkdown * suggests
- shiny * suggests
- testthat * suggests
inst/www/vue/package.json
npm
- babel-core ^6.9.0 development
- babel-eslint ^7.1.0 development
- babel-helper-vue-jsx-merge-props ^2.0.2 development
- babel-loader ^6.2.4 development
- babel-plugin-coverage ^1.0.0 development
- babel-plugin-syntax-jsx ^6.18.0 development
- babel-plugin-transform-vue-jsx ^3.2.0 development
- babel-preset-es2015 ^6.9.0 development
- babel-preset-flow-vue ^1.0.0 development
- buble ^0.14.0 development
- chromedriver ^2.21.2 development
- codecov.io ^0.1.6 development
- cross-spawn ^5.0.1 development
- de-indent ^1.0.2 development
- es6-promise ^4.0.5 development
- eslint ^3.10.1 development
- eslint-config-vue ^2.0.1 development
- eslint-loader ^1.3.0 development
- eslint-plugin-flowtype ^2.16.0 development
- eslint-plugin-vue ^1.0.0 development
- flow-bin ^0.33.0 development
- he ^1.1.0 development
- http-server ^0.9.0 development
- jasmine ^2.5.2 development
- jasmine-core ^2.5.2 development
- karma ^1.1.0 development
- karma-chrome-launcher ^2.0.0 development
- karma-coverage ^1.0.0 development
- karma-firefox-launcher ^1.0.0 development
- karma-jasmine ^1.0.2 development
- karma-mocha-reporter ^2.0.4 development
- karma-phantomjs-launcher ^1.0.0 development
- karma-safari-launcher ^1.0.0 development
- karma-sauce-launcher ^1.0.0 development
- karma-sourcemap-loader ^0.3.0 development
- karma-webpack ^1.7.0 development
- lodash ^4.17.1 development
- nightwatch ^0.9.9 development
- nightwatch-helpers ^1.2.0 development
- phantomjs-prebuilt ^2.1.1 development
- rollup ^0.36.1 development
- rollup-plugin-alias ^1.2.0 development
- rollup-plugin-babel ^2.4.0 development
- rollup-plugin-buble ^0.14.0 development
- rollup-plugin-flow-no-whitespace ^1.0.0 development
- rollup-plugin-replace ^1.1.0 development
- rollup-watch ^2.5.0 development
- selenium-server 2.53.1 development
- typescript ^2.0.9 development
- uglify-js ^2.6.2 development
- webpack ^1.13.2 development
- weex-js-runtime ^0.17.0-alpha4 development
- weex-vdom-tester ^0.1.3 development
.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
inst/www/vue3/package.json
npm
- @vue/compiler-dom 3.2.26
- @vue/compiler-sfc 3.2.26
- @vue/runtime-dom 3.2.26
- @vue/server-renderer 3.2.26
- @vue/shared 3.2.26