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

unable to run “gn_parse_tidy” #24

Open
SimaSohrabi opened this issue May 9, 2023 · 6 comments
Open

unable to run “gn_parse_tidy” #24

SimaSohrabi opened this issue May 9, 2023 · 6 comments

Comments

@SimaSohrabi
Copy link

During run the “gn_parse_tidy”, Its showing the following error.
Error in sys::exec_internal(find_gnparser(), ...) :
Executing 'C:\Users\DR Gherekhloo\AppData\Roaming\gnparser\gnparser.exe' failed with status 2
df
#> function (x, df1, df2, ncp, log = FALSE)
#> {
#> if (missing(ncp))
#> .Call(C_df, x, df1, df2, log)
#> else .Call(C_dnf, x, df1, df2, ncp, log)
#> }
#> <bytecode: 0x00000000090f84b8>
#> <environment: namespace:stats>

sessionInfo()
R version 4.3.0 beta (2023-04-09 r84208 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

time zone: Asia/Tehran
tzcode source: internal

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

other attached packages:
[1] reprex_2.0.2 rWCVP_1.2.4 rgnparser_0.2.6 RcmdrMisc_2.7-2 sandwich_3.0-2
[6] car_3.1-2 carData_3.0-5

loaded via a namespace (and not attached):
[1] DBI_1.1.3 ada_2.0-5 gridExtra_2.3
[4] readxl_1.4.2 rlang_1.1.0 magrittr_2.0.3
[7] e1071_1.7-13 compiler_4.3.0 RSQLite_2.3.1
[10] callr_3.7.3 vctrs_0.6.1 stringr_1.5.0
[13] pkgconfig_2.0.3 fastmap_1.1.1 backports_1.4.1
[16] utf8_1.2.3 rmarkdown_2.21 prodlim_2023.03.31
[19] tzdb_0.3.0 ps_1.7.5 haven_2.5.2
[22] purrr_1.0.1 bit_4.0.5 xfun_0.38
[25] cachem_1.0.7 jsonlite_1.8.4 blob_1.2.4
[28] styler_1.9.1 parallel_4.3.0 cluster_2.1.4
[31] R6_2.5.1 stringi_1.7.12 parallelly_1.35.0
[34] rpart_4.1.19 cellranger_1.1.0 Rcpp_1.0.10
[37] knitr_1.42 future.apply_1.10.0 zoo_1.8-11
[40] R.utils_2.12.2 base64enc_0.1-3 readr_2.1.4
[43] R.cache_0.16.0 Matrix_1.5-4 splines_4.3.0
[46] nnet_7.3-18 tidyselect_1.2.0 yaml_2.3.7
[49] rstudioapi_0.14 abind_1.4-5 codetools_0.2-19
[52] processx_3.8.0 listenv_0.9.0 lattice_0.21-8
[55] tibble_3.2.1 withr_2.5.0 evaluate_0.20
[58] foreign_0.8-84 future_1.32.0 survival_3.5-5
[61] sf_1.0-12 units_0.8-1 proxy_0.4-27
[64] xml2_1.3.3 pillar_1.9.0 KernSmooth_2.23-20
[67] checkmate_2.1.0 nortest_1.0-4 generics_0.1.3
[70] phonics_1.3.10 rWCVPdata_0.3.1 hms_1.1.3
[73] ggplot2_3.4.2 munsell_0.5.0 scales_1.2.1
[76] ff_4.0.9 globals_0.16.2 xtable_1.8-4
[79] class_7.3-21 glue_1.6.2 RecordLinkage_0.4-12.4
[82] clipr_0.8.0 Hmisc_5.0-1 tools_4.3.0
[85] sys_3.4.1 data.table_1.14.8 forcats_1.0.0
[88] fs_1.6.1 grid_4.3.0 tidyr_1.3.0
[91] ipred_0.9-14 colorspace_2.1-0 htmlTable_2.4.1
[94] Formula_1.2-5 cli_3.6.1 evd_2.3-6.1
[97] fansi_1.0.4 lava_1.7.2.1 gt_0.9.0
[100] dplyr_1.1.1 gtable_0.3.3 R.methodsS3_1.8.2
[103] digest_0.6.31 classInt_0.4-9 htmlwidgets_1.6.2
[106] R.oo_1.25.0 memoise_2.0.1 htmltools_0.5.5
[109] lifecycle_1.0.3 bit64_4.0.5 MASS_7.3-58.4

@joelnitta
Copy link
Contributor

Can you please provide the command (and any associated code) that you tried to run that resulted in the error?

It looks like you have an object called df that you think is a dataframe but is actually a function.

@joelnitta
Copy link
Contributor

As indicated in the value of df in the OP, df is a function from the stats package (https://github.com/rho-devel/rho/blob/bf6c652b826cd892e88630eb35f182b614af52b1/src/library/stats/R/distn.R#L199)

@SimaSohrabi
Copy link
Author

SimaSohrabi commented May 10, 2023 via email

@joelnitta
Copy link
Contributor

Are you able to run the example code below?

x <- c("Quadrella steyermarkii (Standl.) Iltis & Cornejo",
  "Parus major Linnaeus, 1788", "Helianthus annuus var. texanus")
gn_parse_tidy(x)

@SimaSohrabi
Copy link
Author

SimaSohrabi commented May 11, 2023 via email

@joelnitta
Copy link
Contributor

joelnitta commented Sep 19, 2023

@SimaSohrabi there have been several changes to the package since you filed this issue. Can you try installing the latest development version with remotes::install_github("ropensci/rgnparser") then try again?

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