Namespace in Imports field not imported from: ‘lubridate’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘lubridate’
  All declared Imports should be used.
Namespace in Imports field not imported from: 'lubridate'
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Running examples in 'meedr-Ex.R' failed
The error most likely occurred in:

> ### Name: get_quarterly
> ### Title: Get data on quarterly market expectations for economic
> ###   indicators (Focus/BCB)
> ### Aliases: get_quarterly
> 
> ### ** Examples
> 
> df <- get_quarterly(
+   indicator = "PIB Total",
+   reference_date = paste0(lubridate::quarter(Sys.Date()), "/",
+                           lubridate::year(Sys.Date())
+                           ),
+   use_memoise = FALSE
+ )

Fetching [PIB Total] data from BCB-Olinda... 

Found 350 observations!
Warning in names[cols] <- .fn(names[cols], ...) :
  number of items to replace is not a multiple of replacement length
Error: Names must be unique.
x These names are duplicated:
  * "indicator" at locations 1 and 11.
Backtrace:
    x
 1. \-meedr::get_quarterly(...)
 2.   +-dplyr::rename_with(...)
 3.   \-dplyr:::rename_with.data.frame(...)
 4.     \-vctrs::vec_as_names(names, repair = "check_unique")
 5.       \-(function () ...
 6.         \-vctrs:::validate_unique(names = names, arg = arg)
 7.           \-vctrs:::stop_names_must_be_unique(names, arg)
 8.             \-vctrs:::stop_names(...)
 9.               \-vctrs:::stop_vctrs(class = c(class, "vctrs_error_names"), ...)
Execution halted
Namespace in Imports field not imported from: ‘lubridate’
  All declared Imports should be used.
Running examples in ‘meedr-Ex.R’ failed
The error most likely occurred in:

> ### Name: get_quarterly
> ### Title: Get data on quarterly market expectations for economic
> ###   indicators (Focus/BCB)
> ### Aliases: get_quarterly
> 
> ### ** Examples
> 
> df <- get_quarterly(
+   indicator = "PIB Total",
+   first_date = Sys.Date() - 30,
+   reference_date = paste0(lubridate::quarter(Sys.Date()), "/",
+                           lubridate::year(Sys.Date())
+                           ),
+   use_memoise = FALSE
+ )

Fetching [PIB Total] data from BCB-Olinda... 
Error: 
Error in fetching data: Timeout was reached: [olinda.bcb.gov.br] Operation timed out after 10008 milliseconds with 0 out of 0 bytes received
Execution halted
Namespace in Imports field not imported from: ‘lubridate’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: ‘lubridate’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in 'meedr-Ex.R' failed
The error most likely occurred in:

> ### Name: get_quarterly
> ### Title: Get data on quarterly market expectations for economic
> ###   indicators (Focus/BCB)
> ### Aliases: get_quarterly
> 
> ### ** Examples
> 
> df <- get_quarterly(
+   indicator = "PIB Total",
+   reference_date = paste0(lubridate::quarter(Sys.Date()), "/",
+                           lubridate::year(Sys.Date())
+                           ),
+   use_memoise = FALSE
+ )

Fetching [PIB Total] data from BCB-Olinda... 

Found 350 observations!
Warning in names[cols] <- .fn(names[cols], ...) :
  number of items to replace is not a multiple of replacement length
Error: Names must be unique.
x These names are duplicated:
  * "indicator" at locations 1 and 11.
Backtrace:
    x
 1. \-meedr::get_quarterly(...)
 2.   +-dplyr::rename_with(...)
 3.   \-dplyr:::rename_with.data.frame(...)
 4.     \-vctrs::vec_as_names(names, repair = "check_unique")
 5.       \-(function () ...
 6.         \-vctrs:::validate_unique(names = names, arg = arg)
 7.           \-vctrs:::stop_names_must_be_unique(names, arg)
 8.             \-vctrs:::stop_names(...)
 9.               \-vctrs:::stop_vctrs(class = c(class, "vctrs_error_names"), ...)
Execution halted
Namespace in Imports field not imported from: ‘lubridate’
  All declared Imports should be used.