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

Unable to install in RStudio #3

Closed
shatadrusaha opened this issue May 24, 2018 · 5 comments
Closed

Unable to install in RStudio #3

shatadrusaha opened this issue May 24, 2018 · 5 comments

Comments

@shatadrusaha
Copy link

Hello,

I am trying to install the package, but getting the following error.

install.packages("uaparserjs")
Warning in install.packages :
package ‘uaparserjs’ is not available (for R version 3.4.3)

I also noticed the package hasn't been updated since 2016 but the pdf does say that it is compatible with R (>= 3.0.0). Could someone help me.

Regards

@hrbrmstr
Copy link
Owner

it's in CRAN: https://cran.r-project.org/web/packages/uaparserjs/index.html

if you're on Windows, you need to install from source since there are issues with that terrible operating system and the way memory is allocated to the V8 engine that powers the package.

@randomgambit
Copy link

same error for me on linux this time

install.packages("uaparserjs", dependencies = TRUE,type = 'source')

I get a ERROR: configuration failed for package ‘V8’ so the package does not install.

* package ‘V8’ successfully unpacked and MD5 sums checked
Using PKG_CFLAGS=-I/usr/include/v8-3.14
Using PKG_LIBS=-lv8
------------------------- ANTICONF ERROR ---------------------------
```Configuration failed because  was not found. Try installing:

@hrbrmstr
Copy link
Owner

It's not the same error. That's a V8 installation error which I (fortunately 😎) have no control over. You'll need to fix that and try again.

The other errors (Windows) are due to the really poorly configured binary DLL installation of V8 for Windows which has super-low settings.

Using this package at-scale is not recommended anyway. I only made it due to the persnikety requirements of https://github.com/ua-parser/uap-r (it's a PITA to compile on macOS and has some serious other C++ dependencies as well).

@randomgambit
Copy link

ok got it, thanks. I ended up using user-agent in python which seems ok
by the way, I would really appreciate your input about my question here hrbrmstr/splashr#18 if you have 3 min :D

Thanks!!

@hrbrmstr
Copy link
Owner

hrbrmstr commented Apr 1, 2020

works on windows now and on cran!

@hrbrmstr hrbrmstr closed this as completed Apr 1, 2020
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