Skip to content

Commit

Permalink
Update miembros_functions.R
Browse files Browse the repository at this point in the history
Amend NateAnderson (NA) error
  • Loading branch information
iramosgutierrez authored Feb 26, 2025
1 parent 5d5d88c commit d625cac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/miembros_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ create_profile_qmd <- function(form.table, row){
github <- pers.table$`Cuenta de GitHub`
social <- pers.table$`Cuenta de Bluesky o Twitter`

github <- ifelse(grepl("https://", github), github, paste0("https://github.com/", github))
if(!is.na(github)){
github <- ifelse(grepl("https://", github), github, paste0("https://github.com/", github))
}

gh.icon <- fontawesome::fa(name = "github", fill = "#71706F", height = "1em")
at.icon <- fontawesome::fa(name = "at", fill = "#71706F", height = "1em")
Expand Down

0 comments on commit d625cac

Please sign in to comment.