dagitty icon indicating copy to clipboard operation
dagitty copied to clipboard

Problem with installation, stacksmashing

Open japhir opened this issue 3 years ago • 1 comments

Hi, I'm not able to install either the CRAN or the development package on my system. I get the below warning about stack smashing:

install_github("jtextor/dagitty/r", lib='~/R/x86_64-pc-linux-gnu-library/')
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo jtextor/dagitty@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All
2: CRAN packages only
3: None
4: jsonlite (1.7.3 -> 1.8.0) [CRAN]
5: V8       (4.0.0 -> 4.1.0) [CRAN]

Enter one or more numbers, or an empty line to skip updates:
✔  checking for file ‘/tmp/RtmpIAi4xs/remotes128e77fe0e382/jtextor-dagitty-465782d/r/DESCRIPTION’ ...
─  preparing ‘dagitty’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘dagitty_0.3-2.tar.gz’

* installing *source* package ‘dagitty’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
*** stack smashing detected ***: terminated
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** stack smashing detected ***: terminated
** testing if installed package can be loaded from final location
*** stack smashing detected ***: terminated
** testing if installed package keeps a record of temporary installation path
Warning in file(con, "rb") :
  cannot open file '/tmp/Rtmp5a5wQ4/file128f824fc32fea': No such file or directory
Error in file(con, "rb") : cannot open the connection
* removing ‘/home/japhir/R/x86_64-pc-linux-gnu-library/dagitty’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/RtmpIAi4xs/file128e776d035b6/dagitty_0.3-2.tar.gz’ had non-zero exit status
sessionInfo()
sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux

Matrix products: default
BLAS:   /usr/lib/libopenblasp-r0.3.20.so
LAPACK: /usr/lib/liblapack.so.3.10.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

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

other attached packages:
[1] devtools_2.4.3 usethis_2.1.5

loaded via a namespace (and not attached):
 [1] magrittr_2.0.1    pkgload_1.2.4     R6_2.5.1          rlang_0.4.12
 [5] fastmap_1.1.0     fansi_1.0.2       tools_4.1.2       pkgbuild_1.3.1
 [9] sessioninfo_1.2.2 utf8_1.2.2        cli_3.1.1         withr_2.4.3
[13] ellipsis_0.3.2    remotes_2.4.2     rprojroot_2.0.2   tibble_3.1.6
[17] lifecycle_1.0.1   crayon_1.4.2      brio_1.1.3        processx_3.5.2
[21] purrr_0.3.4       callr_3.7.0       vctrs_0.3.8       fs_1.5.2
[25] ps_1.6.0          curl_4.3.2        testthat_3.1.2    memoise_2.0.1
[29] glue_1.6.1        cachem_1.0.6      compiler_4.1.2    pillar_1.6.4
[33] desc_1.4.0        prettyunits_1.1.1 pkgconfig_2.0.3

japhir avatar Mar 03 '22 13:03 japhir

breaks also under OSX 11.6. 'dagify' is not an exported object from 'namespace:dagitty' and non-function in ct$eval(paste("global.", name, "=", jsonlite::toJSON(value, auto_unbox = auto_unbox

under-score avatar Mar 08 '22 11:03 under-score