From 828bc7a80e9f939f395465d03e5f941ba5f98d03 Mon Sep 17 00:00:00 2001 From: ryjohnson09 Date: Mon, 12 Aug 2024 13:17:26 +0000 Subject: [PATCH] remove publish 04 activity --- docs/slides/04_tidymodels_and_vetiver.html | 65 +++++--------------- website/slides/04_tidymodels_and_vetiver.qmd | 10 --- 2 files changed, 16 insertions(+), 59 deletions(-) diff --git a/docs/slides/04_tidymodels_and_vetiver.html b/docs/slides/04_tidymodels_and_vetiver.html index 3c49f9f..9a17a39 100644 --- a/docs/slides/04_tidymodels_and_vetiver.html +++ b/docs/slides/04_tidymodels_and_vetiver.html @@ -10,9 +10,9 @@ - + - Data Science Workflows with Posit Tools - R focus – tidymodels_and_vetiver + Data Science Workflows with Posit Tools - R focus @@ -43,7 +43,7 @@ } @media print { pre > code.sourceCode { white-space: pre-wrap; } - pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; } + pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } } pre.numberSource code { counter-reset: source-line 0; } @@ -793,28 +793,6 @@

Ferry Delay Prediction Model

-
-

-
-
-

Deploy to Posit Connect

-
-
-
-

Activity

-
-
-
    -
  • Open the project materials/04-tidymodels-vetiver/04-tidymodels-vetiver.Rproj
  • -
  • Open the file 04-tidymodels-vetiver.qmd
  • -
-

Publish to Posit Connect using push button deployment!

-
-
-
-
-
-

Review

@@ -1107,7 +1085,18 @@

Review

} return false; } - const onCopySuccess = function(e) { + const clipboard = new window.ClipboardJS('.code-copy-button', { + text: function(trigger) { + const codeEl = trigger.previousElementSibling.cloneNode(true); + for (const childEl of codeEl.children) { + if (isCodeAnnotation(childEl)) { + childEl.remove(); + } + } + return codeEl.innerText; + } + }); + clipboard.on('success', function(e) { // button target const button = e.trigger; // don't keep focus @@ -1139,29 +1128,7 @@

Review

}, 1000); // clear code selection e.clearSelection(); - } - const getTextToCopy = function(trigger) { - const codeEl = trigger.previousElementSibling.cloneNode(true); - for (const childEl of codeEl.children) { - if (isCodeAnnotation(childEl)) { - childEl.remove(); - } - } - return codeEl.innerText; - } - const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', { - text: getTextToCopy }); - clipboard.on('success', onCopySuccess); - if (window.document.getElementById('quarto-embedded-source-code-modal')) { - // For code content inside modals, clipBoardJS needs to be initialized with a container option - // TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860) - const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', { - text: getTextToCopy, - container: window.document.getElementById('quarto-embedded-source-code-modal') - }); - clipboardModal.on('success', onCopySuccess); - } var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//); var mailtoRegex = new RegExp(/^mailto:/); var filterRegex = new RegExp('/' + window.location.host + '/'); @@ -1169,7 +1136,7 @@

Review

return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href); } // Inspect non-navigation links and adorn them if external - var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)'); + var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)'); for (var i=0; i