You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very happy to announce that `{shinipsum}` is now on CRAN!
30
32
31
-
`{shinipsum}` is a package that can help you build `{shiny}` prototypes faster by providing a series of functions that can generate random elements to populate your UI.
32
-
If you are familiar with "lorem ipsum", the fake text generator that is used in software design as a placeholder for text, the idea is the same: generating placeholders for Shiny outputs.
33
+
`{shinipsum}` is a package that can help you build `{shiny}` prototypes faster by providing a series of functions that can generate random elements to populate your UI.
34
+
If you are familiar with "lorem ipsum", the fake text generator that is used in software design as a placeholder for text, the idea is the same: generating placeholders for Shiny outputs.
33
35
34
36
`{shinipsum}` can be installed from CRAN with:
35
37
@@ -43,7 +45,7 @@ You can install this package from GitHub with:
43
45
remotes::install_github("Thinkr-open/shinipsum")
44
46
```
45
47
46
-
In this package, a series of functions that generates random placeholders.
48
+
In this package, a series of functions that generates random placeholders.
47
49
For example, `random_ggplot()` generates random `{ggplot2}` elements:
48
50
49
51
```{r}
@@ -53,17 +55,17 @@ library(ggplot2)
53
55
54
56
55
57
```{r}
56
-
random_ggplot() +
57
-
labs(title = "Random plot")
58
+
random_ggplot() +
59
+
labs(title = "Random plot")
58
60
```
59
61
60
62
```{r}
61
-
random_ggplot() +
62
-
labs(title = "Random plot")
63
+
random_ggplot() +
64
+
labs(title = "Random plot")
63
65
```
64
66
65
67
Of course, the idea is to combine this with a Shiny interface, for example `random_ggplot()` will be used with a `renderPlot()` and `plotOutput()`.
66
-
And as we want to prototype but still be close to what your final application will look like, these functions take arguments that can shape the output: for example, `random_ggplot()` has a `type` parameter that can help you select a specific geom.
68
+
And as we want to prototype but still be close to what your final application will look like, these functions take arguments that can shape the output: for example, `random_ggplot()` has a `type` parameter that can help you select a specific geom.
0 commit comments