Skip to content

Commit 49a47f9

Browse files
committed
Prueba
1 parent 4613777 commit 49a47f9

1 file changed

Lines changed: 64 additions & 68 deletions

File tree

AEET_2025/reproducible_science.qmd

Lines changed: 64 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ At this point, you need to have the latest version of R installed (<https://clou
134134
To view both the user and the associated email:
135135
136136
`git config --global --list`
137-
137+
138138
⚡What is the shell? The shell (or terminal) is a program on your computer whose job is to run other programs (see https://happygitwithr.com/shell.html#shell). RStudio includes a terminal that you can use to interact with Git; however, it also has a tab called "Git" that provides basic Git functionalities and makes its use much easier.
139139
140140
![Terminal](images/terminal.png)
@@ -156,7 +156,6 @@ At this point, you need to have the latest version of R installed (<https://clou
156156
```
157157

158158
👀 It’s a good idea to describe the purpose of the token in the *Note* field, since you can have several PATs. You won’t be able to view this token again, so don’t close or leave the browser window until you’ve stored the PAT locally. Treat this PAT like a password!
159-
160159
:::
161160

162161
## Git repositories and projects
@@ -178,7 +177,6 @@ If you go to the selected local directory, you’ll find the folder connected to
178177

179178
1. Create a repository on GitHub and connect it to a new RStudio project (this will generate a repository (folder) on your computer in the location you specified). Include a "*.gitignore*" file. Create a new R script in the working directory (that is, create an R script and save it inside the repository you just created)
180179
2. In RStudio, go to the Git tab to see all the documents that have been identified by Git
181-
182180
:::
183181

184182
![Git en RStudio](images/clipboard-1722222267.png)
@@ -194,7 +192,6 @@ To add files to the *gitignore*, you can right-click on the file in RStudio’s
194192
1. Add your project’s `.Rproj` file to the `*.gitignore*` file.
195193

196194
2. Create a folder named `datos` (data) in your working directory. Add it to the `*.gitignore*` file and save. What happened in the **Git** tab?
197-
198195
:::
199196

200197
## Structure of a GitHub repository
@@ -761,57 +758,57 @@ Markdown is a plain text format that is designed to be easy to write, and, even
761758

762759
#### Text Formatting
763760

764-
+---------------------------------+---------------------------------+
765-
| Markdown Syntax | Output |
766-
+=================================+=================================+
767-
| ``` | *italics* and **bold** |
768-
| *italics* and **bold** | |
769-
| ``` | |
770-
+---------------------------------+---------------------------------+
771-
| ``` | superscript^2^ / subscript~2~ |
772-
| superscript^2^ / subscript~2~ | |
773-
| ``` | |
774-
+---------------------------------+---------------------------------+
775-
| ``` | ~~strikethrough~~ |
776-
| ~~strikethrough~~ | |
777-
| ``` | |
778-
+---------------------------------+---------------------------------+
779-
| ``` | `verbatim code` |
780-
| `verbatim code` | |
781-
| ``` | |
782-
+---------------------------------+---------------------------------+
761+
+--------------------------------+--------------------------------+
762+
| Markdown Syntax | Output |
763+
+================================+================================+
764+
| ``` | *italics* and **bold** |
765+
| *italics* and **bold** | |
766+
| ``` | |
767+
+--------------------------------+--------------------------------+
768+
| ``` | superscript^2^ / subscript~2~ |
769+
| superscript^2^ / subscript~2~ | |
770+
| ``` | |
771+
+--------------------------------+--------------------------------+
772+
| ``` | ~~strikethrough~~ |
773+
| ~~strikethrough~~ | |
774+
| ``` | |
775+
+--------------------------------+--------------------------------+
776+
| ``` | `verbatim code` |
777+
| `verbatim code` | |
778+
| ``` | |
779+
+--------------------------------+--------------------------------+
783780

784781
: {tbl-colwidths="\[50,50\]"}
785782

786783
#### Headings {.smaller}
787784

788-
+---------------------------------+---------------------------------+
789-
| Markdown Syntax | Output |
790-
+=================================+=================================+
791-
| ``` | # Header 1 |
792-
| # Header 1 | |
793-
| ``` | |
794-
+---------------------------------+---------------------------------+
795-
| ``` | ## Header 2 |
796-
| ## Header 2 | |
797-
| ``` | |
798-
+---------------------------------+---------------------------------+
799-
| ``` | ### Header 3 |
800-
| ### Header 3 | |
801-
| ``` | |
802-
+---------------------------------+---------------------------------+
803-
| ``` | #### Header 4 |
804-
| #### Header 4 | |
805-
| ``` | |
806-
+---------------------------------+---------------------------------+
807-
| ``` | ##### Header 5 |
808-
| ##### Header 5 | |
809-
| ``` | |
810-
+---------------------------------+---------------------------------+
811-
| ``` | ###### Header 6 |
812-
| ###### Header 6 | |
813-
| ``` | |
814-
+---------------------------------+---------------------------------+
785+
+--------------------------------+--------------------------------+
786+
| Markdown Syntax | Output |
787+
+================================+================================+
788+
| ``` | # Header 1 |
789+
| # Header 1 | |
790+
| ``` | |
791+
+--------------------------------+--------------------------------+
792+
| ``` | ## Header 2 |
793+
| ## Header 2 | |
794+
| ``` | |
795+
+--------------------------------+--------------------------------+
796+
| ``` | ### Header 3 |
797+
| ### Header 3 | |
798+
| ``` | |
799+
+--------------------------------+--------------------------------+
800+
| ``` | #### Header 4 |
801+
| #### Header 4 | |
802+
| ``` | |
803+
+--------------------------------+--------------------------------+
804+
| ``` | ##### Header 5 |
805+
| ##### Header 5 | |
806+
| ``` | |
807+
+--------------------------------+--------------------------------+
808+
| ``` | ###### Header 6 |
809+
| ###### Header 6 | |
810+
| ``` | |
811+
+--------------------------------+--------------------------------+
815812

816813
: {tbl-colwidths="\[50,50\]"}
817814

@@ -840,7 +837,7 @@ The syntax is similar for embedding an inline image: ![Penguins playing with bal
840837

841838
Unordered list:
842839

843-
::::: columns
840+
::: columns
844841
::: {.column width="50%"}
845842
**Markdown:**
846843

@@ -860,11 +857,11 @@ Unordered list:
860857
- sub-item 1
861858
- sub-sub-item 1
862859
:::
863-
:::::
860+
:::
864861

865862
Ordered list:
866863

867-
::::: columns
864+
::: columns
868865
::: {.column width="50%"}
869866
**Markdown:**
870867

@@ -884,7 +881,7 @@ Ordered list:
884881
i. sub-item 1
885882
A. sub-sub-item 1
886883
:::
887-
:::::
884+
:::
888885

889886
#### Quotes
890887

@@ -971,7 +968,7 @@ These can often apply between formats:
971968

972969
**Single class**: Two equivalent syntaxes
973970

974-
::::: columns
971+
::: columns
975972
::: column
976973
No `{`, and no `.`:
977974

@@ -991,7 +988,7 @@ Text
991988
:::
992989
```
993990
:::
994-
:::::
991+
:::
995992

996993
**Multiple classes**: use `{` and `.`, separate with spaces
997994

@@ -1042,7 +1039,7 @@ Open `callout-boxes.qmd` and render the document.
10421039
- Add a caption to the second callout box.
10431040
10441041
- Make the third callout box collapsible. Then, switch over to the source editor to inspect the markdown code.
1045-
::::
1042+
:::
10461043
10471044
##### Footnotes
10481045
@@ -1117,7 +1114,7 @@ penguins |>
11171114

11181115
#### Anatomy of a code chunk
11191116

1120-
::::: columns
1117+
::: columns
11211118
::: {.column width="50%"}
11221119
```{r}
11231120
#| label: penguin-stuff
@@ -1138,7 +1135,7 @@ penguins |>
11381135
- Engine (`r`) is indicated between curly braces `{r}`
11391136
- Options stated with the `#|` (hashpipe): `#| option1: value`
11401137
:::
1141-
:::::
1138+
:::
11421139

11431140
Available code cell options: <https://quarto.org/docs/reference/cells/cells-knitr.html>
11441141

@@ -1167,7 +1164,7 @@ head(penguins)
11671164

11681165
- If you want to both execute the code and return the full code including backticks (like in a teaching scenario) `echo: fenced` is your friend!
11691166

1170-
::::: columns
1167+
::: columns
11711168
::: column
11721169
Source:
11731170

@@ -1187,7 +1184,7 @@ Output:
11871184
1 + 1
11881185
```
11891186
:::
1190-
:::::
1187+
:::
11911188

11921189
In addition to rendering the complete document to view the results of code chunks you can also run each code chunk interactively in the `RStudio` editor by clicking the icon or keyboard shortcut (`Cmd/Ctrl + Shift + Enter`).
11931190

@@ -1335,7 +1332,7 @@ The figure basic [guide](https://quarto.org/docs/authoring/figures.html#figure-b
13351332

13361333
##### Markdown figures with options
13371334

1338-
::::: columns
1335+
::: columns
13391336
::: {.column width="50%"}
13401337
```
13411338
![Penguins playing with a Quarto ball](images/penguins-quarto-ball.png){fig-align="left"}
@@ -1351,7 +1348,7 @@ The figure basic [guide](https://quarto.org/docs/authoring/figures.html#figure-b
13511348

13521349
![](images/penguins-quarto-ball.png){fig-align="right" fig-alt="Illustration of two penguins playing with a Quarto ball."}
13531350
:::
1354-
:::::
1351+
:::
13551352

13561353
#### Subfigures
13571354

@@ -1640,7 +1637,7 @@ The most capable format by far is `revealjs`, so it is highly recommended unless
16401637
16411638
- Separate in columns using fenced divs (:::)
16421639
1643-
:::::: panel-tabset
1640+
::: panel-tabset
16441641
### Code
16451642
16461643
``` markdown
@@ -1656,16 +1653,16 @@ Content in the left side.
16561653
16571654
### Output
16581655
1659-
::::: columns
1656+
::: columns
16601657
::: {.column width="40%"}
16611658
Content in the left side.
16621659
:::
16631660
16641661
::: {.column width="60%"}
16651662
![Picture here](https://upload.wikimedia.org/wikipedia/commons/b/ba/Flower_jtca001.jpg)
16661663
:::
1667-
:::::
1668-
::::::
1664+
:::
1665+
:::
16691666
16701667
### Quarto Projects
16711668
@@ -1801,7 +1798,6 @@ In order to resolve it, you need to choose the changes from either the main bran
18011798
3. Resolve the conflict (i.e., keep the changes that are appropriate and push the resolved file to the remote repository).
18021799
18031800
💡[Here](https://github.com/DatSciR/intro_git-github/blob/main/centra/dia3_comandos.md) (in the "Otros comandos útiles" section - in Spanish) you can see how to delete branches and other useful commands.
1804-
18051801
:::
18061802
18071803
# Useful Links

0 commit comments

Comments
 (0)