mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-22 13:00:23 +01:00
Compare commits
6 Commits
1522fa1e74
...
cce53e4cca
Author | SHA1 | Date | |
---|---|---|---|
cce53e4cca | |||
ff9270d1e9 | |||
fed6711990 | |||
55679c7845 | |||
|
eed01daa57 | ||
|
03ac739d8b |
@ -1,3 +1,3 @@
|
||||
Version: 23.4.1
|
||||
Date: 2023-04-13 11:57:00 UTC
|
||||
SHA: 86bb9dc95357d5861603e3d487b59e1761edcded
|
||||
Version: 23.6.3
|
||||
Date: 2023-07-03 12:02:38 UTC
|
||||
SHA: ff9270d1e9493760f5aef123d52f48e0148f8da2
|
||||
|
@ -1,6 +1,6 @@
|
||||
Package: stRoke
|
||||
Title: Clinical Stroke Research
|
||||
Version: 23.6.2
|
||||
Version: 23.6.3
|
||||
Authors@R:
|
||||
person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"),
|
||||
comment = c(ORCID = "0000-0002-7559-1154"))
|
||||
|
6
NEWS.md
6
NEWS.md
@ -1,3 +1,9 @@
|
||||
# stRoke 23.6.3
|
||||
|
||||
### Bug
|
||||
|
||||
* Fixed `ds2dd()` bug after first practical implementation.
|
||||
|
||||
# stRoke 23.6.2
|
||||
|
||||
### Functions:
|
||||
|
@ -13,6 +13,8 @@ utils::globalVariables(c("metadata_names"))
|
||||
#' names.
|
||||
#' @param include.column.names Flag to give detailed output including new
|
||||
#' column names for original data set for upload.
|
||||
#' @param metadata Metadata dataframe. Default is the included
|
||||
#' stRoke::metadata_names.
|
||||
#'
|
||||
#' @return data.frame or list of data.frame and vector
|
||||
#' @export
|
||||
@ -27,9 +29,10 @@ ds2dd <-
|
||||
form.name = "basis",
|
||||
field.type = "text",
|
||||
field.label = NULL,
|
||||
include.column.names = FALSE) {
|
||||
dd <- data.frame(matrix(ncol = length(metadata_names), nrow = ncol(ds)))
|
||||
colnames(dd) <- metadata_names
|
||||
include.column.names = FALSE,
|
||||
metadata = stRoke::metadata_names) {
|
||||
dd <- data.frame(matrix(ncol = length(metadata), nrow = ncol(ds)))
|
||||
colnames(dd) <- metadata
|
||||
|
||||
if (is.character(record.id) & !record.id %in% colnames(ds)) {
|
||||
stop("Provided record.id is not a variable name in provided data set.")
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- badges: start -->
|
||||
[![GitHub R package version](https://img.shields.io/github/r-package/v/agdamsbo/stRoke)](https://github.com/agdamsbo/stRoke)
|
||||
[![CRAN/METACRAN](https://img.shields.io/cran/v/stRoke)](https://CRAN.R-project.org/package=stRoke)
|
||||
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8013981.svg)](https://doi.org/10.5281/zenodo.8013981)
|
||||
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8013980.svg)](https://doi.org/10.5281/zenodo.8013980)
|
||||
[![Github Actions](https://github.com/agdamsbo/stRoke/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/agdamsbo/stRoke/actions/workflows/R-CMD-check.yaml)
|
||||
[![Page deployed](https://github.com/agdamsbo/stRoke/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/agdamsbo/stRoke/actions/workflows/pages/pages-build-deployment)
|
||||
[![Codecov test coverage](https://codecov.io/gh/agdamsbo/stRoke/branch/main/graph/badge.svg)](https://app.codecov.io/gh/agdamsbo/stRoke?branch=main)
|
||||
|
@ -1,45 +1,49 @@
|
||||
####
|
||||
This is a new package version
|
||||
|
||||
## Test environments
|
||||
- R-hub windows-x86_64-devel (r-devel)
|
||||
- R-hub ubuntu-gcc-release (r-release)
|
||||
- R-hub fedora-clang-devel (r-devel)
|
||||
|
||||
## R CMD check results
|
||||
❯ On windows-x86_64-devel (r-devel)
|
||||
checking for detritus in the temp directory ... NOTE
|
||||
|
||||
0 errors | 0 warnings | 1 note
|
||||
|
||||
* This is a new release.
|
||||
|
||||
## From 'rhub::check_for_cran()'
|
||||
|
||||
> results
|
||||
|
||||
── stRoke 23.6.3: NOTE
|
||||
|
||||
Build ID: stRoke_23.6.3.tar.gz-02460c19f45e403eb1b115ac763abc6d
|
||||
Platform: Windows Server 2022, R-devel, 64 bit
|
||||
Submitted: 1h 56m 49.6s ago
|
||||
Build time: 5m 11.1s
|
||||
|
||||
❯ checking for non-standard things in the check directory ... NOTE
|
||||
|
||||
|
||||
❯ checking for detritus in the temp directory ... NOTE
|
||||
Found the following files/directories:
|
||||
'lastMiKTeXException'
|
||||
|
||||
❯ On ubuntu-gcc-release (r-release)
|
||||
checking CRAN incoming feasibility ... NOTE
|
||||
Maintainer: ‘Andreas Gammelgaard Damsbo <agdamsbo@clin.au.dk>’
|
||||
0 errors ✔ | 0 warnings ✔ | 2 notes ✖
|
||||
|
||||
Found the following (possibly) invalid URLs:
|
||||
URL: https://doi.org/10.1161/STROKEAHA.117.020067
|
||||
From: inst/doc/toolbox.html
|
||||
Status: 403
|
||||
Message: Forbidden
|
||||
URL: https://doi.org/10.1161/STROKEAHA.121.037744
|
||||
From: inst/doc/toolbox.html
|
||||
NEWS.md
|
||||
Status: 403
|
||||
Message: Forbidden
|
||||
── stRoke 23.6.3: NOTE
|
||||
|
||||
Found the following (possibly) invalid DOIs:
|
||||
DOI: 10.1161/STROKEAHA.117.020067
|
||||
From: DESCRIPTION
|
||||
Status: Forbidden
|
||||
Message: 403
|
||||
DOI: 10.1161/STROKEAHA.121.037744
|
||||
From: DESCRIPTION
|
||||
Status: Forbidden
|
||||
Message: 403
|
||||
Build ID: stRoke_23.6.3.tar.gz-d174f9de31a94b81b697dd9c28bcdf9f
|
||||
Platform: Ubuntu Linux 20.04.1 LTS, R-release, GCC
|
||||
Submitted: 1h 56m 49.7s ago
|
||||
Build time: 1h 20m 33.6s
|
||||
|
||||
❯ On fedora-clang-devel (r-devel)
|
||||
checking HTML version of manual ... NOTE
|
||||
❯ checking HTML version of manual ... NOTE
|
||||
Skipping checking HTML validation: no command 'tidy' found
|
||||
|
||||
0 errors ✔ | 0 warnings ✔ | 3 notes ✖
|
||||
0 errors ✔ | 0 warnings ✔ | 1 note ✖
|
||||
|
||||
── stRoke 23.6.3: NOTE
|
||||
|
||||
Build ID: stRoke_23.6.3.tar.gz-22dfd84a4ab244f6ae09928a12737bf0
|
||||
Platform: Fedora Linux, R-devel, clang, gfortran
|
||||
Submitted: 1h 56m 49.7s ago
|
||||
Build time: 1h 12m 16s
|
||||
|
||||
❯ checking HTML version of manual ... NOTE
|
||||
Skipping checking HTML validation: no command 'tidy' found
|
||||
|
||||
0 errors ✔ | 0 warnings ✔ | 1 note ✖
|
@ -10,7 +10,8 @@ ds2dd(
|
||||
form.name = "basis",
|
||||
field.type = "text",
|
||||
field.label = NULL,
|
||||
include.column.names = FALSE
|
||||
include.column.names = FALSE,
|
||||
metadata = stRoke::metadata_names
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
@ -31,6 +32,9 @@ names.}
|
||||
|
||||
\item{include.column.names}{Flag to give detailed output including new
|
||||
column names for original data set for upload.}
|
||||
|
||||
\item{metadata}{Metadata dataframe. Default is the included
|
||||
stRoke::metadata_names.}
|
||||
}
|
||||
\value{
|
||||
data.frame or list of data.frame and vector
|
||||
|
Loading…
Reference in New Issue
Block a user