/
best_practices.qmd
39 lines (25 loc) · 1.37 KB
/
best_practices.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: "Coding Tips"
---
```{r libraries, include = FALSE, message = FALSE, echo = FALSE}
library(librarian)
librarian::shelf(tidyverse, cran_repo = 'https://cran.r-project.org')
```
### Welcome!
This page contains the collected best practice tips of the NCEAS Scientific Computing Support Team. More will be added over time and feel free to post [an issue](https://github.com/NCEAS/scicomp.github.io/issues) if you have a specific request for a section to add to this document.
Please feel free to reach out to our team (see [here](https://nceas.github.io/scicomp.github.io/staff.html)) if you have any questions about this best practices manual and/or need help implementing some of this content.
Check the headings below or in the table of contents on the right of this page to see which tips and tricks we have included so far and we hope this page is a useful resource to you and your team!
## R Scripts versus R Markdowns
{{< include /modules_best-practices/markdown-vs-script.qmd >}}
<p align="center">
<img src="images/lter-photos/patches.jpg" width="100%"/>
</p>
## File Paths
{{< include /modules_best-practices/file-paths.qmd >}}
<p align="center">
<img src="images/lter-photos/penguins.jpg" width="100%"/>
</p>
## Good Naming Conventions
{{< include /modules_best-practices/naming-conventions.qmd >}}
## Package Loading
{{< include /modules_best-practices/pkg-loading.qmd >}}