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

installation errors #13

Open
zhouxp9709 opened this issue Apr 15, 2024 · 2 comments
Open

installation errors #13

zhouxp9709 opened this issue Apr 15, 2024 · 2 comments

Comments

@zhouxp9709
Copy link

Hi,
The following error is reported while installing aPEAR:

267:   edges %>%
268:     .[ , xStart := lapply(from, \
                                     ^

Can it be solved?
Thanks

@shenweiyan
Copy link

I also encountered the same error in R-4.0.3:

> remotes::install_github("ievaKer/aPEAR")
...
Enter one or more numbers, or an empty line to skip updates:checking for file/tmp/RtmpY5mUhM/remotes6f3430880478/kerseviciute-aPEAR-4eb4aec/DESCRIPTION’ (753ms)
─  preparingaPEAR:checking DESCRIPTION meta-information ...checking for LF line-endings in source and make files and shell scriptschecking for empty or unneeded directoriesbuildingaPEAR_1.0.tar.gz* installing *source* packageaPEAR...
** using staged installation
** R
Error in parse(outFile) :
  /tmp/RtmpzmQRpb/R.INSTALLb7a68cab925/aPEAR/R/networkPlot.R:268:33: unexpected input
267:   edges %>%
268:     .[ , xStart := lapply(from, \
                                     ^
ERROR: unable to collate and parse R files for packageaPEAR* removing/home/shenweiyan/SoftWare/R/R-4.0.3/lib64/R/library/aPEARError: Failed to install 'aPEAR' from GitHub:
  (converted from warning) installation of package/tmp/RtmpY5mUhM/file6f341efc7c1b/aPEAR_1.0.tar.gzhad non-zero exit status
> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server release 6.5 (Santiago)

Matrix products: default
BLAS:   /home/shenweiyan/SoftWare/R/R-4.0.3/lib64/R/lib/libRblas.so
LAPACK: /home/shenweiyan/SoftWare/R/R-4.0.3/lib64/R/lib/libRlapack.so

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] remotes_2.2.0

loaded via a namespace (and not attached):
 [1] processx_3.5.1    compiler_4.0.3    R6_2.5.0          rprojroot_2.0.2
 [5] cli_3.6.2         prettyunits_1.1.1 tools_4.0.3       withr_2.5.2
 [9] curl_5.2.1        crayon_1.3.4      callr_3.6.0       pkgbuild_1.1.0
[13] ps_1.4.0
>

@xyzheng123
Copy link

Hi, I'm not sure how helpful this will be since I haven't encountered this issue before, but I wanted to mention that there are multiple versions of aPEAR available. The CRAN version (v1.0.0) is different from the GitHub version (v1.0) and they have different functionalities. You might want to try installing the CRAN version to see if it resolves the issue.

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

3 participants