suncalc.RdThe default location is ZuoLing.
suncalc(Sys.Date())
#> 赤纬角 : 22.66
#> 太阳高度角: -36.59
#> 太阳方位角: 6.20
#> ---
#> 北京时间 : 2026-06-06
#> 当地时间 : 2026-06-06 00:21:34.8
#> ---
#> 日出时间(local): 2026-06-06 05:03:04.188989
#> 日落时间(local): 2026-06-06 18:56:55.811011
#> ---
#> 日出时间(UTC8) : 2026-06-06 04:41:29.388989
#> 日落时间(UTC8) : 2026-06-06 18:35:21.011011
#> angle_elev angle_azimuth angle_sigma delta_minute
#> <num> <num> <num> <Duration>
#> 1: -36.59 6.2 22.65737 1294.8s (~21.58 minutes)
#> time_local time_begin time_end
#> <POSc> <POSc> <POSc>
#> 1: 2026-06-06 00:21:34 2026-06-06 05:03:04 2026-06-06 18:56:55
sunrise(Sys.Date())
#> date time_noon time_beg time_end
#> <Date> <POSc> <POSc> <POSc>
#> 1: 2026-06-06 2026-06-06 14:40:00 2026-06-06 07:44:12 2026-06-06 21:35:47