NIB-SI / seekr

R interface for SEEK API (connection to FAIRDOMHub)
MIT License
5 stars 1 forks source link

Installation failed #3

Open markopetek opened 3 years ago

markopetek commented 3 years ago

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 commented 3 years ago

Marko,

Sem zgladil, zdaj bi package build moral delovati. Prosim poskusi in sporoči.

Andrej

From: Marko Petek @.> Sent: torek, 11. maj 2021 13:31 To: NIB-SI/seekr @.> Cc: Subscribed @.***> Subject: [NIB-SI/seekr] Installation failed (#3)

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)) {

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)

√ checking DESCRIPTION meta-information ...

Installing package into ‘C:/Users/markop/Documents/R/win-library/4.0’

(as ‘lib’ is unspecified)

** 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'

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/NIB-SI/seekr/issues/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALFZUEDL5JLGBC65GFJPGDTNEIN7ANCNFSM44VGFVNQ.

kjemist commented 1 year ago

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? https://github.com/r-lib/devtools/issues/420