-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from greta-dev/spring-clean-i18
Spring clean i18
- Loading branch information
Showing
11 changed files
with
176 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ figure/ | |
^README\.Rmd$ | ||
^\.github$ | ||
^codecov\.yml$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
name: pkgdown.yaml | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: ubuntu-latest | ||
# Only restrict concurrency for non-PR jobs | ||
concurrency: | ||
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::pkgdown, local::. | ||
needs: website | ||
|
||
- name: Build site | ||
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) | ||
shell: Rscript {0} | ||
|
||
- name: Deploy to GitHub pages 🚀 | ||
if: github.event_name != 'pull_request' | ||
uses: JamesIves/[email protected] | ||
with: | ||
clean: false | ||
branch: gh-pages | ||
folder: docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.Rhistory | ||
.RData | ||
.Ruserdata | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,27 @@ Type: Package | |
Title: Generalised Additive Models in greta using mgcv | ||
Version: 0.1.0 | ||
Authors@R: c( | ||
person("Nick", "Golding", , "[email protected]", role = "aut", | ||
comment = c(ORCID = "0000-0001-8916-5570")), | ||
person("Nicholas", "Tierney", , "[email protected]", role = "aut", | ||
comment = c(ORCID = "https://orcid.org/0000-0003-1460-8722")), | ||
person("David L", "Miller", role = c("aut", "cre"), | ||
email = "[email protected]") | ||
) | ||
person( | ||
given = "Nick", | ||
family = "Golding", | ||
email = "[email protected]", | ||
role = "aut", | ||
comment = c(ORCID = "0000-0001-8916-5570") | ||
), | ||
person( | ||
given = "Nicholas", | ||
family = "Tierney", | ||
email = "[email protected]", | ||
role = c("aut"), | ||
comment = c(ORCID = "0000-0003-1460-8722") | ||
), | ||
person( | ||
given = "David L", | ||
family = "Miller", | ||
role = c("aut", "cre"), | ||
email = "[email protected]" | ||
) | ||
) | ||
Description: A module for greta that lets you use mgcv's smoother functions | ||
and formula syntax to define smooth terms for use in a greta model. You | ||
can then define your own likelihood to complete the model, and fit it by | ||
|
@@ -20,9 +34,15 @@ Imports: | |
mgcv, | ||
rlang, | ||
stats | ||
Depends: greta | ||
Depends: | ||
greta (>= 0.5.0), | ||
R (>= 4.1.0) | ||
Suggests: | ||
testthat (>= 3.0.0) | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.3.1 | ||
LazyData: true | ||
RoxygenNote: 7.3.2 | ||
Config/testthat/edition: 3 | ||
URL: https://github.com/greta-dev/greta.gam, https://greta-dev.github.io/greta.gam/ | ||
BugReports: https://github.com/greta-dev/greta.gam/issues | ||
Roxygen: list(markdown = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
url: https://greta-dev.github.io/greta.gam/ | ||
template: | ||
bootstrap: 5 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.