CRAN Package Check Results for Package meedr

Last updated on 2021-07-18 07:50:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.1 2.86 26.68 29.54 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.1 2.27 20.94 23.21 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.1 44.89 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.1 34.07 ERROR
r-devel-windows-x86_64 0.0.1 6.00 64.00 70.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.0.1 ERROR
r-patched-linux-x86_64 0.0.1 2.76 25.76 28.52 ERROR
r-patched-solaris-x86 0.0.1 51.10 ERROR
r-release-linux-x86_64 0.0.1 2.81 25.95 28.76 ERROR
r-release-macos-arm64 0.0.1 NOTE
r-release-macos-x86_64 0.0.1 NOTE
r-release-windows-ix86+x86_64 0.0.1 7.00 56.00 63.00 ERROR
r-oldrel-macos-x86_64 0.0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.0.1 7.00 58.00 65.00 ERROR

Additional issues

M1mac

Check Details

Version: 0.0.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 0.0.1
Check: examples
Result: ERROR
    Running examples in 'meedr-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### 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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.0.1
Check: examples
Result: ERROR
    Running examples in ‘meedr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### 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.
    ✖ These names are duplicated:
     * "indicator" at locations 1 and 11.
    Backtrace:
     █
     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
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.0.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘lubridate’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.0.1
Check: examples
Result: ERROR
    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.
    ✖ These names are duplicated:
     * "indicator" at locations 1 and 11.
    Backtrace:
     █
     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
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.0.1
Check: examples
Result: ERROR
    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 340 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.
    ✖ These names are duplicated:
     * "indicator" at locations 1 and 11.
    Backtrace:
     █
     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
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.0.1
Check: examples
Result: ERROR
    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
Flavors: r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-oldrel-windows-ix86+x86_64

Version: 0.0.1
Check: examples
Result: ERROR
    Running examples in ‘meedr-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get_annual_top5
    > ### Title: Get data on annual market expectations for the Top 5 indicators
    > ### (Focus/BCB)
    > ### Aliases: get_annual_top5
    >
    > ### ** Examples
    >
    > df <- get_annual_top5(
    + indicator = "IPCA",
    + reference_date = format(Sys.Date(), "%Y"),
    + use_memoise = FALSE
    + )
    
    Fetching [IPCA] data from BCB-Olinda...
    Error:
    Error in fetching data: Timeout was reached: [olinda.bcb.gov.br] Resolving timed out after 10000 milliseconds
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.0.1
Check: examples
Result: ERROR
    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 340 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
Flavor: r-release-windows-ix86+x86_64