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 failed #3

Open
markopetek opened this issue May 11, 2021 · 2 comments
Open

Installation failed #3

markopetek opened this issue May 11, 2021 · 2 comments

Comments

@markopetek
Copy link
Member

Tried to install the package using Rstudio Version 1.3.1073 and R version 4.0.2 (2020-06-22) and got the error below:

> if (!require(devtools)) {
+   install.packages("devtools")
+   require(devtools)
+ }
Loading required package: devtools
Loading required package: usethis
Warning message:
package ‘devtools’ was built under R version 4.0.5 
> devtools::install_github("nib-si/seekr")
Downloading GitHub repo nib-si/seekr@HEAD
√  checking for file 'C:\Users\markop\AppData\Local\Temp\RtmpUnd35C\remotes129b88d3033\NIB-SI-seekr-f217eb5/DESCRIPTION' (339ms)
-  preparing 'seekr':
√  checking DESCRIPTION meta-information ... 
-  excluding invalid files
   Subdirectory 'R' contains invalid file names:
     'seekr.pdf'
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'seekr_0.1.0.9000.tar.gz'
   
Installing package into ‘C:/Users/markop/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'seekr' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning: package 'httr' was built under R version 4.0.3
** help
*** installing help indices
  converting help for package 'seekr'
    finding HTML links ... done
    contentType                             html  
    print.seek_api                          html  
    finding level-2 HTML links ... done

Rd warning: C:/Users/markop/AppData/Local/Temp/RtmpeuyoIF/R.INSTALL404c1c8f1e21/seekr/man/print.seek_api.Rd:57: missing link 'fhParse ...'
Rd warning: C:/Users/markop/AppData/Local/Temp/RtmpeuyoIF/R.INSTALL404c1c8f1e21/seekr/man/print.seek_api.Rd:59: missing link 'skParse ...'
    skCreate                                html  
    skData                                  html  
Rd warning: C:/Users/markop/AppData/Local/Temp/RtmpeuyoIF/R.INSTALL404c1c8f1e21/seekr/man/skData.Rd:50: missing link 'get ...'
    skFindId                                html  
    skFindTitle                             html  
    skGet                                   html  
Rd warning: C:/Users/markop/AppData/Local/Temp/RtmpeuyoIF/R.INSTALL404c1c8f1e21/seekr/man/skGet.Rd:39: missing link 'get ...'
    skIni                                   html  
    skLog                                   html  
    skParse                                 html  
Rd warning: C:/Users/markop/AppData/Local/Temp/RtmpeuyoIF/R.INSTALL404c1c8f1e21/seekr/man/skParse.Rd:37: missing link 'skGget ...'
    skSkeleton                              html  
    skUpload                                html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Warning: S3 method 'print.pISAmeta' was declared in NAMESPACE but not found
Error: package or namespace load failed for 'seekr' in namespaceExport(ns, exports):
 undefined exports: fhCreate, fhData, fhFindId, fhFindTitle, fhGet, fhIni, fhLog, fhParse, fhSkeleton, fhTime, fileName, fileType, fsummary, getLayer, getMeta, getMeta.default, getMeta.list, getRoot, out.path, pisa, readMeta
Error: loading failed
Execution halted
*** arch - x64
Warning: S3 method 'print.pISAmeta' was declared in NAMESPACE but not found
Error: package or namespace load failed for 'seekr' in namespaceExport(ns, exports):
 undefined exports: fhCreate, fhData, fhFindId, fhFindTitle, fhGet, fhIni, fhLog, fhParse, fhSkeleton, fhTime, fileName, fileType, fsummary, getLayer, getMeta, getMeta.default, getMeta.list, getRoot, out.path, pisa, readMeta
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/Users/markop/Documents/R/win-library/4.0/seekr'
Warning message:
In i.p(...) :
  installation of package ‘C:/Users/markop/AppData/Local/Temp/RtmpUnd35C/file129b813a71df/seekr_0.1.0.9000.tar.gz’ had non-zero exit status
@ablejec
Copy link
Member

ablejec commented May 12, 2021 via email

@kjemist
Copy link

kjemist commented Jun 28, 2023

Hey all,

I'm also having an issue with installation, but I am receiving a different error:

Downloading GitHub repo nib-si/seekr@HEAD
Error: Failed to install 'seekr' from GitHub:
  input string 42 is invalid
In addition: Warning message:
In gsub("[^/]", "", file_list) :
  unable to translate 'NIB-SI-seekr-41e8d70/devel/_Welcome -<c0> R packages.URL' to a wide string

SessionInfo:

R version 4.3.0 (2023-04-21 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default


locale:
[1] C

time zone: Europe/Paris
tzcode source: internal

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

other attached packages:
[1] devtools_2.4.5 usethis_2.2.0 

loaded via a namespace (and not attached):
 [1] miniUI_0.1.1.1    compiler_4.3.0    crayon_1.5.2      promises_1.2.0.1  Rcpp_1.0.10      
 [6] stringr_1.5.0     callr_3.7.3       later_1.3.1       fastmap_1.1.1     mime_0.12        
[11] R6_2.5.1          curl_5.0.1        htmlwidgets_1.6.2 profvis_0.3.8     shiny_1.7.4      
[16] rlang_1.1.1       cachem_1.0.8      stringi_1.7.12    httpuv_1.6.11     fs_1.6.2         
[21] pkgload_1.3.2     memoise_2.0.1     cli_3.6.1         withr_2.5.0       magrittr_2.0.3   
[26] ps_1.7.5          digest_0.6.31     processx_3.8.1    rstudioapi_0.14   xtable_1.8-4     
[31] remotes_2.4.2     lifecycle_1.0.3   prettyunits_1.1.1 vctrs_0.6.2       glue_1.6.2       
[36] urlchecker_1.0.1  sessioninfo_1.2.2 pkgbuild_1.4.0    purrr_1.0.1       tools_4.3.0      
[41] ellipsis_0.3.2    htmltools_0.5.5 

Any idea on what is failing here?

EDIT:

It seems the error is similar to what is described here? r-lib/devtools#420

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