The friendly GitHub pages version of this repo is posted here
bbolker / mm_iowa2024 Goto Github PK
View Code? Open in Web Editor NEWmixed models workshop for Iowa State *Conference On Applied Statistics In Agriculture And Natural Resources*
mixed models workshop for Iowa State *Conference On Applied Statistics In Agriculture And Natural Resources*
The friendly GitHub pages version of this repo is posted here
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.
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")
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.