You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an R project using renv, I just tried installing MADtraits with devtools::install_github('willpearse/MADtraits') but it failed, the error message being:
* installing *source* package 'MADtraits' ...
** using staged installation
** R
Error in load(srcFile, e) :
(converted from warning) strings not representable in native encoding will be translated to UTF-8
ERROR: unable to build sysdata DB for package 'MADtraits'
* removing 'C:/Users/as80fywe/idiv/sTeTra/sTeTra/renv/library/R-4.0/x86_64-w64-mingw32/MADtraits'
Error: Failed to install 'MADtraits' from GitHub:
(converted from warning) installation of package ‘C:/Users/as80fywe/AppData/Local/Temp/Rtmpqalzq5/file1fd479567573/MADtraits_1.0-0.tar.gz’ had non-zero exit status
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
After a search online, installation succeeded using:
Using this method, the same warnings appeared but no error:
* installing *source* package 'MADtraits' ...
** using staged installation
** R
Warning in load(srcFile, e) :
strings not representable in native encoding will be translated to UTF-8
Warning in load(srcFile, e) :
input string 'diplopylidium_nü¾�¦˜¼lleri' cannot be translated to UTF-8, is it valid in 'UTF-8' ?
** inst
** byte-compile and prepare package for lazy loading
n*** Successfully loaded .Rprofile ***n
** help
*** installing help indices
converting help for package 'MADtraits'
finding HTML links ... done
MADtraits html
MADtraits_citations html
MADtraits_datasets html
citations html
clean.MADtraits html
datasets html
** building package indices
n*** Successfully loaded .Rprofile ***n
** installing vignettes
'MADtraits-intro.Rnw'
** testing if installed package can be loaded from temporary location
n*** Successfully loaded .Rprofile ***n
** testing if installed package can be loaded from final location
n*** Successfully loaded .Rprofile ***n
** testing if installed package keeps a record of temporary installation path
* DONE (MADtraits)
Sorry that I have no clue about what the problem is...
Thanks for this, Alban. This is under development (indeed, I advertise on
the GitHub landing page that the build fails) but I am grateful that you're
using the package!
This error is likely because some of your dependencies were built under
different R versions (see here r-lib/remotes#403).
The fix you've described is likely working because the installation process
is warning you that some packages were built under different versions of R,
and `install_github`'s default is to fail if there are warnings (unlike
base R's `install.packages`).
I hope that helps; thanks again for using the package!
Hi,
In an R project using renv, I just tried installing MADtraits with
devtools::install_github('willpearse/MADtraits')
but it failed, the error message being:After a search online, installation succeeded using:
Using this method, the same warnings appeared but no error:
Sorry that I have no clue about what the problem is...
Cheers,
Alban
The text was updated successfully, but these errors were encountered: