Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb9323df

Browse files
committed
Do not error if config file is unwritable
Fixes#13
1 parent7ae4a2f commitb9323df

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎DESCRIPTION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: credentials
22
Type: Package
33
Title: Tools for Managing SSH and Git Credentials
4-
Version: 1.3.0
4+
Version: 1.3.1
55
Authors@R: person("Jeroen", "Ooms", role = c("aut", "cre"),
66
email = "jeroen@berkeley.edu", comment = c(ORCID = "0000-0002-4035-0289"))
77
Description: Setup and retrieve HTTPS and SSH credentials for use with 'git' and

‎R/onattach.R‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,12 @@ set_default_cred_helper <- function(){
6464
invisible(tryCatch({
6565
credential_helper_get()
6666
},error=function(...){
67-
helper<- credential_helper_list()[1]
68-
credential_helper_set(helper,global=TRUE)
67+
tryCatch({
68+
helper<- credential_helper_list()[1]
69+
credential_helper_set(helper,global=TRUE)
70+
},error=function(e){
71+
packageStartupMessage(e$message)
72+
})
6973
}))
7074
}
7175
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp