Skip to content

Commit 12002f7

Browse files
Merge pull request #17 from OxfordIHTM/dev
edit pkgdown.yml; fix #13; fix #14; fix #15; fix #16
2 parents 765569f + a056eb2 commit 12002f7

File tree

7 files changed

+31
-28
lines changed

7 files changed

+31
-28
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
^_pkgdown\.yml$
88
^docs$
99
^pkgdown$
10+
^README\.html$

.github/workflows/test-coverage.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
env:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1616
LAWS_AFRICA_TOKEN: ${{ secrets.LAWS_AFRICA_TOKEN }}
17+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1718

1819
steps:
1920
- uses: actions/checkout@v4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
.RData
44
.Ruserdata
55
docs
6+
7+
README.html

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Imports:
3030
Suggests:
3131
jsonlite
3232
LazyData: true
33-
RoxygenNote: 7.3.1
33+
RoxygenNote: 7.3.2
3434
Roxygen: list(markdown = TRUE)
3535
URL: https://github.com/OxfordIHTM/africalaws, http://oxford-ihtm.io/africalaws/
3636
BugReports: https://github.com/OxfordIHTM/africalaws/issues

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ From here, the plan is to continue developing functions that wrap the various av
4040

4141
## Installation
4242

43-
`africalaws` is not yet on CRAN but can be installed from the [Oxford IHTM R universe](https://oxfordihtm.r-universe.dev) as follows:
43+
`africalaws` is not yet on CRAN but can be installed from the [Oxford IHTM R Universe](https://oxfordihtm.r-universe.dev) as follows:
4444

4545
```{r install-r-universe, eval = FALSE}
4646
install.packages(

README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ working version.
3737

3838
Currently, the package provides functions for:
3939

40-
- Authenticating with the Laws.Africa API;
41-
- Performing a call to the `countries` API endpoint; and,
42-
- Performing a call to the `works` API endpoint.
40+
- Authenticating with the Laws.Africa API;
41+
- Performing a call to the `countries` API endpoint; and,
42+
- Performing a call to the `works` API endpoint.
4343

4444
From here, the plan is to continue developing functions that wrap the
4545
various available [API
@@ -48,7 +48,7 @@ endpoints](https://developers.laws.africa/api/about-the-api).
4848
## Installation
4949

5050
`africalaws` is not yet on CRAN but can be installed from the [Oxford
51-
IHTM R universe](https://oxfordihtm.r-universe.dev) as follows:
51+
IHTM R Universe](https://oxfordihtm.r-universe.dev) as follows:
5252

5353
``` r
5454
install.packages(
@@ -61,13 +61,13 @@ install.packages(
6161

6262
The following vignettes describe how to use the `africalaws` package.
6363

64-
- Authenticating with the Laws.Africa API
64+
- Authenticating with the Laws.Africa API
6565

66-
- Listing out countries and areas/locations with available works from
67-
the Laws.Africa API
66+
- Listing out countries and areas/locations with available works from
67+
the Laws.Africa API
6868

69-
- Listing out works for a specific country or areas/locations that are
70-
available from the Laws.Africa API
69+
- Listing out works for a specific country or areas/locations that are
70+
available from the Laws.Africa API
7171

7272
## Citation
7373

@@ -79,16 +79,15 @@ follows:
7979
citation("africalaws")
8080
#> To cite africalaws in publications use:
8181
#>
82-
#> Jillian Francise Lee, Sanjeev Pugazhendhi, Ernest Guevarra, and
83-
#> Proochista Ariana (2024). africalaws: Interface to the Laws.Africa
84-
#> API. R package version 0.0.9000. URL
85-
#> https://oxford-ihtm.io/africalaws/
82+
#> Jillian Francise Lee, Ernest Guevarra (2024). _africalaws: Interface
83+
#> to the Laws.Africa API_. R package version 0.0.9000,
84+
#> <https://oxford-ihtm.io/africalaws/>.
8685
#>
8786
#> A BibTeX entry for LaTeX users is
8887
#>
8988
#> @Manual{,
9089
#> title = {africalaws: Interface to the Laws.Africa API},
91-
#> author = {{Jillian Francise Lee} and {Sanjeev Pugazhendhi} and {Ernest Guevarra} and {Proochista Ariana}},
90+
#> author = {{Jillian Francise Lee} and {Ernest Guevarra}},
9291
#> year = {2024},
9392
#> note = {R package version 0.0.9000},
9493
#> url = {https://oxford-ihtm.io/africalaws/},

pkgdown/_pkgdown.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@ title: africalaws
22

33
url: https://oxford-ihtm.io/africalaws/
44

5+
development:
6+
mode: auto
7+
58
template:
69
bootstrap: 5
7-
bootswatch: litera
8-
theme: haddock
9-
ganalytics: #
10+
bootswatch: journal
11+
theme: breeze-light
12+
ganalytics: G-9C8W5NMF8N
1013

1114
home:
1215
links:
1316
- text: Read more about Laws.Africa
1417
href: https://laws.africa/about
1518

1619
navbar:
17-
bg: primary
20+
bg: info
1821
type: light
1922
structure:
2023
left: [home, intro, reference, articles, news]
21-
right: [twitter, facebook, linkedin, github]
24+
right: [search, linkedin, mastodon, github]
2225

2326
components:
2427
# articles:
2528
# text: Articles
2629
# menu:
2730
# - text: "ICD-11 Foundation"
2831
# href: articles/icd11_foundation.html
29-
twitter:
30-
icon: "fab fa-twitter fa-lg"
31-
href: http://twitter.com/OxIHTM
32-
facebook:
33-
icon: "fab fa-facebook fa-lg"
34-
href: https://www.facebook.com/MSc-in-International-Health-and-Tropical-Medicine-University-of-Oxford-433056700228246/
3532
linkedin:
3633
icon: "fab fa-linkedin fa-lg"
37-
href: https://www.linkedin.com/company/international-health-and-tropical-medicine
34+
href: https://www.linkedin.com/company/oxford-ihealth
35+
mastodon:
36+
icon: "fab fa-mastodon fa-lg"
37+
href: https://mastodon.social/@ihealth
3838

3939

4040
reference:

0 commit comments

Comments
 (0)