I am facing problem to install a package from github

devtools::install_github("itchyshin/orchard_plot", subdir = "orchaRd", force = TRUE,

  • build_vignettes = TRUE)

Downloading GitHub repo itchyshin/orchard_plot@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────

checking for file 'C:\Users\Administrator\AppData\Local\Temp\Rtmpgn0QOU\remotes2ec269b6d5c\itchyshin-orchard_plot-1c8b338\orchaRd/DESCRIPTION' ...

:heavy_check_mark: checking for file 'C:\Users\Administrator\AppData\Local\Temp\Rtmpgn0QOU\remotes2ec269b6d5c\itchyshin-orchard_plot-1c8b338\orchaRd/DESCRIPTION' (663ms)

─ preparing 'orchaRd': (637ms)
checking DESCRIPTION meta-information ...

checking DESCRIPTION meta-information ...

:heavy_check_mark: checking DESCRIPTION meta-information

─ installing the package to build vignettes (490ms)

     -----------------------------------

─ installing source package 'orchaRd' ...
** using staged installation
** R
Error in parse(...) :
C:/Users/Administrator/AppData/Local/Temp/RtmpSoFiqT/Rbuild27ac61102a0d/orchaRd/R/mod_results.R:35:1: unexpected input
34: if(len != 1){
35: <<
^
ERROR: unable to collate and parse R files for package 'orchaRd'
─ removing 'C:/Users/ADMINI~1/AppData/Local/Temp/RtmpSoFiqT/Rinst27ac4d50286/orchaRd'
-----------------------------------
ERROR: package installation failed

Error: Failed to install 'orchaRd' from GitHub:
! System command 'Rcmd.exe' failed

That link may be out of date. Try

devtools::install_github("daniel1noble/orchaRd", force = TRUE)

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.