Skip to content

Commit 4c6bb3a

Browse files
committed
UPDATE
1 parent 91b6754 commit 4c6bb3a

File tree

6 files changed

+40
-5
lines changed

6 files changed

+40
-5
lines changed

.Renviron

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
_R_CHECK_FORCE_SUGGESTS_=false
1+
_R_CHECK_FORCE_SUGGESTS_=TRUE

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ files/directories
1010
^tmp.*
1111
vignettes/vignettes/inst
1212
classifier
13+
/R/note.R

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Suggests:
3636
purrr,
3737
jsonlite,
3838
ggplot2,
39+
plotly,
3940
testthat (>= 3.0.0)
4041
RoxygenNote: 7.3.2
4142
VignetteBuilder: knitr, rmarkdown

README.Rmd

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ knitr::opts_chunk$set(
2525

2626
```{r include=FALSE}
2727
library(reticulate)
28-
library(flaiR)
28+
# library(flaiR)
2929
reticulate::py_install("flair")
3030
system(paste(reticulate::py_config()$python, "-m pip install flair"))
3131
# options(repos = c(CRAN = "https://cloud.r-project.org/"))
@@ -75,8 +75,17 @@ __flaiR__ runs the Flair NLP backend in Python, thus requiring Python installati
7575

7676
<br>
7777

78+
79+
7880
</div>
7981

82+
## Updates and News
83+
84+
- [Tutorial for embeddings in flaiR](https://davidycliao.github.io/flaiR/articles/tutorial.html#embedding)
85+
86+
87+
<br>
88+
8089

8190
## Contribution and Open Source
8291

@@ -93,6 +102,3 @@ The primary communication channel for R users can be found [here](https://github
93102
<br>
94103

95104

96-
97-
98-

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ remotes::install_github("davidycliao/flaiR", force = TRUE)
3838

3939
``` r
4040
library(flaiR)
41+
#> flaiR: An R Wrapper for Accessing Flair NLP 0.14.0
4142
```
4243

4344
<br>
@@ -71,6 +72,13 @@ these specific versions.
7172

7273
</div>
7374

75+
## Updates and News
76+
77+
- [Tutorial for embeddings in
78+
flaiR](https://davidycliao.github.io/flaiR/articles/tutorial.html#embedding)
79+
80+
<br>
81+
7482
## Contribution and Open Source
7583

7684
<div style="text-align: justify">

vignettes/test.Rmd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "R Notebook"
3+
output: html_notebook
4+
---
5+
6+
This is an [R Markdown](http://rmarkdown.rstudio.com) Notebook. When you execute code within the notebook, the results appear beneath the code.
7+
8+
Try executing this chunk by clicking the *Run* button within the chunk or by placing your cursor inside it and pressing *Cmd+Shift+Enter*.
9+
10+
```{r}
11+
plot(cars)
12+
```
13+
14+
Add a new chunk by clicking the *Insert Chunk* button on the toolbar or by pressing *Cmd+Option+I*.
15+
16+
When you save the notebook, an HTML file containing the code and output will be saved alongside it (click the *Preview* button or press *Cmd+Shift+K* to preview the HTML file).
17+
18+
The preview shows you a rendered HTML copy of the contents of the editor. Consequently, unlike *Knit*, *Preview* does not run any R code chunks. Instead, the output of the chunk when it was last run in the editor is displayed.
19+

0 commit comments

Comments
 (0)