Skip to content

Problems installing it on rstudio (windows) #13

@denis-mart

Description

@denis-mart

What happen?
I tryed to install ua-parser/uap-r and its being a madness.... my log:

devtools::install_github("ua-parser/uap-r")
Downloading GitHub repo ua-parser/uap-r@master
√ checking for file 'C:\Users\Denis\AppData\Local\Temp\RtmpYtEJCz\remotes1c4c6bc420df\ua-parser-uap-r-b90070e/DESCRIPTION' ...

  • preparing 'uaparser':
    √ checking DESCRIPTION meta-information ...
  • cleaning src
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building 'uaparser_0.2.0.tar.gz'
    Warning: file 'uaparser/configure' did not have execute permissions: corrected

Installing package into ‘C:/Users/Denis/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)

  • installing source package 'uaparser' ...


    WARNING: this package has a configure script
    It probably needs manual configuration


** libs

*** arch - i386
C:/RBuildTools/3.5/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA1/R/R-351.1/include" -DNDEBUG -I"C:/Users/Denis/Documents/R/win-library/3.5/Rcpp/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o
C:/RBuildTools/3.5/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA1/R/R-351.1/include" -DNDEBUG -I"C:/Users/Denis/Documents/R/win-library/3.5/Rcpp/include" -O2 -Wall -mtune=generic -c internal_UaParser.cpp -o internal_UaParser.o
In file included from internal_UaParser.cpp:1:0:
internal_UaParser.h:5:27: fatal error: boost/regex.hpp: No such file or directory
#include <boost/regex.hpp>
^
compilation terminated.
make: *** [C:/PROGRA1/R/R-351.1/etc/i386/Makeconf:215: internal_UaParser.o] Error 1
ERROR: compilation failed for package 'uaparser'

  • removing 'C:/Users/Denis/Documents/R/win-library/3.5/uaparser'
    In R CMD INSTALL
    Error in i.p(...) :
    (converted from warning) installation of package ‘C:/Users/Denis/AppData/Local/Temp/RtmpYtEJCz/file1c4c61462306/uaparser_0.2.0.tar.gz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions