Running examples in ‘colorhex-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_latest_palettes
> ### Title: Get latest palettes
> ### Aliases: get_latest_palettes
> 
> ### ** Examples
> 
> if(curl::has_internet()){
+ get_latest_palettes()
+ }
Error in `FUN()`:
! 'NA' is not a valid hexidecimal colour.
Backtrace:
     ▆
  1. └─colorhex::get_latest_palettes()
  2.   └─colorhex:::get_pals(resp)
  3.     ├─colorhex:::palettehex(title, number, lapply(pal2, get_pal_color))
  4.     └─base::lapply(pal2, get_pal_color)
  5.       └─colorhex (local) FUN(X[[i]], ...)
  6.         └─colorhex:::get_bkg_color(x)
  7.           └─base::sapply(x, fix_hex)
  8.             └─base::lapply(X = X, FUN = FUN, ...)
  9.               └─colorhex (local) FUN(X[[i]], ...)
 10.                 └─cli::cli_abort("'{x}' is not a valid hexidecimal colour.")
 11.                   └─rlang::abort(...)
Execution halted
Running examples in 'colorhex-Ex.R' failed
The error most likely occurred in:

> ### Name: get_latest_palettes
> ### Title: Get latest palettes
> ### Aliases: get_latest_palettes
> 
> ### ** Examples
> 
> if(curl::has_internet()){
+ get_latest_palettes()
+ }
Error in `FUN()`:
! 'NA' is not a valid hexidecimal colour.
Backtrace:
     ▆
  1. └─colorhex::get_latest_palettes()
  2.   └─colorhex:::get_pals(resp)
  3.     ├─colorhex:::palettehex(title, number, lapply(pal2, get_pal_color))
  4.     └─base::lapply(pal2, get_pal_color)
  5.       └─colorhex (local) FUN(X[[i]], ...)
  6.         └─colorhex:::get_bkg_color(x)
  7.           └─base::sapply(x, fix_hex)
  8.             └─base::lapply(X = X, FUN = FUN, ...)
  9.               └─colorhex (local) FUN(X[[i]], ...)
 10.                 └─cli::cli_abort("'{x}' is not a valid hexidecimal colour.")
 11.                   └─rlang::abort(...)
Execution halted