Skip to content

Commit fda9c58

Browse files
increment version, update NEWS, and prep for CRAN
1 parent bc70bd0 commit fda9c58

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: reactR
22
Type: Package
33
Title: React Helpers
4-
Version: 0.1.4
5-
Date: 2017-11-21
4+
Version: 0.2.0
5+
Date: 2018-02-20
66
Authors@R: c(
77
person(
88
"Facebook", "Inc"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
YEAR: 2017
1+
YEAR: 2018
22
COPYRIGHT HOLDER: Kent Russell

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# reactR 0.2.0
2+
3+
* Update react and react-dom to 16.2.0
4+
* Add core-js shim so that React will show up in RStudio Viewer
5+
16
# reactR 0.1.4
27

38
* Update react and react-dom to 16.1.1

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ devtools::install_github("timelyportfolio/reactR")
2020
library(reactR)
2121
library(htmltools)
2222

23-
browsable(attachDependencies(
23+
browsable(tagList(
2424
tags$script(
2525
"
2626
ReactDOM.render(
@@ -33,6 +33,8 @@ browsable(attachDependencies(
3333
)
3434
"
3535
),
36+
#add core-js first to work in RStudio Viewer
37+
html_dependency_corejs(),
3638
html_dependency_react()
3739
))
3840
```
@@ -44,10 +46,12 @@ library(reactR)
4446
library(htmltools)
4547

4648
browsable(
47-
attachDependencies(
49+
tagList(
4850
tags$script(
4951
babel_transform('ReactDOM.render(<h1>Powered By React/JSX</h1>,document.body)')
5052
),
53+
# add core-js shim first for React in RStudio Viewer
54+
html_dependency_corejs(),
5155
html_dependency_react()
5256
)
5357
)

cran-comments.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
## Comments
22

3-
**Resubmission**
4-
5-
1. Changed license to MIT to mirror change to MIT by Facebook/React
6-
2. "React" should now be all uppercase
7-
3. Do not want to add executable `babel_transform` example since many users do not use and do not want to have to install `V8`. Use of `V8` also makes testing difficult. However, it can be a very powerful tool when using with React, so I most definitely want to keep `babel_transform`.
3+
none
84

95
## Test environments
106
* local Windows 10 install, R 3.4.0

0 commit comments

Comments
 (0)