Skip to content

Commit

Permalink
bug fix set_project was using non-exported function from QCkit. Add t…
Browse files Browse the repository at this point in the history
…ripple : to allow set_project to access QCkit:::get_user_email
  • Loading branch information
RobLBaker committed Oct 7, 2024
1 parent 3c727ce commit 8f3dd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/editEMLfunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ set_project <- function(eml_object,
#test whether user has ownership permissions for the project.
#only run this test if NPS is true and force is false:
if (NPS == TRUE && force == FALSE) {
email <- QCkit::get_user_email()
email <- QCkit:::get_user_email()
ownership <- rjson$permissions$referenceOwners

if (sum(grepl(email, ownership)) < 1) {
Expand Down

0 comments on commit 8f3dd92

Please sign in to comment.