ropenscilabs / qcoder

Lightweight package to do qualitative coding
https://docs.ropensci.org/qcoder
GNU General Public License v3.0
130 stars 34 forks source link

Installation error with Qcoder #197

Closed roystonanillobo closed 4 years ago

roystonanillobo commented 4 years ago

Installation error with Qcoder

OS details

Kernel: x86_64 Linux 5.6.12-1-MANJARO
Shell: bash 5.0.16
DE: KDE 5.70.0 / Plasma 5.18.5
WM: KWin
CPU: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx @ 8x 2GHz
GPU: AMD RAVEN (DRM 3.36.0, 5.6.12-1-MANJARO, LLVM 10.0.0)
RAM: 5302MiB / 6917MiB

R version

> version
               _                           
platform       x86_64-pc-linux-gnu         
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          4                           
minor          0.0                         
year           2020                        
month          04                          
day            24                          
svn rev        78286                       
language       R                           
version.string R version 4.0.0 (2020-04-24)
nickname       Arbor Day    

Issue

> devtools::install_github("ropenscilabs/qcoder")
Downloading GitHub repo ropenscilabs/qcoder@master
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: httpuv (1.5.2 -> 1.5.3.1) [CRAN]

Enter one or more numbers, or an empty line to skip updates:
3
Installing 5 packages: here, shinyAce, shinyFiles, shinyjs, shinythemes
Installing packages into ‘/home/lobo/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/here_0.1.tar.gz'
Content type 'application/x-gzip' length 3607 bytes
==================================================
downloaded 3607 bytes

trying URL 'https://cran.rstudio.com/src/contrib/shinyAce_0.4.1.tar.gz'
Content type 'application/x-gzip' length 1768850 bytes (1.7 MB)
==================================================
downloaded 1.7 MB

trying URL 'https://cran.rstudio.com/src/contrib/shinyFiles_0.8.0.tar.gz'
Content type 'application/x-gzip' length 353722 bytes (345 KB)
==================================================
downloaded 345 KB

trying URL 'https://cran.rstudio.com/src/contrib/shinyjs_1.1.tar.gz'
Content type 'application/x-gzip' length 957877 bytes (935 KB)
==================================================
downloaded 935 KB

trying URL 'https://cran.rstudio.com/src/contrib/shinythemes_1.1.2.tar.gz'
Content type 'application/x-gzip' length 974884 bytes (952 KB)
==================================================
downloaded 952 KB

* installing *source* package ‘here’ ...
** package ‘here’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (here)
* installing *source* package ‘shinyAce’ ...
** package ‘shinyAce’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (shinyAce)
* installing *source* package ‘shinyFiles’ ...
** package ‘shinyFiles’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (shinyFiles)
* installing *source* package ‘shinyjs’ ...
** package ‘shinyjs’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (shinyjs)
* installing *source* package ‘shinythemes’ ...
** package ‘shinythemes’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (shinythemes)

The downloaded source packages are in
    ‘/tmp/RtmpqNgaeI/downloaded_packages’
✓  checking for file ‘/tmp/RtmpqNgaeI/remotes1c2e38ef8f4e/ropenscilabs-qcoder-96e424b/DESCRIPTION’ (346ms)
─  preparing ‘qcoder’:
✓  checking DESCRIPTION meta-information ...
   Warning in grepl(e, files, perl = TRUE, ignore.case = TRUE) :
     PCRE pattern compilation error
    'unrecognized character follows \'
    at 'ignore'
   Error in grepl(e, files, perl = TRUE, ignore.case = TRUE) : 
     invalid regular expression '^\ignore'
   Execution halted
Error: Failed to install 'qcoder' from GitHub:
  System command 'R' failed, exit status: 1, stdout + stderr:
E> * checking for file ‘/tmp/RtmpqNgaeI/remotes1c2e38ef8f4e/ropenscilabs-qcoder-96e424b/DESCRIPTION’ ... OK
E> * preparing ‘qcoder’:
E> * checking DESCRIPTION meta-information ... OK
E> Warning in grepl(e, files, perl = TRUE, ignore.case = TRUE) :
E>   PCRE pattern compilation error
E>  'unrecognized character follows \'
E>  at 'ignore'
E> Error in grepl(e, files, perl = TRUE, ignore.case = TRUE) : 
E>   invalid regular expression '^\ignore'
E> Execution halted
> 
TobiasBenz commented 4 years ago

I get the same issue after updating to R 4.0

TobiasBenz commented 4 years ago

a quick workaround is downloading the zip and using install_local("path_to_zip") This worked for me (I have no clue why)

elinw commented 4 years ago

Sorry to be late with looking at this. Will investigate.

elinw commented 4 years ago

Sorry this took so long, it should work now. Silly errors.