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

projects() function causes R session to abort #616

Open
jack-nicol opened this issue Mar 10, 2023 · 2 comments
Open

projects() function causes R session to abort #616

jack-nicol opened this issue Mar 10, 2023 · 2 comments

Comments

@jack-nicol
Copy link

jack-nicol commented Mar 10, 2023

Invoking the projects() function causes R sessions to abort.

simple code to move a dataset to a folder ends up aborting the R session, see example:

projects() %>%
  mv(ds, "Path/To/A/Folder/Containing/Datasets")

also pulling current session info, but want to note that this problem has occurred on older versions of MacOS (and on Intel Mac, not just M1 Mac) and R:

> sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.2.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] lubridate_1.9.2       forcats_1.0.0         stringr_1.5.0         dplyr_1.1.0           purrr_1.0.1           readr_2.1.4          
 [7] tidyr_1.3.0           tibble_3.2.0          ggplot2_3.4.1         tidyverse_2.0.0       haven_2.5.2           willbclean_0.0.0.9000
[13] ygds_0.2.2            ygdatum_0.1.1         ygbds_0.1.9           crunch_1.30.2        

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.10      lattice_0.20-45  pdftools_3.3.3   digest_0.6.31    conflicted_1.2.0 utf8_1.2.3       R6_2.5.1         survey_4.1-1    
 [9] httr_1.4.5       srvyr_1.2.0      pillar_1.8.1     rlang_1.0.6      curl_5.0.0       rstudioapi_0.14  blob_1.2.3       Matrix_1.5-3    
[17] ggchicklet_0.6.0 qpdf_1.3.0       RPostgres_1.4.5  splines_4.2.2    bit_4.0.5        munsell_0.5.0    compiler_4.2.2   pkgconfig_2.0.3 
[25] askpass_1.1      mitools_2.4      tidyselect_1.2.0 fansi_1.0.4      crayon_1.5.2     tzdb_0.3.0       withr_2.5.0      MASS_7.3-58.3   
[33] grid_4.2.2       jsonlite_1.8.4   gtable_0.3.1     lifecycle_1.0.3  DBI_1.1.3        magrittr_2.0.3   scales_1.2.1     cli_3.6.0       
[41] stringi_1.7.12   cachem_1.0.7     ellipsis_0.3.2   generics_0.1.3   vctrs_0.5.2      httpcache_1.2.0  tools_4.2.2      bit64_4.0.5     
[49] glue_1.6.2       hms_1.1.2        fastmap_1.1.1    survival_3.5-3   timechange_0.2.0 colorspace_2.1-0 memoise_2.0.1  
@gergness
Copy link
Contributor

Hi, so strange! I can't reproduce here, but we are changing a lot of things related to this (projects and moving datasets, as well as subdomains).

  1. Thanks for sending the session info, can you also send the results of: crunch_sitrep()

  2. Title implies it's all uses of projects(), but example is of moving a dataset. Does just running projects() cause the crash too, or only moving datasets?

@jack-nicol
Copy link
Author

for crunch_sitrep, here's what I return:

> crunch::crunch_sitrep()
crunch API situation report
API: https://yougov.crunch.io/api/
     (found in environment variable `R_CRUNCH_API`)
key: apk-cmawt***************************************
     (found in environment variable `R_CRUNCH_API_KEY`)

As for 2, we typically see it when moving datasets. I don't normally use just projects() by itself.

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

No branches or pull requests

2 participants