bookdown-template
The bookdown template used by the survey team of Rethink Priorities.
Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Repository
The bookdown template used by the survey team of Rethink Priorities.
Basic Info
- Host: GitHub
- Owner: rethinkpriorities
- Language: HTML
- Default Branch: main
- Homepage: https://rethinkpriorities.github.io/bookdown-template/
- Size: 8.9 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 6
- Releases: 0
Metadata Files
README.md
Rethink Priorities bookdown Template
Update 29 Mar 2022: We are leaning towards switching to quarto as it can do most of what our template does, and more, and will be maintained by RStudio.
The Rethink Priorities bookdown template is, as the name indicates, a template for creating bookdown books used by the survey team at Rethink Priorities. The main goal of this template is to serve as a skeleton project that can be copied and used in other projects. Additionally, it contains some chapters that serve as tutorials for different features of this bookdown format.
Installation
- Clone this repository from GitHub
- Install the
rethinkprioritiesR package - (Go to the Build tab and click on "Build Website" to preview the book)
Usage
- Replace the contents of
index.Rmdwith content relevant to the project (e.g., an introduction/summary of the project and contributions) - Remove the chapter files and add your own
- Update the
_bookdown.ymlfile to refer to the new chapters specified in thermd_filesparameter (by default it lists the tutorial chapters)
Building the book
- Go to the Build tab and click on "Build Website"
- Done! The book should be visible in the Viewer pane and the resulting files should be stored in the
docsfolder
Citation (citations.Rmd)
--- bibliography: references.bib --- # Citations It's possible to use citations with this template. Our recommendation is to use Zotero and the Visual Editor in RStudio to insert a citation. In the Visual Editor, click on the Insert button and then on Citation to select a citation from your Zotero library. You can select one or more citations. Click on Insert to insert the citekey of the citation in the document. This will also create a new `.bib` file if the file did not exist yet or add it to the file if it did already exist. You have to make sure that this file is also linked in the `YAML` options of `index.Rmd`. Here's an example of a citation: [@alexander2019] The main limitation of using citations this way is that the chapters have to be in the main folder (and not in a subfolder) because otherwise the bibliography path is not the same between the `index.Rmd` file and the chapter files, which throws the visual editor off.
GitHub Events
Total
Last Year
Dependencies
- grDevices * imports
- methods * imports
- utils * imports
- mockery * suggests
- rstudioapi * suggests
- testthat * suggests
- withr * suggests
- callr >= 2.0.0 suggests
- covr * suggests
- testthat * suggests
- R6 * imports
- askpass * imports
- assertthat * imports
- filelock * imports
- openssl * imports
- rappdirs * imports
- sodium * imports
- tools * imports
- utils * imports
- yaml * imports
- callr * suggests
- covr * suggests
- mockery * suggests
- testthat * suggests
- withr * suggests
- utils * imports
- BiocManager * suggests
- R6 * suggests
- cli * suggests
- covr * suggests
- devtools * suggests
- knitr * suggests
- miniUI * suggests
- packrat * suggests
- pak * suggests
- remotes * suggests
- reticulate * suggests
- rmarkdown * suggests
- rstudioapi * suggests
- shiny * suggests
- testthat * suggests
- uuid * suggests
- yaml * suggests
- assertthat * imports
- dplyr * imports
- ggplot2 * imports
- httr * imports
- huxtable * imports
- janitor * imports
- kableExtra * imports
- keyring * imports
- labelled * imports
- purrr * imports
- readr * imports
- recipes * imports
- rmarkdown * imports
- stats * imports
- stringr * imports
- tools * imports
- treemapify * imports
- vtable * imports
- knitr * suggests
- rmarkdown * suggests
- R >= 3.2.0 depends
- covr * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat >= 2.1.0 suggests
- tools * suggests