-
Notifications
You must be signed in to change notification settings - Fork 1
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
line in assign_unknown.R causing error in comlandr pull #60
Comments
Version of R this was running in
|
comlandr call arguments
|
I dont get this error using the argument values listed above. Not sure why you are getting this error and i am not. We are using different versions of R but i feel like its something else. sessionInfo()
#> R version 4.2.0 (2022-04-22 ucrt)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 19045)
#>
#> Matrix products: default
#>
#> locale:
#> [1] LC_COLLATE=English_United States.utf8
#> [2] LC_CTYPE=English_United States.utf8
#> [3] LC_MONETARY=English_United States.utf8
#> [4] LC_NUMERIC=C
#> [5] LC_TIME=English_United States.utf8
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] digest_0.6.29 withr_3.0.0 R.methodsS3_1.8.2 lifecycle_1.0.4
#> [5] magrittr_2.0.3 reprex_2.1.0 evaluate_0.23 rlang_1.1.3
#> [9] cli_3.6.2 rstudioapi_0.16.0 fs_1.6.3 R.utils_2.12.3
#> [13] R.oo_1.26.0 vctrs_0.6.5 styler_1.10.3 rmarkdown_2.27
#> [17] tools_4.2.0 R.cache_0.16.0 glue_1.6.2 purrr_1.0.2
#> [21] xfun_0.42 yaml_2.3.5 fastmap_1.1.1 compiler_4.2.0
#> [25] htmltools_0.5.8.1 knitr_1.45 Created on 2024-10-01 with reprex v2.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This line causes a mismatch error in a merge for me, because it results in names VAR1 VAR2 etc instead of the intended names.
comlandr/R/assign_unknown.R
Line 103 in 28b4c58
To correct this, I added
unname()
to the line:this allowed the function to proceed, so would allow
get_comland_data
to return the datasetI have not yet reviewed the dataset but wanted to flag this now
The text was updated successfully, but these errors were encountered: