Giter VIP home page Giter VIP logo

Comments (5)

gadenbuie avatar gadenbuie commented on May 30, 2024

When you say “deleted”, how did you verify that they were removed from your system? Can you show the output from this command? Can you also run devtools::session_info() and paste the output here?

from regexplain.

nicholasviau avatar nicholasviau commented on May 30, 2024

Whoops, and there's another one:

> devtools::session_info()

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘digest’

Happened on my work computer during the middle of a project with a deadline, so I've just been manually reinstalling packages as errors come along. I'm sorry I don't have a lot of technical documentation at the moment.

I reinstalled digest, so here's the output:

─ Session info ──────────────────────────────────────────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.5.0 (2018-04-23)
 os       Windows 7 x64 SP 1          
 system   x86_64, mingw32             
 ui       RStudio                     
 language (EN)                        
 collate  English_United States.1252  
 tz       America/New_York            
 date     2018-10-11                  

─ Packages ──────────────────────────────────────────────────────────────────────────────────────────────────────
 package     * version     date       source                         
 assertthat    0.2.0       2017-04-11 CRAN (R 3.5.0)                 
 backports     1.1.2       2017-12-13 CRAN (R 3.5.0)                 
 bindr         0.1.1       2018-03-13 CRAN (R 3.5.0)                 
 bindrcpp    * 0.2.2       2018-03-29 CRAN (R 3.5.0)                 
 broom         0.5.0       2018-07-17 CRAN (R 3.5.1)                 
 callr         2.0.4       2018-05-15 CRAN (R 3.5.0)                 
 cellranger    1.1.0       2016-07-27 CRAN (R 3.5.0)                 
 cli           1.0.1       2018-09-25 CRAN (R 3.5.1)                 
 clisymbols    1.2.0       2017-05-21 CRAN (R 3.5.0)                 
 colorspace    1.3-2       2016-12-14 CRAN (R 3.5.0)                 
 crayon        1.3.4       2017-09-16 CRAN (R 3.5.0)                 
 debugme       1.1.0       2017-10-22 CRAN (R 3.5.0)                 
 desc          1.2.0       2018-05-01 CRAN (R 3.5.0)                 
 devtools      1.13.5.9000 2018-06-21 Github (r-lib/devtools@33a9404)
 digest        0.6.17      2018-09-12 CRAN (R 3.5.1)                 
 dplyr       * 0.7.6       2018-06-29 CRAN (R 3.5.1)                 
 fansi         0.4.0       2018-10-05 CRAN (R 3.5.1)                 
 forcats     * 0.3.0       2018-02-19 CRAN (R 3.5.0)                 
 ggplot2     * 3.0.0       2018-07-03 CRAN (R 3.5.1)                 
 glue          1.3.0       2018-07-17 CRAN (R 3.5.1)                 
 gtable        0.2.0       2016-02-26 CRAN (R 3.5.0)                 
 haven         1.1.1       2018-01-18 CRAN (R 3.5.0)                 
 hms           0.4.2       2018-03-10 CRAN (R 3.5.0)                 
 httr          1.3.1       2017-08-20 CRAN (R 3.5.0)                 
 jsonlite      1.5         2017-06-01 CRAN (R 3.5.0)                 
 labeling      0.3         2014-08-23 CRAN (R 3.5.0)                 
 lattice       0.20-35     2017-03-25 CRAN (R 3.5.0)                 
 lazyeval      0.2.1       2017-10-29 CRAN (R 3.5.0)                 
 lubridate     1.7.4       2018-04-11 CRAN (R 3.5.0)                 
 magrittr      1.5         2014-11-22 CRAN (R 3.5.0)                 
 memoise       1.1.0       2017-04-21 CRAN (R 3.5.0)                 
 modelr        0.1.2       2018-05-11 CRAN (R 3.5.0)                 
 munsell       0.5.0       2018-06-12 CRAN (R 3.5.0)                 
 nlme          3.1-137     2018-04-07 CRAN (R 3.5.0)                 
 pillar        1.3.0       2018-07-14 CRAN (R 3.5.1)                 
 pkgbuild      1.0.0       2018-06-21 Github (r-lib/pkgbuild@0457039)
 pkgconfig     2.0.2       2018-08-16 CRAN (R 3.5.1)                 
 pkgload       1.0.0       2018-06-21 Github (r-lib/pkgload@35efedd) 
 plyr          1.8.4       2016-06-08 CRAN (R 3.5.0)                 
 processx      3.1.0       2018-05-15 CRAN (R 3.5.0)                 
 purrr       * 0.2.5       2018-05-29 CRAN (R 3.5.0)                 
 R6            2.3.0       2018-10-04 CRAN (R 3.5.1)                 
 Rcpp          0.12.19     2018-10-01 CRAN (R 3.5.1)                 
 readr       * 1.1.1       2017-05-16 CRAN (R 3.5.0)                 
 readxl        1.1.0       2018-04-20 CRAN (R 3.5.0)                 
 rlang         0.2.2       2018-08-16 CRAN (R 3.5.1)                 
 rprojroot     1.3-2       2018-01-03 CRAN (R 3.5.0)                 
 rstudioapi    0.8         2018-10-02 CRAN (R 3.5.1)                 
 rvest         0.3.2       2016-06-17 CRAN (R 3.5.0)                 
 scales        0.5.0       2017-08-24 CRAN (R 3.5.0)                 
 sessioninfo   1.0.0       2017-06-21 CRAN (R 3.5.0)                 
 stringi       1.1.7       2018-03-12 CRAN (R 3.5.0)                 
 stringr     * 1.3.1       2018-05-10 CRAN (R 3.5.0)                 
 testthat      2.0.0       2017-12-13 CRAN (R 3.5.0)                 
 tibble      * 1.4.2       2018-01-22 CRAN (R 3.5.0)                 
 tidyr       * 0.8.1       2018-05-18 CRAN (R 3.5.0)                 
 tidyselect    0.2.5       2018-10-11 CRAN (R 3.5.0)                 
 tidyverse   * 1.2.1       2017-11-14 CRAN (R 3.5.1)                 
 usethis       1.3.0       2018-02-24 CRAN (R 3.5.0)                 
 utf8          1.1.4       2018-05-24 CRAN (R 3.5.0)                 
 withr         2.1.2       2018-03-15 CRAN (R 3.5.0)                 
 xml2          1.2.0       2018-01-24 CRAN (R 3.5.0)                 
 yaml          2.2.0       2018-07-25 CRAN (R 3.5.1)  

from regexplain.

gadenbuie avatar gadenbuie commented on May 30, 2024

I'm sorry about the hassle this created!

My guess, from this comment, is that maybe digest was in use during the installation but also was out-of-date on your system so devtools::install_github() updated digest package but later installations failed because digest was needed and the package database was corrupt, resulting in the packages going missing? I'm not really sure because I don't import digest so it would have to be that one of the regexplain dependencies depends on digest and both were out of date.

All of this to say I don't think this is directly an issue within regexplain, but I am going to update the documentation to recommend that it be installed with the upgrade = FALSE flag:

devtools::install_github("gadenbuie/regexplain", upgrade = FALSE)

I actually would recommend this in general for installing packages via GitHub. The default behavior for install_github() is to update all out-of-date packages, and for a package like this one where I haven't wasted too much time focused on optimizing for reducing system dependencies this can lead to unexpected things. It's also a good idea to install packages in clean sessions, or to restart your R session before and after installation. This may or may not have helped in this case.

If you happen to have the console output from when you tried to install and can paste it here, that would be super helpful.

from regexplain.

nicholasviau avatar nicholasviau commented on May 30, 2024

I can go back next week and check the history logs (not in the office until then).

I agree that it was likely a quirk on my end and not an underlying issue with regexplain. I was a bit stressed at the time and just thought "Go to GitHub and document!"

Great RStudio addin, by the way.

from regexplain.

gadenbuie avatar gadenbuie commented on May 30, 2024

I totally understand and thanks!

from regexplain.

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.