installr | Functions for installing softwares from within R | Configuration Management library

 by   talgalili R Version: Current License: No License

kandi X-RAY | installr Summary

kandi X-RAY | installr Summary

installr is a R library typically used in Devops, Configuration Management applications. installr has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

The installr package offers a set of R functions for the installation and updating of software (currently, only on Windows OS), with a special focus on R itself. This package has two main goals:.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              installr has a low active ecosystem.
              It has 226 star(s) with 75 fork(s). There are 18 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 28 open issues and 91 have been closed. On average issues are closed in 166 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of installr is current.

            kandi-Quality Quality

              installr has 0 bugs and 0 code smells.

            kandi-Security Security

              installr has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              installr code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              installr does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              installr releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of installr
            Get all kandi verified functions for this library.

            installr Key Features

            No Key Features are available at this moment for installr.

            installr Examples and Code Snippets

            No Code Snippets are available at this moment for installr.

            Community Discussions

            QUESTION

            R Update | Version mismatch
            Asked 2022-Mar-15 at 18:13

            It's the first time I update R so I'm not too sure how it all works. I have updated R (for Windows) from RGUI and from RStudio with the installr package and updated all the packages.

            In both cases I got confirmation messages that R has been upgraded to version 4.1.3:

            The new directory has been created and everything seems to be as it should.

            However, when I open the projects and apps I'm working on in RStudio, I still get the old version:

            ...

            ANSWER

            Answered 2022-Mar-15 at 18:13

            In RStudio, go to Tools ... Global Options ... General ... Basic .. R Sessions. It allows you to choose a specific version of R

            Source https://stackoverflow.com/questions/71486784

            QUESTION

            R MarkDown Error: pandoc version 1.12.3 or higher is required and was not found
            Asked 2022-Mar-09 at 01:41

            I'm using R Studios Cloud but I am suddenly experiencing difficulty knitting my markdown in any format (html, pdf & word).

            This is the error I'm thrown when I press the knit button:

            ...

            ANSWER

            Answered 2022-Mar-09 at 01:41

            Found the solution.

            Relaunch your project by clicking on the 3 dots in the upper right corner.

            See thread here.

            Seems to be a common error happening to a lot of r studio cloud users in the past 24 hours.

            Source https://stackoverflow.com/questions/71403178

            QUESTION

            Unable to install magrittr
            Asked 2021-May-03 at 08:28

            Got a new company laptop and tried to install tidyr or installr, but it always fails because of magrittr.

            If I want to install this package directly I'm getting the following error code:

            ...

            ANSWER

            Answered 2021-May-03 at 08:28

            Installing an archived version from source will work.

            Source https://stackoverflow.com/questions/67331679

            QUESTION

            Problems with exams2pdf after updating R version
            Asked 2020-Dec-30 at 23:55

            Recently, I have updated R using installr so that I have now two versions (3.6.1 e 4.0.3) installed in my computer running Windows 10, but I only use the 4.0.3 version. For some reasons I do not know, the 'exams' package has not been transferred to the new version so I had to reinstall it, but now 'exams2pdf' does not work anymore and I get the following error message:

            LaTeX Error: File `Sweave.sty' not found.

            Any help would be very much appreciated.

            ...

            ANSWER

            Answered 2020-Dec-30 at 15:35

            I opened the MikTeX Console, selected: Settings > Directories, and then the small + button to add the folder "C:\Program Files\R\R-4.0.3\share\texmf". Now I do not get anymore the error message and it works.

            Source https://stackoverflow.com/questions/65509052

            QUESTION

            How to update R from 3.x to 4.x and should I?
            Asked 2020-Jun-12 at 23:24

            With R 4.0.0 and recently R 4.0.1 being released recently, I would like to know how to upgrade?

            Previously I used UpdateR from the installR package.

            Will it work just as well upgrading to 4.x?

            The documentation for 4.0.0 states that:

            Packages need to be (re-)installed under this version (4.0.0) of R

            Will updateR re-install everything and if not, how can I get list of packages to install in a reasonable amount of time.

            I cannot believe I can't find any 4.x install or update details elsewhere, most importantly are there any specific issues or limitation or code changes required in 4.x from 3.x.

            Also I use Rbuild Tools for Rcpp. Do I need to update those tools to 4.0 as well and is there a special way to do so?

            ...

            ANSWER

            Answered 2020-Jun-12 at 23:24

            I did this a few weeks ago.
            UpdateR didn't migrate the packages as expected, so that I had to do it manually :

            • Install R 4.0.x
            • Install RTools 4.0, take care to set $Path correctly as instructed. This new version is necessary for R 4.0 to compile from source some packages still in 3.x
            • Migrate the packages from R 3.x to R 4.x :

            Source https://stackoverflow.com/questions/62353392

            QUESTION

            SSDT Installation fails for VS 2015
            Asked 2020-Jun-02 at 07:54

            I have Microsoft Visual Studio Professional 2015 installed on my machine, i also have SQL Server 2017 installed.

            I am trying to install SQL Server Development Tools for BI projects on my machine,i tried installing 'SSDT for VS2015 17.4' , 'SSDT for VS2015 17.3' and also 'SSDT for VS2015 16.5' and everything failed.

            ...

            ANSWER

            Answered 2020-Jun-02 at 07:54

            Please try these steps:

            First, please make sure that your Internet connection is ok and your VS2015 has already installed the Sql Server workload.(you can try to check whether you can create a project called Sql Server Database Project)

            Then,

            1) Please check all the Windows update and install the latest patches.

            2) use .Net Framework Repair Tool to repair the Net Framework's problems.

            3) download this repair tool and then run it.

            4) clean any caches under %temp%(C:\Users\xxx\AppData\Local\Temp) and then reboot your PC.

            5) when you restart PC, turn off any third party software, firewall, Antivirus software and then run SSDT for VS2015 as Administrator.

            Besides, you can also try to create an offline installation package for VS2015.

            1) Open CMD using 'Run As Administrator' option.

            2) Navigate to installer location using the opened CMD/

            3) Type the installer filename followed by /layout option. Like SSDT-Setup-ENU.exe /layout 'C:\layout'(the created folder)

            4) then run the exe in that folder to install it.

            In addition, Since your log is not full enough and if your issue still persists, you could use collect log tool to gather the installation logs. find vslogs.zip from %temp% folder. Please upload the file to Onedrive and share the link here.

            Source https://stackoverflow.com/questions/62098540

            QUESTION

            Is there a way to automate reinstalling packages and their dependencies in r?
            Asked 2020-May-31 at 17:05

            So I used installR on Rstudio to update R to version 4.0.0, and it copied the files of my packages into the library file in the R, the directory being: C:\Users\Ibrahim\Documents\R\R-4.0.0\library

            Whenever I'd call on a package, for example tidytext, it would give me:

            ...

            ANSWER

            Answered 2020-May-31 at 17:05

            Some R packages really need recompilation after upgrade of R to a newer version. This could be your case. To reinstall and update these old packages (i.e. packages built under an earlier version of R) you can try to run this code in R console:

            Source https://stackoverflow.com/questions/62117903

            QUESTION

            "Debug location is approximate because the source is not available" in R 4.0.0 + RStudio
            Asked 2020-May-11 at 22:32

            I've updated to R 4.0.0 and RStudio version 1.2.5042.

            I'm developing a package and I've regularly used the following workflow:

            1. Build the package from within RStudio by clicking the "Install & Restart" button (including the --with-keep.source R CMD INSTALL option).
            2. Set a breakpoint in the .R file of the function I want to debug.
            3. Call the function and wait for the debugger to stop exactly where I set the breakpoint.

            This used to work nicely. Now, however, I always get:

            Debug location is approximate because the source is not available

            This is annyoing because I can still debug, but I'm not in the actual function anymore.

            Any hints/ideas why this is?

            Edit (11.05.2020)

            It seems like this is an issue with RStudio and R 4.0.0. Here is why I think so. I used another machine running Windows 10 and did the following steps (in this order; should be reproducible for Windows users). At the outset I had R 3.6.1 and RStudio 1.2.5042 installed (at the time of writing 1.2.5042 was the current version; tried also with the preview version 1.3.957 of RStudio).

            1. Clone the package I'm developing from Github:

              ...

            ANSWER

            Answered 2020-May-11 at 22:32

            I investigated this using your package and discovered that what you're seeing here is a bug fairly deep in the RStudio / R interface, caused by some subtle changes R made in R 4.0 around source references.

            The problem happens whenever there's a backslash (\) in a function's code. When that happens, R is escaping it, which causes RStudio to think that the copy of the function you're looking at is different than the one in the file, which in turn causes it to show you a copy in a code browser instead of opening the file itself.

            Since your csem() function contains a backslash it triggers the issue. I've written this up on our issue tracker here:

            https://github.com/rstudio/rstudio/issues/6854

            Source https://stackoverflow.com/questions/61593190

            QUESTION

            Updated R, copied library, still can't find packages, and can't seem to install all dependencies
            Asked 2020-Feb-23 at 01:17

            I updated R using installr and asked to copy my library. (Even though I've never had this work, I keep hoping maybe it will someday as the package gets updated.) Opened up RStudio and, as usual, it can't find any of the packages that were in my old library. I next copied all the files from my old library into my new library, and several critical ones still don't work. For example, when I tried to load tidyverse, the message I receive is: Error: package or namespace load failed for ‘tidyverse’: package ‘lazyeval’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version.

            I tried remove.packages("tidyverse") and then install.packages("tidyverse", dependencies = TRUE), and I still get the same message about the package lazyeval. I tried installing lazyeval, but then, when I go through those same steps again to try to use tidyverse, now it's lubridate that was installed by an R version with different internals.

            How can I avoid this incredibly irritating and time-sucking iterative process of trying to install a package, seeing that the internals are wrong for some dependent package, installing whatever package was the problem, installing the package I actually care about, and then figuring out what other dependencies are problems?

            ...

            ANSWER

            Answered 2020-Feb-23 at 01:17

            The tidyverse package hardly contains anything: its main purpose is to get a bunch of other packages loaded. Removing it and updating it won't help update the other packages. You could do what @phago29 suggested in their comment, but an easier way is just to update everything. Run this command in an R session:

            Source https://stackoverflow.com/questions/60356442

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install installr

            To install the stable version on CRAN:.

            Support

            If you get either of the following errors from some commands:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/talgalili/installr.git

          • CLI

            gh repo clone talgalili/installr

          • sshUrl

            git@github.com:talgalili/installr.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Configuration Management Libraries

            dotfiles

            by mathiasbynens

            consul

            by hashicorp

            viper

            by spf13

            eureka

            by Netflix

            confd

            by kelseyhightower

            Try Top Libraries by talgalili

            heatmaply

            by talgaliliR

            d3heatmap

            by talgaliliHTML

            dendextend

            by talgaliliR

            R-code-snippets

            by talgaliliR

            dendextendRcpp

            by talgaliliR