It says that nser requires the most recent version of magrittr that you do not have installed. You must update magrittr before attempting to install nser:
update.packages(oldPkgs = "magrittr") or at the prompt you were presented before, choose to update magrittr before installing nser. On Sun, Apr 9, 2023, 17:55 akshay kulkarni <akshay...@hotmail.com> wrote: > Dear members, > I can't install "nser" package. It is not in > cran but install_version and install_github both are not working: > > > install_version("nser",version = "1.4.0") > Downloading package from url: > https://cran.rstudio.com//src/contrib/Archive/nser/nser_1.4.0.tar.gz > These packages have more recent versions available. > It is recommended to update all of them. > Which would you like to update? > > 1: All > 2: CRAN packages only > 3: None > 4: rlang (1.0.4 -> 1.1.0 ) [CRAN] > 5: cli (3.3.0 -> 3.6.1 ) [CRAN] > 6: openssl (1.4.5 -> 2.0.6 ) [CRAN] > 7: curl (4.3.2 -> 5.0.0 ) [CRAN] > 8: Rcpp (1.0.7 -> 1.0.10) [CRAN] > 9: ps (1.6.0 -> 1.7.4 ) [CRAN] > 10: processx (3.5.2 -> 3.8.0 ) [CRAN] > 11: purrr (0.3.4 -> 1.0.1 ) [CRAN] > 12: magrittr (2.0.1 -> 2.0.3 ) [CRAN] > 13: fastmap (1.1.0 -> 1.1.1 ) [CRAN] > 14: cachem (1.0.6 -> 1.0.7 ) [CRAN] > 15: fs (1.5.2 -> 1.6.1 ) [CRAN] > > Enter one or more numbers, or an empty line to skip updates: > * installing *source* package 'nser' ... > ** package 'nser' successfully unpacked and MD5 sums checked > ** using staged installation > ** R > ** data > *** moving datasets to lazyload DB > ** inst > ** byte-compile and prepare package for lazy loading > Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck > = vI[[j]]) : > namespace 'magrittr' 2.0.1 is being loaded, but >= 2.0.3 is required > Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace > Execution halted > ERROR: lazy loading failed for package 'nser' > * removing 'C:/Program Files/R/R-4.1.2/library/nser' > Warning message: > In i.p(...) : > installation of package > ‘C:/Users/ADMINI~1/AppData/Local/Temp/2/RtmpktmxP2/remotesbec536a2c/nser’ > had non-zero exit status > > > Can you please help? > > Thanking you, > Yours sincerely, > AKSHAY M MKULKARNI > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.