Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Cannot find current progress bar for environment #15

Open
rafapereirabr opened this issue Dec 23, 2024 · 0 comments
Open

error: Cannot find current progress bar for environment #15

rafapereirabr opened this issue Dec 23, 2024 · 0 comments
Labels

Comments

@rafapereirabr
Copy link
Member

Strange error when trying to geocode selected cases from sample data.

O erro nao acontece quando geolocalizo a tabela toda (28 observacoes), mas acontece quando tento apenas algumas linhas

reprex

devtools::load_all('.')


# open input data
data_path <- system.file("extdata/small_sample.csv", package = "geocodebr")
input_df <- read.csv(data_path)

input_df_1 <- input_df[1:3,]

fields <- geocodebr::setup_address_fields(
    logradouro = 'nm_logradouro',
    numero = 'Numero',
    cep = 'Cep',
    bairro = 'Bairro',
    municipio = 'nm_municipio',
    estado = 'nm_uf'
  )
  
  
df_geo <- geocodebr:::geocode(
    addresses_table = input_df_1,
    address_fields = fields,
    n_cores = 1,
    progress = T
  )

Error in cli::cli_progress_update(inc = n_rows_affected, status = "Done!", :
Cannot find current progress bar for <environment: 0x000002535c8c2dd8>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant