Skip to content

Commit 400478b

Browse files
committed
Remove URL from vignettes/databrary.Rmd; add default values to some variables in list_affiliates, list_sessions to address CRAN auto-review errors.
1 parent f66832c commit 400478b

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

CRAN-SUBMISSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Version: 0.5.0
2-
Date: 2023-10-23 17:42:45 UTC
3-
SHA: ee761eaaf4ab86817192725f53655d36ab57259b
1+
Version: 0.5.1
2+
Date: 2023-11-21 21:42:52 UTC
3+
SHA: f66832c4688bd03261f988263613a8325f5a9189

R/list_affiliates.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ list_affiliates <-
6969
id <- NULL
7070
prename <- NULL
7171
sortname <- NULL
72+
pi_id <- NULL
7273
pi_first <- NULL
7374
pi_last <- NULL
7475
pi_affiliation <- NULL
76+
affiliate_id <- NULL
7577
last_name <- NULL
7678
first_name <- NULL
7779
affiliation <- NULL

R/list_sessions.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ list_sessions <- function(vol_id = 1, vb = FALSE) {
2121
assertthat::assert_that(length(vb) == 1)
2222
assertthat::assert_that(is.logical(vb))
2323

24-
2524
#------------------------------------------------------------
2625
# Helper function
2726

@@ -37,10 +36,11 @@ list_sessions <- function(vol_id = 1, vb = FALSE) {
3736
if (dim(df)[1] >= 1) {
3837
df$vol_id <- vol_id
3938

40-
session_id <- NA
41-
top <- NA
42-
date <- NA
43-
release <- NA
39+
session_id <- NULL
40+
top <- NULL
41+
date <- NULL
42+
release <- NULL
43+
name <- NULL
4444

4545
df <- dplyr::rename(df, session_id = "id") |>
4646
dplyr::select(vol_id, session_id, top, date, release)

vignettes/databrary.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Let's get started.
2929

3030
## Registering
3131

32-
Access to most of the material on Databrary requires prior [registration](https://nyu.databrary.org/user/register) and [authorization](https://databrary.org/about/agreement.html) from an institution.
32+
Access to most of the material on Databrary requires prior registration and [authorization](https://databrary.org/about/agreement.html) from an institution.
3333
The authorization process requires formal agreement by an institution.
3434
But you'll create an account ID (email) and secure password when you register.
3535
Then, when you log in with your new credentials, you'll select an existing institution (if yours is on the list), a new institution (if yours isn't), or an existing authorized investigator (if you are a student, postdoc, or collaborator) to request authorization from.

0 commit comments

Comments
 (0)