Skip to content

Commit

Permalink
update packages to latest cran releases (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc authored Aug 18, 2024
1 parent 6e67aa6 commit a9f4a6b
Show file tree
Hide file tree
Showing 8 changed files with 393 additions and 259 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,4 @@ mlr-org/site_libs
mlr3website/renv/
search.json
*.rda
attic
21 changes: 21 additions & 0 deletions mlr-org/_freeze/site_libs/htmltools-fill-0.5.8.1/fill.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@layer htmltools {
.html-fill-container {
display: flex;
flex-direction: column;
/* Prevent the container from expanding vertically or horizontally beyond its
parent's constraints. */
min-height: 0;
min-width: 0;
}
.html-fill-container > .html-fill-item {
/* Fill items can grow and shrink freely within
available vertical space in fillable container */
flex: 1 1 auto;
min-height: 0;
min-width: 0;
}
.html-fill-container > :not(.html-fill-item) {
/* Prevent shrinking or growing of non-fill items */
flex: 0 0 auto;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(function(s,u){typeof exports=="object"&&typeof module<"u"?u(exports):typeof define=="function"&&define.amd?define(["exports"],u):(s=typeof globalThis<"u"?globalThis:s||self,u(s.reactR={}))})(this,function(s){"use strict";function u(n,t){if(typeof t=="string")return t;if(t.name[0]===t.name[0].toUpperCase()&&!n.hasOwnProperty(t.name))throw new Error("Unknown component: "+t.name);for(let i in t.attribs)g(t.attribs[i])&&(t.attribs[i]=u(n,t.attribs[i]));for(var a=n.hasOwnProperty(t.name)?n[t.name]:t.name,r=[a,t.attribs],e=0;e<t.children.length;e++)r.push(u(n,t.children[e]));return React.createElement.apply(React,r)}const o={widthProperty:"width",heightProperty:"height",appendPx:!1,renderOnResize:!1};function y(n){var t={};for(var a in o)t[a]=o[a];for(var a in n){if(!o.hasOwnProperty(a))throw new Error("Unrecognized option: "+a);t[a]=n[a]}return t}function d(n,t){return t.appendPx?n+"px":n}function g(n){return typeof n=="object"&&n.hasOwnProperty("name")&&n.hasOwnProperty("attribs")&&n.hasOwnProperty("children")}function b(n,t,a,r){var e=y(r);window.HTMLWidgets.widget({name:n,type:t,factory:function(i,c,l){var p,P={},h=function(f){e.renderOnResize&&(typeof f.tag=="object"&&(f.tag.attribs[e.widthProperty]=d(c),f.tag.attribs[e.heightProperty]=d(l)),p=f),this.instance.component=ReactDOM.render(u(a,f.tag),i)};return{instance:P,renderValue:h,resize:function(f,V){e.renderOnResize&&(c=f,l=V,h(p))}}}})}function O(n,{configuration:t,value:a}){let r=!1;t!==void 0&&(this.setInputConfiguration(n,t),r=!0),a!==void 0&&(this.setInputValue(n,a),r=!0),r&&(this.getCallback(n)(),this.render(n))}const w={receiveMessage:O,type:!1,ratePolicy:null};function m(n,t,a,r){r=Object.assign({},w,r),Shiny.inputBindings.register(new class extends Shiny.InputBinding{find(e){return $(e).find(n)}getValue(e){return this.getInputValue(e)}setValue(e,i,c=!1){$(e).data("callback")!==void 0&&(this.setInputValue(e,i),this.getCallback(e)(c),this.render(e))}initialize(e){$(e).data("value",JSON.parse($(e).next().text())),$(e).data("configuration",JSON.parse($(e).next().next().text()))}subscribe(e,i){$(e).data("callback",i),this.render(e)}unsubscribe(e){ReactDOM.render(null,e)}receiveMessage(e,i){r.receiveMessage.call(this,e,i)}getType(e){if(typeof r.type=="function")return r.type.call(this,e);if(r.type===!1||typeof r.type=="string")return r.type;throw new Error("options.type must be false, a string, or a function")}getRatePolicy(){return r.ratePolicy}getInputValue(e){return $(e).data("value")}setInputValue(e,i){$(e).data("value",i)}getInputConfiguration(e){return $(e).data("configuration")}setInputConfiguration(e,i){$(e).data("configuration",i)}getCallback(e){return $(e).data("callback")}render(e){const i=React.createElement(a,{configuration:this.getInputConfiguration(e),value:this.getValue(e),setValue:this.setValue.bind(this,e),el:e});ReactDOM.render(i,e)}},t)}s.hydrate=u,s.reactShinyInput=m,s.reactWidget=b,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
1 change: 1 addition & 0 deletions mlr-org/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ website:
- fselectors.qmd
- resources.qmd
- book.qmd
- benchmark.qmd
- gallery.qmd
- team.qmd
- text: "More"
Expand Down
5 changes: 5 additions & 0 deletions mlr-org/benchmark.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar: false
toc: false
---

15 changes: 12 additions & 3 deletions mlr-org/pipeops.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,18 @@ The base objects are implemented in `r ref_pkg("mlr3pipelines")`.
#| echo: false
#| column: page
mlr_pipeops$remove("breslowcompose") # workaround
content = as.data.table(mlr_pipeops)
content = content[key %nin% c("crankcompose", "distrcompose")] # deprecated, no help page
content = as.data.table(mlr_pipeops, objects = TRUE)[, .(key, label, packages, tags)]
content = content[key %nin% c(
"crankcompose",
"distrcompose",
"breslowcompose",
"fda.cor",
"fda.extract",
"fda.flatten",
"fda.fpca",
"fda.interpol",
"fda.scalerange",
"fda.smooth")] # deprecated, no help page
content[, packages := map(packages, function(value) setdiff(value, "mlr3pipelines"))]
content = content[, .(key, label, packages, tags)]
Expand Down
Loading

0 comments on commit a9f4a6b

Please sign in to comment.