Thanks again Davis! The fix was rather easy, once I found the solution, (thank you HenrikBengtsson) which was to edit/create ~/.Renviron
and include the line:
R_LIBS_USER="c:/a/clean/path/win-library/%v"
Then re-start R
.
Et voilà! (Did you see what I did right there?)
- Paths are set to what I want and
clock
needs. -
library(clock)
loads without issues, and - tzdb::tzdb_names() works too
Huzzah!
.libPaths()
#> [1] "C:/Users/mlyons/Documents/R/win-library/4.1"
#> [2] "C:/Program Files/R/R-4.1.0/library"
library(clock)
tzdb::tzdb_names()
#> [1] "Africa/Abidjan" "Africa/Accra"
#> [3] "Africa/Addis_Ababa" "Africa/Algiers"
#> [5] "Africa/Asmara" "Africa/Asmera"
#> [7] "Africa/Bamako" "Africa/Bangui"
#> [9] "Africa/Banjul" "Africa/Bissau"
#> [11] "Africa/Blantyre" "Africa/Brazzaville"
#> [13] "Africa/Bujumbura" "Africa/Cairo"
#> [15] "Africa/Casablanca" "Africa/Ceuta"
#> [17] "Africa/Conakry" "Africa/Dakar"
<< -- snip! -- >>
#> [571] "Portugal" "ROC"
#> [573] "ROK" "Singapore"
#> [575] "Turkey" "UCT"
#> [577] "US/Alaska" "US/Aleutian"
#> [579] "US/Arizona" "US/Central"
#> [581] "US/East-Indiana" "US/Eastern"
#> [583] "US/Hawaii" "US/Indiana-Starke"
#> [585] "US/Michigan" "US/Mountain"
#> [587] "US/Pacific" "US/Samoa"
#> [589] "UTC" "Universal"
#> [591] "W-SU" "WET"
#> [593] "Zulu"
Created on 2021-07-30 by the reprex package (v2.0.0)