Git Product home page Git Product logo

Comments (17)

jjallaire avatar jjallaire commented on June 26, 2024 8

Now I see, the rollover of the RStudio Preview version to 4 digits ("1004") is what is making this fail. Fix is checked in here: rstudio/radix@1f08dda

To install the fixed version:

devtools::install_github("rstudio/radix")

from distill.

jjallaire avatar jjallaire commented on June 26, 2024 1

Yes, both have been updated

from distill.

jjallaire avatar jjallaire commented on June 26, 2024

So if you execute the following from the console do you get the error:

radix:::validate_rstudio_version()

Then, what is the output of rstudioapi::versionInfo()$version ?

from distill.

slfan2013 avatar slfan2013 commented on June 26, 2024

Hi, the radix:::validate_rstudio_version() does not give any error.

rstudioapi::versionInfo()$version output is ‘1.2.1004’

from distill.

hushuli avatar hushuli commented on June 26, 2024

Please update to version 1.2.718 or higher at https://www.rstudio.com/products/rstudio/download/preview/

My version RStudio is "Version 1.2.1004", but I still got this error.

I think the error is because of the code
if (rstudio$version < "1.2.718")

Truly, the "1.2.1004"< "1.2.718" is TRUE, which shouldn't be.

So if you execute the following from the console do you get the error:

radix:::validate_rstudio_version()

Then, what is the output of rstudioapi::versionInfo()$version ?

I got the same error.

from distill.

yutannihilation avatar yutannihilation commented on June 26, 2024

Truly, the "1.2.1004"< "1.2.718" is TRUE, which shouldn't be.

I think we should use package_version().

"1.2.1004" < "1.2.718"
#> [1] TRUE
package_version("1.2.1004") < package_version("1.2.718")
#> [1] FALSE

Created on 2018-09-22 by the reprex package (v0.2.1)

from distill.

randomgambit avatar randomgambit commented on June 26, 2024

same error for me fellas

from distill.

randomgambit avatar randomgambit commented on June 26, 2024

@jjallaire haha not so fast!


> devtools::install_github("rstudio/radix")
Downloading GitHub repo rstudio/radix@master
from URL https://api.github.com/repos/rstudio/radix/zipball/master
Installation failed: cannot open file 'C:/Users/john/AppData/Local/Temp/RtmpOcnWHZ/devtools6348504b600a/rstudio-radix-c3dba83/examples/websites/reproducible-finance-with-r/_posts/2017-03-07-quandl-and-forecasting/quandl-and-forecasting_files/dygraphs-binding-1.1.1.4/lib/dygraphs/dygraph-combined-dev.js': No such file or directory

from distill.

yutannihilation avatar yutannihilation commented on June 26, 2024

Curious. I see the same error on my Windows.

cannot open file 'C:/Users/john/AppData/Local/Temp/RtmpOcnWHZ/devtools6348504b600a/rstudio-radix-c3dba83/examples/websites/reproducible-finance-with-r/_posts/2017-03-07-quandl-and-forecasting/quandl-and-forecasting_files/dygraphs-binding-1.1.1.4/lib/dygraphs/dygraph-combined-dev.js': No such file or directory

This seems an error in utils::unzip(). Maybe there's a limit of path length? (Only on Windows...?)
I don't think radix is responsible for fixing this, but I guess considerable numbers of people will face this. Wish there's a nice workaround for this...

from distill.

yutannihilation avatar yutannihilation commented on June 26, 2024

I guess r-lib/remotes#84 is (though this seems mistakenly closed...)

Anyway, this issue is definitely fixed. We should file a new issue if we want to continue the discussion.

from distill.

jjallaire avatar jjallaire commented on June 26, 2024

Okay, I just removed that example site from the main repository (it was indeed an issue with path lengths and unzip)

from distill.

yutannihilation avatar yutannihilation commented on June 26, 2024

Thanks @jjallaire, I confirmed I can install the current master!

from distill.

geneorama avatar geneorama commented on June 26, 2024

Seems like it would be nice to update the blog post, and tutorial to say that you need a preview version of RStudio and to install radix from github.

I came here from the newsletter a few days ago, which I finally got around to trying.

from distill.

davidRCF avatar davidRCF commented on June 26, 2024

Hi,

i try to work with radix package, i get this error:

Error: Radix requires RStudio v1.2 or greater. Please update at: https://www.rstudio.com/rstudio/download/preview/

when i try to install new versioon of rstudio,i can not.

any idea?
thx
David

from distill.

jjallaire avatar jjallaire commented on June 26, 2024

You need to provide more details than "when i try to install new versioon of rstudio,i can not".

We have thousands of people successfully install every day so there is not a general problem with installation. We need to know specifically what is going wrong during installation. Failures to install RStudio are also better reported at https://github.com/rstudio/rstudio/issues

from distill.

dsaada avatar dsaada commented on June 26, 2024

I'm sorry, it's error was on my side. Radix work fine now.
many thanks
David

from distill.

aslm123 avatar aslm123 commented on June 26, 2024

This worked for me r-lib/remotes#84 (comment). It opens a download list to choose and if you already have digest installed then you will want to skip that in the option to download. Afterwards Radix worked on my computer. This was the only suggestion that worked on my computer

from distill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.