GithubHelp home page GithubHelp logo

bbolker / mm_iowa2024 Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 4.0 24.38 MB

mixed models workshop for Iowa State *Conference On Applied Statistics In Agriculture And Natural Resources*

Makefile 2.54% R 97.46%

mm_iowa2024's Introduction

MM workshop for Iowa 2024

The friendly GitHub pages version of this repo is posted here

mm_iowa2024's People

Contributors

bbolker avatar kwstat avatar

Stargazers

Xuan Xu avatar  avatar Bert avatar Rahul Venugopal v35.0 avatar Francisco Rodriguez-Sanchez avatar Adam H. Sparks avatar

Watchers

 avatar Adam H. Sparks avatar Bert avatar

mm_iowa2024's Issues

pak::pkg_install is much faster

I've recently been exploring the pak package for package management.
In your setup script, try this:
pak::pkg_install(all_pkgs)
Because of parallel downloads, it is much faster than built-in install.packages.

prediction package needs github install

When installing github_pkgs, I got an error with the prediction package

> github_pkgs <- c("leeper/margins", "fsolt/dotwhisker")
> for (p in github_pkgs) remotes::install_github(p)
Downloading GitHub repo leeper/margins@HEAD
Installing 1 packages: prediction
trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-x86_64/contrib/4.4/prediction_0.3.14.tgz'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://cran.rstudio.com/bin/macosx/big-sur-x86_64/contrib/4.4/prediction_0.3.14.tgz'

Adding it to the list of github_pkgs succeeds

github_pkgs <- c("leeper/prediction", "leeper/margins", "fsolt/dotwhisker")

INLA might need Bioconductor packages?

When installing INLA, it warns that it can't find Rgraphviz or graph; these seem to be on Bioconductor.

if (!require("BiocManager", quietly = TRUE))
  install.packages("BiocManager")

BiocManager::install(c("Rgraphviz", "graph"))

The BiocManager install process also warns about two old packages, prediction and survival; when I tried updating them survival was able to be updated but prediction was not; apparently update.packages() thinks a newer version is available on CRAN but can't actually find it. See more below.

In any case, if you want people to install these packages, perhaps best to recommend either "some" or "none" in the interactive prompt
Update all/some/none? [a/s/n]:
or simply to use the update=FALSE option

BiocManager::install(c("Rgraphviz", "graph"), update=FALSE)

About updating prediction, there's something odd, though, where 0.3.15 is installed (that's what's on github), it thinks 0.3.17 is on CRAN, but it tries to download 0.3.14.

prediction :
 Version 0.3.15 installed in /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/library 
 Version 0.3.17 available at https://cran.rstudio.com
Update? (Yes/no/cancel) Yes
trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-x86_64/contrib/4.4/prediction_0.3.14.tgz'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'https://cran.rstudio.com/bin/macosx/big-sur-x86_64/contrib/4.4/prediction_0.3.14.tgz'

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.