Skip to content

Commit

Permalink
rev
Browse files Browse the repository at this point in the history
  • Loading branch information
Edouard-Legoupil committed Nov 7, 2023
1 parent 5bbde73 commit 526940c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions R/unhcrverse.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ unhcrverse <- function( dev = FALSE) {
## Core Dev - Cedric Vidonne

if( dev == TRUE ) {
chck <- check_github('vidonne/unhcrthemes')
chck <- check_github('unhcr-dataviz/unhcrthemes')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) {update_github('unhcr-dataviz/unhcrthemes')}
} else {
chck <- check_github('unhcrverse/unhcrthemes')
chck <- check_github('unhcr-dataviz/unhcrthemes')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) { update_github('unhcr-dataviz/unhcrthemes') }
}

if( dev == TRUE ) {
chck <- check_github('vidonne/unhcrdown')
chck <- check_github('unhcr-dataviz/unhcrdown')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) { update_github('unhcr-dataviz/unhcrdown')}
} else {
chck <- check_github('unhcrverse/unhcrdown')
chck <- check_github('unhcr-dataviz/unhcrdown')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) { update_github('unhcr-dataviz/unhcrdown') }
}

Expand Down
2 changes: 1 addition & 1 deletion R/update_github.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#'
#' Update package from github
#'
#' @param pkg
#' @param pkg list of packages from universe
#'
#' @importFrom utils installed.packages packageDescription
#' @importFrom pak pkg_install
Expand Down
8 changes: 4 additions & 4 deletions dev/dev_fusen.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -193,18 +193,18 @@ unhcrverse <- function( dev = FALSE) {
## Core Dev - Cedric Vidonne
if( dev == TRUE ) {
chck <- check_github('vidonne/unhcrthemes')
chck <- check_github('unhcr-dataviz/unhcrthemes')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) {update_github('unhcr-dataviz/unhcrthemes')}
} else {
chck <- check_github('unhcrverse/unhcrthemes')
chck <- check_github('unhcr-dataviz/unhcrthemes')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) { update_github('unhcr-dataviz/unhcrthemes') }
}
if( dev == TRUE ) {
chck <- check_github('vidonne/unhcrdown')
chck <- check_github('unhcr-dataviz/unhcrdown')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) { update_github('unhcr-dataviz/unhcrdown')}
} else {
chck <- check_github('unhcrverse/unhcrdown')
chck <- check_github('unhcr-dataviz/unhcrdown')
if( chck$up_to_date == FALSE | is.na( chck$up_to_date) ) { update_github('unhcr-dataviz/unhcrdown') }
}
Expand Down
2 changes: 1 addition & 1 deletion man/update_github.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 526940c

Please sign in to comment.