Skip to content

Commit

Permalink
feat: adding readr
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfg committed Sep 19, 2023
1 parent ee5b4e0 commit 475fbab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pipelines/datasets/br_cvm_fi/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,11 @@ def clean_data_make_partitions_perfil(diretorio, table_id):
utils.chooseCRANmirror(ind=1)
# R package names
packnames = "readr"

utils.install_packages(packnames)
# R vector of strings
names_to_install = [x for x in packnames if not rpackages.isinstalled(x)]
if len(names_to_install) > 0:
utils.install_packages(StrVector(names_to_install))
# names_to_install = [x for x in packnames if not rpackages.isinstalled(x)]
# if len(names_to_install) > 0:

# Import readr

readr = rpackages.importr("readr")
Expand Down

0 comments on commit 475fbab

Please sign in to comment.