You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
library(ARUtools)
library(dplyr)
#> #> Attaching package: 'dplyr'#> The following objects are masked from 'package:stats':#> #> filter, lag#> The following objects are masked from 'package:base':#> #> intersect, setdiff, setequal, union
library(purrr)
#> #> Attaching package: 'purrr'#> The following object is masked from 'package:base':#> #> %||%
library(tidyr)
library(glue)
library(lubridate)
#> #> Attaching package: 'lubridate'#> The following objects are masked from 'package:base':#> #> date, intersect, setdiff, union
s<- clean_site_index(example_sites_clean,
name_date= c("date_time_start", "date_time_end")
)
m<- clean_metadata(project_files=example_files) |>
add_sites(s) |>
calc_sun() |>
mutate(
time_period= if_else(hour(date_time) <6, "early", "late"),
year= year(date)
)
#> Extracting ARU info...#> Extracting Dates and Times...#> Joining by columns `date_time_start` and `date_time_end`
Expected behavior
Having upper case column names shouldn't cause the function to fail and if that is wanted, it should at least be clear about why it is throwing an error.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Created on 2024-07-03 with reprex v2.1.0.9000
Expected behavior
Having upper case column names shouldn't cause the function to fail and if that is wanted, it should at least be clear about why it is throwing an error.
The text was updated successfully, but these errors were encountered: