Skip to content

Commit d6bd2ae

Browse files
authored
Merge pull request #9 from PetterHopp/main
OKplan v0.4.2
2 parents 4ef1648 + 6fb00a4 commit d6bd2ae

File tree

7 files changed

+49
-48
lines changed

7 files changed

+49
-48
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,15 @@ data reporting at the Norwegian Veterinary Institute (NVI).
6666
<td style="text-align: left;">Public</td>
6767
<td style="text-align: left;">Tools to facilitate the development of NVIverse packages</td>
6868
</tr>
69+
<tr class="odd">
70+
<td style="text-align: left;">NVIrpackages</td>
71+
<td style="text-align: left;">Public</td>
72+
<td style="text-align: left;">Keeps a table of the R-Packages in NVIverse</td>
73+
</tr>
6974
</tbody>
7075
</table>
7176

72-
How you can contribute
73-
----------------------
77+
## How you can contribute
7478

7579
There are several ways you can contribute to this project: ask a
7680
question, propose an idea, report a bug, improve the documentation, or
@@ -136,8 +140,7 @@ list](https://github.com/NorwegianVeterinaryInstitute/OKplan/issues) and
136140
leave a comment on the things you want to work on. See also the
137141
development guidelines below.
138142

139-
Development guidelines
140-
----------------------
143+
## Development guidelines
141144

142145
If you want to contribute code, you are welcome to do so. Please try to
143146
adhere to some principles and style convention used for
@@ -153,7 +156,7 @@ adhere to some principles and style convention used for
153156
Please don’t restyle code that has nothing to do with your pull
154157
request.
155158

156-
- You should add a bullet point to `NEWS.md` motivating the change.
159+
- You should add a bullet point to `NEWS` motivating the change.
157160

158161
- You should add yourself as a contributor to the `DESCRIPTION`.
159162

@@ -199,15 +202,13 @@ The start of commit messages should be one of the following:
199202

200203
Do not capitalize the first letter.
201204

202-
Code of conduct
203-
---------------
205+
## Code of conduct
204206

205207
Please note that this project is released with a [Contributor Code of
206208
Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
207209
By participating to this project, you agree to abide by its terms.
208210

209-
References
210-
----------
211+
## References
211212

212213
This document is adapted from a
213214
[template](https://gist.github.com/peterdesmet/e90a1b0dc17af6c12daf6e8b2f044e7c)

DESCRIPTION

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: OKplan
22
Title: Tools to facilitate the Planning of the annual Surveillance Programmes
3-
Version: 0.4.1
4-
Date: 2021-12.17
3+
Version: 0.4.2
4+
Date: 2022-01-20
55
Authors@R:
66
c(person(given = "Petter",
77
family = "Hopp",
@@ -21,27 +21,26 @@ LazyData: true
2121
Imports:
2222
checkmate,
2323
dplyr,
24+
knitr,
2425
magrittr,
2526
openxlsx,
27+
rmarkdown,
2628
stats,
2729
NVIdb (>= 0.3.0),
28-
NVIpretty
30+
NVIpretty,
31+
NVIrpackages
2932
Suggests:
3033
covr,
3134
devtools,
32-
knitr,
33-
remotes,
34-
rmarkdown,
35-
roxygen2,
36-
styler,
3735
testthat,
3836
usethis,
3937
utils,
4038
NVIpackager
4139
Remotes:
4240
NorwegianVeterinaryInstitute/NVIdb,
4341
NorwegianVeterinaryInstitute/NVIpretty,
44-
NorwegianVeterinaryInstitute/NVIpackager
45-
RoxygenNote: 7.1.1
42+
NorwegianVeterinaryInstitute/NVIpackager,
43+
NorwegianVeterinaryInstitute/NVIrpackages
44+
RoxygenNote: 7.1.2
4645
VignetteBuilder: knitr
4746
Language: en-GB

NEWS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
OKplan 0.4.2 - (2022-01-20)
2+
---------------------------
3+
4+
Bug fixes:
5+
6+
- Fixed problems with package dependencies during installation.
7+
8+
19
OKplan 0.4.1 - (2021-12-17)
210
---------------------------
311

README.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ output:
66

77
params:
88
NVIpkg: "OKplan"
9+
first_copyright_year: "2021"
910
---
1011

1112
```{r, include = FALSE}

README.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
OKplan: Tools to facilitate the Planning of the annual Surveillance Programmes
2-
==============================================================================
1+
# OKplan: Tools to facilitate the Planning of the annual Surveillance Programmes
32

43
<!-- README.md is generated from README.Rmd. Please edit that file -->
54

@@ -9,8 +8,7 @@ OKplan: Tools to facilitate the Planning of the annual Surveillance Programmes
98
- [Copyright and license](#copyright-and-license)
109
- [Contributing](#contributing)
1110

12-
Overview
13-
--------
11+
## Overview
1412

1513
`OKplan`provide tools to facilitate the planning of the annual
1614
surveillance programmes. The main focus is tools for generating
@@ -20,17 +18,16 @@ standardized lists for NFSA.
2018
facilitate data management and data reporting at the Norwegian
2119
Veterinary Institute (NVI). The NVIverse consists of the following
2220
packages: NVIconfig, NVIdb, NVIpretty, NVIbatch, OKplan, OKcheck,
23-
NVIcheckmate, NVIpackager. See the vignette “Contribute to OKplan” for
24-
more information.
21+
NVIcheckmate, NVIpackager, NVIrpackages. See the vignette “Contribute to
22+
OKplan” for more information.
2523

26-
Installation
27-
------------
24+
## Installation
2825

2926
`OKplan` is available at
3027
[GitHub](https://github.com/NorwegianVeterinaryInstitute). To install
3128
`OKplan` you will need:
3229

33-
- R version &gt; 4.0.0
30+
- R version > 4.0.0
3431
- R package `remotes`
3532
- Rtools 4.0
3633

@@ -41,47 +38,44 @@ First install and attach the `remotes` package.
4138

4239
To install (or update) the `OKplan` package, run the following code:
4340

44-
remotes::install_github("NorwegianVeterinaryInstitute/OKplan")
41+
remotes::install_github("NorwegianVeterinaryInstitute/OKplan",
4542
upgrade = FALSE,
4643
build = TRUE,
4744
build_manual = TRUE)
4845

49-
Usage
50-
-----
46+
## Usage
5147

5248
The `OKplan` package needs to be attached.
5349

54-
library(NVIdb)
50+
library(OKplan)
5551

5652
`OKplan`provide tools to facilitate the planning of the annual
5753
surveillance programmes. The main focus is tools for generating
5854
standardized lists for NFSA.
5955

60-
The list of available functions and datasets can be accessed by typing
56+
The full list of all available functions and datasets can be accessed by
57+
typing
6158

62-
help(package="NVIdb")
59+
help(package = "OKplan")
6360

6461
Please check the NEWS for information on new features, bug fixes and
6562
other changes.
6663

67-
Copyright and license
68-
---------------------
64+
## Copyright and license
6965

70-
Copyright (c) 2021 Norwegian Veterinary Institute.
66+
Copyright (c) 2021 - 2022 Norwegian Veterinary Institute.
7167
Licensed under the BSD\_3\_clause License. See
7268
[License](https://github.com/NorwegianVeterinaryInstitute/OKplan/blob/main/LICENSE)
7369
for details.
7470

75-
Contributing
76-
------------
71+
## Contributing
7772

7873
Contributions to develop `OKplan` is highly appreciated. There are
7974
several ways you can contribute to this project: ask a question, propose
8075
an idea, report a bug, improve the documentation, or contribute code.
8176
The vignette “Contribute to OKplan” gives more information.
8277

83-
<!-- Code of conduct -->
84-
------------------------
78+
## <!-- Code of conduct -->
8579

8680
Please note that the OKplan project is released with a [Contributor Code
8781
of

notes/develop.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
# library(devtools)
88
# library(roxygen2)
99
library(NVIpackager)
10-
library(spelling)
10+
# library(spelling)
1111

1212
# Global variables
13-
pkg <- stringi::stri_extract_last_words(usethis::proj_path())
1413
pkg_path = usethis::proj_path()
14+
pkg <- stringi::stri_extract_last_words(pkg_path)
1515
# Rlibrary <- R.home()
1616

1717
# create_NVIpkg_skeleton(license_keyword = "CC BY 4.0")

vignettes/Contribute_to_OKplan.Rmd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ vignette: >
2121
NVIpkg <- params$NVIpkg
2222
NVIpkg_inline <- paste0("`", NVIpkg, "`")
2323
NVIpkg_code <- "/tree/main/R"
24-
# pkg_name <- NVIpkg_inline
25-
# pkg_name <- "`NVIcheckmate`"
2624
knitr::opts_chunk$set(
2725
collapse = TRUE,
2826
comment = "#>"
@@ -40,8 +38,8 @@ Thank you for considering contributing to `r NVIpkg_inline`.
4038

4139
### NVIverse packages
4240
```{r echo = FALSE, results = 'asis'}
43-
library(NVIpackager)
44-
knitr::kable(x = NVIpackages)
41+
# library(NVIrpackages)
42+
knitr::kable(x = NVIrpackages::NVIpackages)
4543
```
4644

4745
## How you can contribute
@@ -95,7 +93,7 @@ I recommend to use the [`styler`](https://CRAN.R-project.org/package=styler)
9593
package to apply spaces: `styler::style_file(filename, scope = "spaces")`.
9694
Please don't restyle code that has nothing to do with your pull request.
9795

98-
* You should add a bullet point to `NEWS.md` motivating the change.
96+
* You should add a bullet point to `NEWS` motivating the change.
9997

10098
* You should add yourself as a contributor to the `DESCRIPTION`.
10199

0 commit comments

Comments
 (0)