Skip to content

Commit

Permalink
rev
Browse files Browse the repository at this point in the history
  • Loading branch information
Edouard-Legoupil committed Nov 22, 2023
1 parent 7b62612 commit b04cda1
Show file tree
Hide file tree
Showing 6 changed files with 167 additions and 8 deletions.
16 changes: 13 additions & 3 deletions docs/learn/10.Package_Knowledge.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,15 @@ README.md provides the main pitch for your package

Each functions comes with its documentation and an example

Vignettes are either like tutorial to quickstart your users or technical documentation explaining how to orchestrate the functions
Vignettes are either like tutorial to quick-start your users or technical documentation explaining how to orchestrate the functions

Companion website to be generated with `pkgdown::build_site()`
Companion website to be generated with `pkgdown::build_site()` and apply unhcr brand on your website documentation

Create a _pkgdown.yml file and Use [unhcrtemplate](https://github.com/unhcr-dataviz/unhcrtemplate) to apply unhcr brand on your website documentation
```
remotes::install_github("unhcr-dataviz/unhcrtemplate")
```

Create a _pkgdown.yml file and Use [unhcrtemplate](https://github.com/unhcr-dataviz/unhcrtemplate)

```
template:
Expand Down Expand Up @@ -275,6 +279,12 @@ Testing on Different Platforms

---

## UNHCRverse

https://unhcrverse.r-universe.dev/builds / https://github.com/unhcRverse/unhcRverse.r-universe.dev
![](img/unhcrverse.png)


## Conclusion

* Creating packages in R is essential for code organization and sharing.
Expand Down
97 changes: 94 additions & 3 deletions docs/learn/10.Package_Knowledge.html

Large diffs are not rendered by default.

38 changes: 36 additions & 2 deletions docs/learn/11.Simplify_with_companionApp.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,23 @@ pak::pkg_install("edouard-legoupil/graveler")
]


---

## Define your project

.pull-left[

package and directory name are better to be the same

package name should not include special characters

]
.pull-right[


![](img/wizard.png)
]

---

## Follow the guide
Expand All @@ -293,18 +310,35 @@ pak::pkg_install("edouard-legoupil/graveler")

once the project is created open the file:
```
dev/01_dev.png
dev/01_dev.R
```

The first step is to get the back office through Fusen


]
.pull-right[

and follow the instructions
![](img/01_dev.png)

]


---

## Follow the guide

.pull-left[

The second stage is

]
.pull-right[

![](img/01_dev.png)

]


---

Expand Down
24 changes: 24 additions & 0 deletions docs/learn/11.Simplify_with_companionApp.html

Large diffs are not rendered by default.

Binary file added docs/learn/img/git/Fork_Clone4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/learn/img/unhcrverse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b04cda1

Please sign in to comment.