Skip to content

Commit

Permalink
+ authors orcid; glossary cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bbest committed Dec 5, 2023
1 parent dd51acb commit 7aec1a9
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 32 deletions.
13 changes: 1 addition & 12 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
source("renv/activate.R")

if (!"glossary" %in% rownames(installed.packages()))
install.packages(
"glossary",
repos = c(
"https://debruine.r-universe.dev",
"https://cloud.r-project.org"))
library(glossary)
glossary::glossary_path("glossary/glossary.yml")
glossary::glossary_popup("click")
glossary::glossary_persistent("glossary/glossary-persistent.yml")
# Terminal: quarto publish gh-pages
source("glossary/glossary.R")
16 changes: 13 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ project:
book:
title: "MarineSDMs"
subtitle: "Marine Species Distribution Models"
author: "Ben Best"
author:
- name: Benjamin D. Best
orcid: 0000-0002-2686-0784
email: [email protected]
affiliations:
- name: EcoQuants LLC
address: 211 W Gutierrez St, Unit 12
city: Santa Barbara
state: CA
postal-code: 93101
- name: MarineBON
repo-url: https://github.com/marinebon/sdm-book
reader-mode: true
repo-actions: [edit]
Expand Down Expand Up @@ -51,8 +61,6 @@ book:
- share.qmd
- metadata.qmd
- portal.qmd
- software.qmd
- organize.qmd
- references.qmd
appendices:
- glossary.qmd
Expand All @@ -62,6 +70,8 @@ book:
- explorations/am-envelope.qmd
- "explorations/sdm-1_predicts.qmd"
- "explorations/obis-top-spp-by-class.qmd"
- organize.qmd
- software.qmd

bibliography: references.bib

Expand Down
4 changes: 1 addition & 3 deletions glossary.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
title: "Glossary"
---
# Glossary {.unnumbered}

```{r}
#| results="asis"
Expand Down
11 changes: 11 additions & 0 deletions glossary/glossary.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ran by .Rprofile
if (!"glossary" %in% rownames(installed.packages()))
install.packages(
"glossary",
repos = c(
"https://debruine.r-universe.dev",
"https://cloud.r-project.org"))
library(glossary)
glossary::glossary_path("glossary/glossary.yml")
glossary::glossary_popup("click")
glossary::glossary_persistent("glossary/glossary-persistent.yml")
File renamed without changes.
17 changes: 5 additions & 12 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,11 @@
#| echo: false
#| eval: false
# in .Rprofile:
if (!"glossary" %in% rownames(installed.packages()))
install.packages(
"glossary",
repos = c(
"https://debruine.r-universe.dev",
"https://cloud.r-project.org"))
library(glossary)
glossary::glossary_path("glossary/glossary.yml")
glossary::glossary_popup("click")
glossary::glossary_persistent("glossary/glossary-persistent.yml")
# Terminal: quarto publish gh-pages
# NOTE .Rprofile:
# source("renv/activate.R")
# source("glossary/glosssary.R")
# Initialize for Github Action in Terminal:
# quarto publish gh-pages
```

## Background
Expand Down
2 changes: 1 addition & 1 deletion organize.qmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Organize
# Organize {.unnumbered}

## Partners

Expand Down
2 changes: 1 addition & 1 deletion software.qmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Software
# Software {.unnumbered}

## R

Expand Down

0 comments on commit 7aec1a9

Please sign in to comment.