Skip to content

Commit

Permalink
update repo links
Browse files Browse the repository at this point in the history
  • Loading branch information
aghaynes committed Dec 13, 2024
1 parent d7bda10 commit 2973845
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: SCTORvalidation
Type: Package
Title: Tools for assisting with package validation within the SCTO package
validation projedct of the Statistics and Methodology platform
Version: 0.4.0
Version: 0.4.1
Authors@R:
c(
person(given = "Alan G.", family = "Haynes", role = "cre",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SCTORvalidation 0.4.1

* update links to the (renamed) GitHub repositories

# SCTORvalidation 0.4.0

* package name changed from validation to SCTORvalidation (repository name changed to SCTORvalidation_Rpackage)
Expand Down
4 changes: 2 additions & 2 deletions R/scto_repos.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
#' @return the repository name (validation)
#' @export
#' @rdname repos
sctoreports <- function() return("SwissClinicalTrialOrganisation/pkg_validation")
sctoreports <- function() return("SwissClinicalTrialOrganisation/validation_platform")
#' @rdname repos
#' @export
sctotests <- function() return("SwissClinicalTrialOrganisation/validation_tests")
#' @rdname repos
#' @export
sctopkg <- function() return("SwissClinicalTrialOrganisation/validation")
sctopkg <- function() return("SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage")

24 changes: 19 additions & 5 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,34 @@ knitr::opts_chunk$set(
)
```

# validation
# SCTORvalidation

<!-- badges: start -->
<!-- badges: end -->

The goal of validation is to provide an easy approach for the documentation and implementation of package and function tests for the SCTO R validation project. Package validations themselves can be found in the [pkg_validation repository](https://github.com/SwissClinicalTrialOrganisation/pkg_validation).
The goal of SCTORvalidation is to provide an easy approach for the documentation and implementation of package and function tests for the SCTO R validation project. Package validations themselves can be found in the [validation_platform repository](https://github.com/SwissClinicalTrialOrganisation/validation_platform).

## Installation

You can install the development version of validation from [GitHub](https://github.com/SwissClinicalTrialOrganisation/validation) with:
You can install the development version of validation from [GitHub](https://github.com/SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage) with:

``` r
# install.packages("devtools")
devtools::install_github("SwissClinicalTrialOrganisation/validation")
devtools::install_github("SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage")
```

or

``` r
install.packages('SCTORvalidation', repos = c('https://ctu-bern.r-universe.dev', 'https://cloud.r-project.org'))
```

## Testing

The package contains a `test` function which is used to run all tests for a named package.

```{r example, eval=FALSE}
library(validation)
library(SCTORvalidation)
## basic example code
# test("presize")
Expand Down Expand Up @@ -64,4 +70,12 @@ test_that("'1:3' creates a sequence of 1, 2, 3",
expect_equal(1:3, c(1,2,3)))
```

### Checking your session

```{r}
library(dplyr)
library(lubridate)
SCTORvalidation::check_session()
```

0 comments on commit 2973845

Please sign in to comment.