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
- Create an `analysis` folder to hold our reproducible paper
174
174
175
175
```{r add-structure, eval=FALSE, echo=TRUE}
176
-
177
-
rrtools::use_readme_rmd()
176
+
usethis::use_apl2_license()
177
+
rrtools::use_readme_qmd()
178
178
rrtools::use_analysis()
179
179
180
180
```
@@ -243,7 +243,7 @@ tinytex::install_tinytex() ## this may take several minutes
243
243
244
244
## Set up
245
245
246
-
0. If you do not have `rticle` installed, go ahead and install calling the following function in the console: `install.packages('rticles')` Restart your RStudio session.
246
+
0. If you do not have `rticles` installed, go ahead and install calling the following function in the console: `install.packages('rticles')` Restart your RStudio session.
247
247
248
248
1. To create a new file from `rticles`custom templates, got to `File | New File | R Markdown...` menu, which shows the following dialog:
249
249
@@ -272,11 +272,11 @@ tinytex::install_tinytex() ## this may take several minutes
272
272
273
273
Things we can do with our research compendium:
274
274
275
-
- Edit `./analysis/paper/paper.Rmd` to begin writing your paper and your analysis in the same document
275
+
- Edit `./analysis/paper/paper.qmd` to begin writing your paper and your analysis in the same document
276
276
- Add any citations to `./analysis/paper/pnas-sample.bib`
277
277
- Add any longer R scripts that don't fit in your paper in an `R` folder at the top level
278
278
- Add raw data to `./data/raw_data`
279
-
- Write out any derived data (generated in `paper.Rmd`) to `./data/derived_data`
279
+
- Write out any derived data (generated in `paper.qmd`) to `./data/derived_data`
280
280
- Write out any figures in `./analysis/figures`
281
281
282
282
@@ -316,7 +316,7 @@ You can then write all of your R code in your RMarkdown/Quarto, and generate you
316
316
317
317
**In practice**
318
318
319
-
- Once you have your research compendium, you can called`rrtools::use_dockerfile()`. If needed, re-install `rrtools` directly from GitHub `remotes::install_github("benmarwick/rrtools")`
319
+
- Once you have your research compendium, you can call`rrtools::use_dockerfile()`. If needed, re-install `rrtools` directly from GitHub `remotes::install_github("benmarwick/rrtools")`
320
320
321
321
- This first creates a Dockerfile that loads a standard image for using R with the tidyverse.
0 commit comments