Skip to content

Commit 7712d24

Browse files
authored
Merge pull request #30 from ScotGovAnalysis/release-0.1
v0.1 release
2 parents 1ae7531 + 8c2d081 commit 7712d24

3 files changed

Lines changed: 24 additions & 6 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: objr
22
Title: Wrapper for Objective APIs
3-
Version: 0.0.0.9007
3+
Version: 0.1.0
44
Authors@R: c(
55
person("Scottish Government", , , "statistics.enquiries@gov.scot", role = "cph"),
66
person("Alice", "Hannah", , "alice.hannah@gov.scot", role = c("aut", "cre"))

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# objr (development version)
1+
# objr 0.1.0
22

33
* First package release
44

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
<!-- badges: start -->
55

6-
[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
76
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/scotgovanalysis/objr)](https://github.com/scotgovanalysis/objr/releases/latest)
87
[![R build status](https://github.com/scotgovanalysis/objr/workflows/R-CMD-check/badge.svg)](https://github.com/scotgovanalysis/objr/actions)
98

@@ -13,8 +12,10 @@ objr aims to provide a convenient method of interacting with [Objective Connect]
1312

1413
## Installation
1514

16-
The package can be installed directly from GitHub.
17-
Note that this method requires the `remotes` package and may not work from within the Scottish Government network.
15+
If you are working within the Scottish Government network, you can
16+
install objr in the same way as with other R packages. The easiest way to do this is by using the [pkginstaller](https://github.com/ScotGovAnalysis/pkginstaller/tree/main) add-in. Further guidance is available on [eRDM](https://erdm.scotland.gov.uk:8443/documents/A42404229/details).
17+
18+
Alternatively, objr can be installed directly from GitHub. Note that this method requires the remotes package and may not work from within the Scottish Government network.
1819

1920
``` r
2021
remotes::install_github(
@@ -24,7 +25,7 @@ remotes::install_github(
2425
)
2526
```
2627

27-
Finally, the package can also be installed by downloading the [zip of the
28+
Finally, objr can also be installed by downloading the [zip of the
2829
repository](https://github.com/ScotGovAnalysis/objr/archive/main.zip)
2930
and running the following code, replacing the section marked `<>`
3031
(including the arrows themselves) with the location of the downloaded
@@ -38,6 +39,23 @@ remotes::install_local(
3839
)
3940
```
4041

42+
## Getting Started
43+
44+
Once installed, objr can be loaded using the `library()` function:
45+
46+
``` r
47+
library(objr)
48+
```
49+
50+
Help files for each function in the package can be found on the
51+
[References](https://ScotGovAnalysis.github.io/objr/reference) page of the package website. Alternatively, type `?function_name` into the
52+
RStudio console. For example:
53+
54+
``` r
55+
?workspaces()
56+
```
57+
58+
There is also a demonstration of a simple workflow using the package in `vignette("objr")`.
4159

4260
## Licence
4361

0 commit comments

Comments
 (0)