diff --git a/.github/workflows/apps-deploy.yml b/.github/workflows/apps-deploy.yml index 2d7a907a18..0f93695c57 100644 --- a/.github/workflows/apps-deploy.yml +++ b/.github/workflows/apps-deploy.yml @@ -38,17 +38,16 @@ jobs: retry: 3 # extra_app_text: ", apps = list('000-all', '000-manual', 1, 2)" - ## Deployment server has been disabled - # - os: "${{ needs.config.outputs.ubuntu }}" - # r: "4.1" - # type: "connect" - # account: "barret" - # server_name: "beta.rstudioconnect.com" - # server_url: "https://beta.rstudioconnect.com/__api__" - # rspm: "https://demo.rstudiopm.com/all/__linux__/focal/latest" - # cores: 1 - # retry: 3 - # extra_app_text: ", apps = list('000-all', '000-manual', 1, 2)" + - os: "${{ needs.config.outputs.ubuntu }}" + r: "${{ needs.config.outputs.oldrel1 }}" + type: "connect" + account: "carson" + server_name: "connect.posit.it" + server_url: "https://connect.posit.it/__api__" + rspm: "https://demo.rstudiopm.com/all/__linux__/focal/latest" + cores: 1 + retry: 3 + # extra_app_text: ", apps = list('000-all', '000-manual', 1, 2)" env: R_REMOTES_NO_ERRORS_FROM_WARNINGS: true @@ -72,6 +71,14 @@ jobs: cache-version: deploy-2-${{ needs.config.outputs.cache-version }} extra-packages: any::rsconnect + # Temporarily downgrade rsconnect + # (rsconnect 1.0 introduced an issue with deploying from CI + # TODO: Once a proper fix is CRAN, we can remove this step) + - name: Downgrade rsconnect + shell: Rscript {0} + run: | + pak::pkg_install("rsconnect@0.8.29") + # Perform as second step to make sure this version is installed - name: Install shinycoreci from GitHub shell: Rscript {0} @@ -109,7 +116,7 @@ jobs: rsconnect::connectApiUser( '${{ matrix.config.account }}', '${{ matrix.config.server_name }}', - apiKey = '${{ secrets.BARRET_BETA_RSTUDIOCONNECT_COM_API_KEY }}' + apiKey = '${{ secrets.CARSON_CONNECT_POSIT_IT_API_KEY }}' ) # Deploy diff --git a/R/data-connect-urls.R b/R/data-connect-urls.R index 16e4a01620..cdea85daed 100644 --- a/R/data-connect-urls.R +++ b/R/data-connect-urls.R @@ -1,167 +1,177 @@ # Do not edit by hand! # This file is automatically generated by `./inst/gha/data-connect-urls-update.R` -default_connect_urls <- structure(c(`000-all` = "https://beta.rstudioconnect.com/content/7d30741f-fdee-4a92-8ad7-c11ab642a2fe/", -`000-manual` = "https://beta.rstudioconnect.com/content/86e374a7-888f-402b-80fa-417cd2ca0ee3/", -`001-hello` = "https://beta.rstudioconnect.com/content/2faa225b-1516-405d-b0cf-329e95d5645c/", -`002-hello-jster` = "https://beta.rstudioconnect.com/content/8b1f7494-dd6d-44fa-b411-3b32b8e7b11e/", -`002-text` = "https://beta.rstudioconnect.com/content/eccf87bc-7127-47ff-b79c-606cd1a5b82a/", -`003-reactivity` = "https://beta.rstudioconnect.com/content/3835d65f-a9d8-4bd0-8bbe-7c5e3034dc89/", -`004-mpg` = "https://beta.rstudioconnect.com/content/beba1ba0-15b6-4e33-9e4a-fab85796d5cb/", -`005-sliders` = "https://beta.rstudioconnect.com/content/1396d897-234c-439b-83b7-3e7e98bc1ed0/", -`006-tabsets` = "https://beta.rstudioconnect.com/content/d3847bd4-6665-417b-91de-7bc8d2161f4a/", -`007-widgets` = "https://beta.rstudioconnect.com/content/a209cda2-5ad4-4b13-bb53-5ff454173567/", -`008-html` = "https://beta.rstudioconnect.com/content/0a577c85-1026-4833-b865-c5407166e909/", -`009-upload` = "https://beta.rstudioconnect.com/content/c4feda5a-154b-4a71-8a7a-3754a4078736/", -`010-download` = "https://beta.rstudioconnect.com/content/d49ca7f0-ea7a-41a2-b152-dfaf7081c459/", -`012-datatables` = "https://beta.rstudioconnect.com/content/ab0dbc18-8f19-4126-a181-9f2b3c988beb/", -`013-selectize` = "https://beta.rstudioconnect.com/content/4c92ad3d-e1cf-4d9c-add7-618b732829ff/", -`014-onflushed` = "https://beta.rstudioconnect.com/content/cd26fd76-3f0e-49bb-995e-cc7cf26559da/", -`016-knitr-pdf` = "https://beta.rstudioconnect.com/content/1f17c89d-2942-40b7-906e-fc1a87f0a56a/", -`017-select-vs-selectize` = "https://beta.rstudioconnect.com/content/2a88c8eb-527b-4689-9623-6fe8f7bbe73a/", -`018-datatable-options` = "https://beta.rstudioconnect.com/content/8953e6b2-0b64-475d-a750-44de81c78298/", -`019-mathjax` = "https://beta.rstudioconnect.com/content/25aba5bf-ab58-4fba-bfcb-ca2c48374421/", -`020-knit-html` = "https://beta.rstudioconnect.com/content/d7fa09d2-749b-4e4d-9e11-6df72a0170c5/", -`021-selectize-plot` = "https://beta.rstudioconnect.com/content/9c80901c-7493-48ad-b8b7-d6e44b9b9bcd/", -`022-unicode-chinese` = "https://beta.rstudioconnect.com/content/91d37490-cce1-42d6-b2aa-93fa16d39f5b/", -`023-optgroup-server` = "https://beta.rstudioconnect.com/content/56cc00a9-7700-4365-83e5-fb458b63b89c/", -`024-optgroup-selectize` = "https://beta.rstudioconnect.com/content/c9a7ba94-5948-44c7-a4b0-9131331a8277/", -`025-loop-ui` = "https://beta.rstudioconnect.com/content/7eab68ef-13e6-4ac5-9aec-4ffce79b60a6/", -`026-shiny-inline` = "https://beta.rstudioconnect.com/content/c3d82fdc-9cfe-492c-b9b0-294ba7f4ec5c/", -`027-absolutely-positioned-panels` = "https://beta.rstudioconnect.com/content/5bbbc2df-8261-44e8-84c2-178a71f81847/", -`032-client-data-and-query-string` = "https://beta.rstudioconnect.com/content/7dd62b43-74be-4eb3-ae0d-d7728bbcaf28/", -`033-conditionalpanel-demo` = "https://beta.rstudioconnect.com/content/4b7acb3f-e236-4ac6-9a52-f973519b2ad9/", -`037-date-and-date-range` = "https://beta.rstudioconnect.com/content/076d22e7-2570-4ed1-aeb6-cadaf3bda348/", -`039-download-file` = "https://beta.rstudioconnect.com/content/82f361e8-cfbe-43da-83ec-d06f12f0ba05/", -`041-dynamic-ui` = "https://beta.rstudioconnect.com/content/893c5f20-0900-48d9-88ff-170c281d7081/", -`047-image-output` = "https://beta.rstudioconnect.com/content/e8279644-9b5b-4456-947a-780ea1c6743e/", -`048-including-html-text-and-markdown-files` = "https://beta.rstudioconnect.com/content/12704b85-98a5-4346-b353-fb7746dab6cf/", -`050-kmeans-example` = "https://beta.rstudioconnect.com/content/5d7e30c7-bf3b-40ca-8050-08e9e29f4d92/", -`051-movie-explorer` = "https://beta.rstudioconnect.com/content/2ca548cf-1bed-486f-8835-e5958cabb3c0/", -`054-nvd3-line-chart-output` = "https://beta.rstudioconnect.com/content/b3ddfd16-69f9-40cf-a0cd-9029805ca410/", -`060-retirement-simulation` = "https://beta.rstudioconnect.com/content/cdc21264-8900-4da8-8dc4-28f22d5ff30b/", -`061-server-to-client-custom-messages` = "https://beta.rstudioconnect.com/content/edbf6c48-522e-4d33-adfb-4033c830b7c6/", -`062-submitbutton-demo` = "https://beta.rstudioconnect.com/content/0037e821-0715-46c3-a6b0-7063c75b7088/", -`063-superzip-example` = "https://beta.rstudioconnect.com/content/611b961d-484f-4bed-9b2e-dd4b4758ea89/", -`065-update-input-demo` = "https://beta.rstudioconnect.com/content/7a8c3903-0e40-4a3b-8a02-386cfefa3cdc/", -`066-upload-file` = "https://beta.rstudioconnect.com/content/3b0248ad-e872-4cb0-8c3f-67c1ea790b2c/", -`081-widgets-gallery` = "https://beta.rstudioconnect.com/content/d7c005ca-53ac-419b-b1f8-496342f859a3/", -`082-word-cloud` = "https://beta.rstudioconnect.com/content/9f70d26a-403b-4451-9436-10fda4089e04/", -`093-plot-interaction-basic` = "https://beta.rstudioconnect.com/content/53d52ff3-3ea5-46f3-b637-47eff1ac7060/", -`094-image-interaction-basic` = "https://beta.rstudioconnect.com/content/94363cb8-6176-45eb-a536-0985cbfc28a4/", -`095-plot-interaction-advanced` = "https://beta.rstudioconnect.com/content/ed32edc8-e510-49c6-9949-ac7997e9f6f0/", -`096-plot-interaction-article-1` = "https://beta.rstudioconnect.com/content/06eb32dd-9bc2-48f6-b819-af8b5f620e4f/", -`097-plot-interaction-article-2` = "https://beta.rstudioconnect.com/content/7133821b-6505-4309-9355-a15ef2623a48/", -`098-plot-interaction-article-3` = "https://beta.rstudioconnect.com/content/a8f371c4-ecdc-4ef4-ae9b-884d4ae79759/", -`099-plot-interaction-article-4` = "https://beta.rstudioconnect.com/content/00b6dfc1-6ee4-4387-8311-dfce5fd184e9/", -`100-plot-interaction-article-5` = "https://beta.rstudioconnect.com/content/fe980952-5d1b-4a45-8a2d-4313ccf3da62/", -`101-plot-interaction-article-6` = "https://beta.rstudioconnect.com/content/b2240b56-addc-4ade-8acd-0e2daedcf0d4/", -`102-plot-interaction-article-7` = "https://beta.rstudioconnect.com/content/ab5ce5e2-c0ba-48b8-a80d-7c73855bcd76/", -`103-plot-interaction-article-8` = "https://beta.rstudioconnect.com/content/fc609184-d04d-4ee2-8e36-728e5b476f93/", -`104-plot-interaction-select` = "https://beta.rstudioconnect.com/content/9283b096-7a14-49c1-b963-c290657f9e51/", -`105-plot-interaction-zoom` = "https://beta.rstudioconnect.com/content/ce48f9f4-40ba-4cb5-bcbb-341e5bf25bb3/", -`106-plot-interaction-exclude` = "https://beta.rstudioconnect.com/content/c2f4cc34-233c-495d-b9a7-1a1035530553/", -`108-module-output` = "https://beta.rstudioconnect.com/content/fa639f64-d32f-4de0-8d63-1a627aaf6919/", -`109-render-table` = "https://beta.rstudioconnect.com/content/fe67a9ea-d0d4-4c3c-ac85-6a2554987e41/", -`110-error-sanitization` = "https://beta.rstudioconnect.com/content/a0bee9b4-d136-4962-b972-7253d11bd5e4/", -`111-insert-ui` = "https://beta.rstudioconnect.com/content/7b559cab-8bcf-497e-b9e7-90aea2fe91d6/", -`112-generate-report` = "https://beta.rstudioconnect.com/content/66293a97-3300-4011-906f-46e4acb546e2/", -`114-modal-dialog` = "https://beta.rstudioconnect.com/content/6a5c7b9f-f1c0-4fd4-bf8b-31d818357701/", -`115-remove-modal` = "https://beta.rstudioconnect.com/content/999388e0-350e-4055-b0be-75281e909b5d/", -`117-shinythemes` = "https://beta.rstudioconnect.com/content/cf973004-7a98-4bc7-8bc8-1fa8e238d17e/", -`118-highcharter-births` = "https://beta.rstudioconnect.com/content/a05e99a0-d9a8-4116-91fb-0eda0468dd59/", -`119-namespaced-conditionalpanel-demo` = "https://beta.rstudioconnect.com/content/8ab747b0-0adc-4f55-9f22-92d47bb820a7/", -`121-async-timer` = "https://beta.rstudioconnect.com/content/28d99209-1215-4333-b3fc-ca4228584e2f/", -`122-async-outputs` = "https://beta.rstudioconnect.com/content/63f3050f-ac22-4faa-af85-ca2a1e29e8b7/", -`123-async-renderprint` = "https://beta.rstudioconnect.com/content/a455f6c4-39bc-45b3-85e9-ab70e0a5cb92/", -`124-async-download` = "https://beta.rstudioconnect.com/content/cae7f512-0d34-4b33-8b3b-02793784f059/", -`125-async-req` = "https://beta.rstudioconnect.com/content/dde3f706-41ae-4a09-9a42-7fd6aef5626c/", -`126-async-ticks` = "https://beta.rstudioconnect.com/content/cb7cb780-9cd1-47e0-b70b-10027f7983c9/", -`128-plot-dim-error` = "https://beta.rstudioconnect.com/content/85d0c432-01b3-439b-93bb-b5494c9c5635/", -`129-async-perf` = "https://beta.rstudioconnect.com/content/81dd9d60-cfad-44dc-b46e-56c494517fba/", -`130-output-null` = "https://beta.rstudioconnect.com/content/01add785-94d1-4814-98a6-1f1bf1c5702c/", -`131-renderplot-args` = "https://beta.rstudioconnect.com/content/24c6c51f-87db-4d32-bd46-88f7491cbbe3/", -`132-async-events` = "https://beta.rstudioconnect.com/content/43303467-a9c2-4176-81f0-d5188e18297a/", -`133-async-hold-inputs` = "https://beta.rstudioconnect.com/content/53faab81-8364-4336-8381-1dbf37edb091/", -`134-async-hold-timers` = "https://beta.rstudioconnect.com/content/b306e7ea-d617-454c-956e-4946f95a4ece/", -`135-bookmark-uioutput` = "https://beta.rstudioconnect.com/content/3352404b-bb09-43d8-a380-47c16247a2b7/", -`136-plot-cache` = "https://beta.rstudioconnect.com/content/f288dc54-e512-4e98-be6e-2a53e83f54be/", -`137-plot-cache-key` = "https://beta.rstudioconnect.com/content/eb4f746e-da70-48c4-a82c-6e91b5d0059a/", -`138-icon-fontawesome` = "https://beta.rstudioconnect.com/content/540f4533-c8a1-49ee-9996-3dbdd0e65cf0/", -`140-selectize-inputs` = "https://beta.rstudioconnect.com/content/e5cf5c4e-6da5-4f01-afb1-73975711f6b3/", -`142-reactive-timer` = "https://beta.rstudioconnect.com/content/fc55f90e-d6e9-477a-87d4-4ff76418dcad/", -`143-async-plot-caching` = "https://beta.rstudioconnect.com/content/5d808e55-2d7d-4339-83fe-5a31ebc56554/", -`145-dt-replacedata` = "https://beta.rstudioconnect.com/content/ab954096-a803-4d2c-ad50-ed87454ee253/", -`147-websocket` = "https://beta.rstudioconnect.com/content/974b88aa-91f1-4fb0-9f77-63353eec9fbd/", -`148-addresourcepath-deleted` = "https://beta.rstudioconnect.com/content/bb2eab96-e1e8-4f6a-bf30-b446ed53ab54/", -`149-onRender` = "https://beta.rstudioconnect.com/content/2463c459-5ee2-4dd1-9d77-0cb6f9042a62/", -`150-networkD3-sankey` = "https://beta.rstudioconnect.com/content/35b6b611-1d0e-4afd-ba16-f7471ef529b3/", -`151-reactr-input` = "https://beta.rstudioconnect.com/content/586e1a25-e2c2-4ae0-8aa4-3edd061ace5b/", -`152-set-reactivevalue` = "https://beta.rstudioconnect.com/content/cc307712-1ec4-43cd-93bc-44922e71209b/", -`153-connection-header` = "https://beta.rstudioconnect.com/content/8fb56c8c-bc33-4904-a986-a562f59f072e/", -`154-index-html-server-r` = "https://beta.rstudioconnect.com/content/787ce601-6d9e-41cb-815e-dc4040c7e181/", -`155-index-html-app-r` = "https://beta.rstudioconnect.com/content/1317b7b9-2f6b-4115-b1db-8dbf3e85526f/", -`156-subapps` = "https://beta.rstudioconnect.com/content/ccd77096-baf1-4356-b314-1b8d9aa7a3e0/", -`157-date-format` = "https://beta.rstudioconnect.com/content/6f36ee41-43dc-42e3-a2e0-f90b511a11a9/", -`158-input-labels` = "https://beta.rstudioconnect.com/content/e22dd1ca-ed92-4368-9317-b90866644879/", -`159-rate-policy` = "https://beta.rstudioconnect.com/content/039aa3d9-156b-4b0d-8bd7-1842a78353fc/", -`160-select-input` = "https://beta.rstudioconnect.com/content/f09d53d4-bb8a-498a-a973-063fcf693a72/", -`161-discrete-limits` = "https://beta.rstudioconnect.com/content/74bb9093-341d-4a9d-baef-a035e3fbe9d8/", -`162-plot-dragging` = "https://beta.rstudioconnect.com/content/b2488df6-8e66-4eea-9e5e-a9751b2fc30b/", -`163-select-factor` = "https://beta.rstudioconnect.com/content/8d7341a0-9dab-4998-8910-3e677ff7013b/", -`164-no-whitespace` = "https://beta.rstudioconnect.com/content/2a2534f5-0cd5-4245-92b1-144bc0dab474/", -`165-trailing-comma` = "https://beta.rstudioconnect.com/content/b95da59c-42a5-4293-a2ca-56df7ec5ee49/", -`166-dynamic-hosted-tab` = "https://beta.rstudioconnect.com/content/4d9dd77b-a3b1-4a68-aa0c-201105ec2009/", -`167-resource-warnings` = "https://beta.rstudioconnect.com/content/6492c17b-f3e1-43a0-a3d9-b1cf59331061/", -`168-supporting-r-dir` = "https://beta.rstudioconnect.com/content/dab8af18-b4ec-43c6-93e0-b319a589c602/", -`170-date-range-max` = "https://beta.rstudioconnect.com/content/10d8cdfd-ccd8-463c-96c7-d4d7c780502a/", -`171-path-traversal` = "https://beta.rstudioconnect.com/content/46a3e689-1028-427d-921a-19b0b6c80f18/", -`173-invalidatelater-leak` = "https://beta.rstudioconnect.com/content/e85eb40c-41c8-4401-94a1-d73dbe2c7c6e/", -`174-throttle-debounce` = "https://beta.rstudioconnect.com/content/769cd7fb-d834-44aa-b420-4021ed24a8b0/", -`175-setInputValue` = "https://beta.rstudioconnect.com/content/4155eb31-8fd4-4248-b232-284a65d96dd1/", -`178-delayed-widget` = "https://beta.rstudioconnect.com/content/3dcc8b51-add2-436e-b381-939b017ccb89/", -`179-nondelayed-widget` = "https://beta.rstudioconnect.com/content/c12a7450-1699-4e2d-8e9e-1032f222d146/", -`180-delayed-staticwidget` = "https://beta.rstudioconnect.com/content/9f215ea0-75e9-4519-9556-76905204abe5/", -`181-report-image` = "https://beta.rstudioconnect.com/content/78e4c4db-550a-49db-99d6-74ff63f38b35/", -`182-report-png` = "https://beta.rstudioconnect.com/content/f94c946c-41ec-4e7f-8e89-91e28abe8102/", -`183-report-cairo` = "https://beta.rstudioconnect.com/content/22abfd0d-3324-48d9-9841-64fa248099d3/", -`184-report-ragg` = "https://beta.rstudioconnect.com/content/8e7951e8-d32f-4e88-ae3a-9a78ad21e4b0/", -`185-report-theme` = "https://beta.rstudioconnect.com/content/d0a66234-ddc2-4d00-bdcd-cf9f36fcaec5/", -`186-rdir-sortc` = "https://beta.rstudioconnect.com/content/3bc01cb1-7951-41f7-9168-0e7535fa81a7/", -`187-navbar-collapse` = "https://beta.rstudioconnect.com/content/f32f8428-6cf9-4755-a73b-46b96b8d0b6f/", -`188-encoding` = "https://beta.rstudioconnect.com/content/350768d9-20cd-4023-b0f8-e4868a847aa2/", -`189-ui-http-response` = "https://beta.rstudioconnect.com/content/fb85c176-3227-4475-b409-9a9aee3ef59c/", -`190-reactlog-module-ex1` = "https://beta.rstudioconnect.com/content/9c96b39a-effc-4d4c-ad3b-8a90ff602edc/", -`191-reactlog-pythagoras` = "https://beta.rstudioconnect.com/content/de045a62-8d33-4d3a-bd05-10da721c48ed/", -`192-reactlog-hello` = "https://beta.rstudioconnect.com/content/c8814614-d009-4544-95a6-306f217e0f5f/", -`193-reactlog-dynamic-ui` = "https://beta.rstudioconnect.com/content/3b982f71-1a9e-40b1-a065-6bccd477b498/", -`194-reactlog-plot-cache-key` = "https://beta.rstudioconnect.com/content/d0343f44-216f-41bb-b1ed-bb57bdc085dc/", -`195-radio-empty` = "https://beta.rstudioconnect.com/content/4b5e2ba3-a9b5-4b42-bb01-495b4aa7b4d7/", -`200-flexdashboard-render-text` = "https://beta.rstudioconnect.com/content/2ee31e81-8bf5-4c34-bce6-5b557bf991ef/", -`205-dynamic-tabs-compat` = "https://beta.rstudioconnect.com/content/4f772555-55ac-4ed3-aeda-cc642214888b/", -`206-freeze-thaw` = "https://beta.rstudioconnect.com/content/ac58b2ae-a538-4a9a-ba5e-eb2e8e18a6fe/", -`207-freeze-invalidate` = "https://beta.rstudioconnect.com/content/532b02b9-6be6-4e7f-ae1f-b6e1ff6dd71e/", -`208-bind-cache-event` = "https://beta.rstudioconnect.com/content/fc1f7276-5253-47b1-a722-d4b3dd51de86/", -`208-shinyoptions` = "https://beta.rstudioconnect.com/content/6c1b60bd-0946-426d-b212-797e46b02985/", -`209-datepicker` = "https://beta.rstudioconnect.com/content/c40b10e2-611b-4303-93d7-99a1251b526d/", -`209-set-current-theme` = "https://beta.rstudioconnect.com/content/5b501a51-1f2d-4fd1-bfd5-0ac3cc2d403a/", -`210-future_promise` = "https://beta.rstudioconnect.com/content/029ebce3-c669-4d0a-9d8a-3f13d7b12248/", -`211-sv-custom-inputs` = "https://beta.rstudioconnect.com/content/2680a6e1-51ac-4b99-9b3f-ef9bad998f64/", -`212-daterangepicker` = "https://beta.rstudioconnect.com/content/5bf3a81f-99b2-48c4-9800-0e5aca18f694/", -`212-shinymeta` = "https://beta.rstudioconnect.com/content/f29fe54c-aa6e-4ed0-8e9e-82bca68f16f6/", -`213-tab-panels` = "https://beta.rstudioconnect.com/content/041c8aab-a048-41ce-b1ab-561c359142a7/", -`214-render-script-attrs` = "https://beta.rstudioconnect.com/content/246ae441-1a22-4a77-8a05-71615fdfefcb/", -`215-bslib-nav` = "https://beta.rstudioconnect.com/content/5cf29c27-70cf-41ad-a12e-293f81ef50dc/", -`216-quosures` = "https://beta.rstudioconnect.com/content/6483be61-cc27-44e4-84be-e61718dc3ca3/", -`217-snapshot-info-option` = "https://beta.rstudioconnect.com/content/208a904d-301e-4d61-bd56-c87962794e0b/", -`217-snapshot-info-url` = "https://beta.rstudioconnect.com/content/5d0c151b-f42a-45de-95a3-d6c045cf1fa7/", -`218-insert-ui-jquery` = "https://beta.rstudioconnect.com/content/054610b7-79e6-4373-93ff-1fa72d0d2cdf/", -`219-sliders-date` = "https://beta.rstudioconnect.com/content/b2b64560-eb17-484c-98f6-597b0dbf7ddb/", -`220-execute-hidden-plot` = "https://beta.rstudioconnect.com/content/e1041c4f-489f-44a8-a410-bc779db96682/", -`300-bs-themer` = "https://beta.rstudioconnect.com/content/35545a4d-ad66-4d58-8d46-24d890e43016/", -`301-bs-themes` = "https://beta.rstudioconnect.com/content/f8eee5ea-7a78-4821-98b9-bd5c073af443/", -`302-bootswatch-themes` = "https://beta.rstudioconnect.com/content/17225553-a042-4bee-bb37-d961bcdbf482/", -`303-bslib-html-template` = "https://beta.rstudioconnect.com/content/201dabe5-bb19-4bd6-9bac-781a1aee9485/", -`304-bslib-card` = "https://beta.rstudioconnect.com/content/d42d5175-48c5-46b0-b65e-0816227f9abf/", -`305-bslib-value-box` = "https://beta.rstudioconnect.com/content/7132091c-ba1b-4a8b-9a08-cbed2870b4bf/", -`900-text-jster` = "https://beta.rstudioconnect.com/content/e23a6e50-ff53-4bce-bb96-f5135619b963/" -), account = "barret", server = "beta.rstudioconnect.com") +default_connect_urls <- structure(c(`000-all` = "https://connect.posit.it/content/b295a4f7-1111-43b8-b33b-970a60270ca6/", +`000-manual` = "https://connect.posit.it/content/255d5bb8-77c7-4802-8833-8a78764a0c0c/", +`001-hello` = "https://connect.posit.it/content/ac4f9531-934a-436a-b3b3-70c7b2901897/", +`002-text` = "https://connect.posit.it/content/c561586d-5a3d-484a-988d-db39ad91d733/", +`003-reactivity` = "https://connect.posit.it/content/905f52e0-c826-42cc-928f-f928c2dfa7d1/", +`004-mpg` = "https://connect.posit.it/content/63a7d6f1-509f-4d44-ad7b-87b9efa64c90/", +`005-sliders` = "https://connect.posit.it/content/83b8faef-41de-4d7c-ad90-c36cab68b2e0/", +`006-tabsets` = "https://connect.posit.it/content/8d918e92-775b-4919-8994-b3652da5fb2f/", +`007-widgets` = "https://connect.posit.it/content/747e96f7-292c-4d03-8d1f-3a861dcf1285/", +`008-html` = "https://connect.posit.it/content/ffeb8b50-53f6-444d-8427-0613fe420fc4/", +`009-upload` = "https://connect.posit.it/content/09913c6d-a51f-4aac-9a32-fd99158bb5b0/", +`010-download` = "https://connect.posit.it/content/b36780ae-ba86-416b-81c6-175aea91b4b2/", +`012-datatables` = "https://connect.posit.it/content/71637c16-d2f0-4fd4-9f70-217873c8aff2/", +`013-selectize` = "https://connect.posit.it/content/0cd5c672-4bdf-4b92-9b1c-012c86b4c061/", +`014-onflushed` = "https://connect.posit.it/content/20d2fdf0-bd27-403d-900e-13ff93fc77f8/", +`016-knitr-pdf` = "https://connect.posit.it/content/34928725-9125-4d90-8d54-031be6d51080/", +`017-select-vs-selectize` = "https://connect.posit.it/content/8664bfb9-86ab-4d36-8d00-b4ea1d197398/", +`018-datatable-options` = "https://connect.posit.it/content/3d59b532-126d-4e2b-beab-5264da4b7736/", +`019-mathjax` = "https://connect.posit.it/content/d31e97ab-af28-4db1-8da4-e503a4e53e6c/", +`020-knit-html` = "https://connect.posit.it/content/3b6d2b4d-0ae7-4bbc-abc0-6206de8a36e8/", +`021-selectize-plot` = "https://connect.posit.it/content/e158f3db-a65c-4d16-8dc3-d4b61d4f2aac/", +`022-unicode-chinese` = "https://connect.posit.it/content/f56a232b-c756-4369-93be-797396e67243/", +`023-optgroup-server` = "https://connect.posit.it/content/ab796495-f2d1-4b50-8b12-e014d1d5a59c/", +`024-optgroup-selectize` = "https://connect.posit.it/content/4abd995e-e0a5-472d-8721-edb2f1c9b7e1/", +`025-loop-ui` = "https://connect.posit.it/content/cdb5aee1-883e-4c5e-8c7b-c4cf90f87a12/", +`026-shiny-inline` = "https://connect.posit.it/content/0de67c32-c681-42aa-a209-44b3a6eebf74/", +`027-absolutely-positioned-panels` = "https://connect.posit.it/content/64778014-294c-49f3-8908-6e4630f33345/", +`032-client-data-and-query-string` = "https://connect.posit.it/content/a3dda91d-5cf4-4a34-badb-9dac01698773/", +`033-conditionalpanel-demo` = "https://connect.posit.it/content/0d4d8fd0-b51d-4576-b54c-f394fd33e12f/", +`037-date-and-date-range` = "https://connect.posit.it/content/fe083087-ffe6-4cff-ac84-250af0a4b107/", +`039-download-file` = "https://connect.posit.it/content/114703d7-0423-4881-8805-6d54bee7f4ee/", +`041-dynamic-ui` = "https://connect.posit.it/content/7a892188-0876-4787-9718-4fe1023d6b2d/", +`047-image-output` = "https://connect.posit.it/content/676eeb77-fade-428e-a2e3-69d86ee94201/", +`048-including-html-text-and-markdown-files` = "https://connect.posit.it/content/89bebd82-7f9a-4380-8364-b32d0dffe55a/", +`050-kmeans-example` = "https://connect.posit.it/content/190cdc9e-a0ba-4aa7-aac7-dbe59c1d58f4/", +`051-movie-explorer` = "https://connect.posit.it/content/d4627d52-4896-4020-90f2-dd541a72bfbe/", +`054-nvd3-line-chart-output` = "https://connect.posit.it/content/ecc7a3a6-c226-431f-a3aa-7aa34f635a12/", +`060-retirement-simulation` = "https://connect.posit.it/content/49bf5781-8f24-42f0-8259-6d7f9c16cbcd/", +`061-server-to-client-custom-messages` = "https://connect.posit.it/content/40b52a4c-5bfa-4b62-9b1e-c69830423a50/", +`062-submitbutton-demo` = "https://connect.posit.it/content/4ce20cef-9264-4876-98ff-be9795bf6926/", +`063-superzip-example` = "https://connect.posit.it/content/c6b68036-946e-4913-89ed-9cb8420c3ed2/", +`065-update-input-demo` = "https://connect.posit.it/content/519e2d4e-ae95-4b43-8b12-44a42a7bb300/", +`066-upload-file` = "https://connect.posit.it/content/f357a486-2dbc-4121-a1a4-97db7708ca4b/", +`081-widgets-gallery` = "https://connect.posit.it/content/29f29af0-4d93-4730-97d9-d56f0f1ff830/", +`082-word-cloud` = "https://connect.posit.it/content/beef4ef3-aee9-4be1-8b2e-0938413459cd/", +`093-plot-interaction-basic` = "https://connect.posit.it/content/796e6e7c-3f30-437d-b3ba-50d309df3eec/", +`094-image-interaction-basic` = "https://connect.posit.it/content/93a98974-7227-4d76-8ddd-9456878864c0/", +`095-plot-interaction-advanced` = "https://connect.posit.it/content/be677df7-66c8-49a6-89ef-dcca30f80c53/", +`096-plot-interaction-article-1` = "https://connect.posit.it/content/4b6a1400-6412-4f81-af2b-948e4d30c170/", +`097-plot-interaction-article-2` = "https://connect.posit.it/content/3c3eb8f7-a09c-4b9f-bb22-7f5f4b4fa891/", +`098-plot-interaction-article-3` = "https://connect.posit.it/content/df946be3-fd0f-4767-b706-691eb61a01a5/", +`099-plot-interaction-article-4` = "https://connect.posit.it/content/1f21fb45-f2db-45f5-95b4-74fe27fca818/", +`100-plot-interaction-article-5` = "https://connect.posit.it/content/1e7b8f11-71d8-47d3-9791-e8428fadf0f5/", +`101-plot-interaction-article-6` = "https://connect.posit.it/content/18b1c406-b3db-4782-a743-e2c998e17832/", +`102-plot-interaction-article-7` = "https://connect.posit.it/content/e29c76ae-e02e-4beb-ab97-e1965ae4ef6a/", +`103-plot-interaction-article-8` = "https://connect.posit.it/content/5ef02747-031f-482e-88ca-38746c9ce66f/", +`104-plot-interaction-select` = "https://connect.posit.it/content/5eeb03bf-89ea-42a3-a220-53ccb552eefd/", +`105-plot-interaction-zoom` = "https://connect.posit.it/content/25501e43-1fbe-4e68-8eb2-edb556c70063/", +`106-plot-interaction-exclude` = "https://connect.posit.it/content/887f25bd-42c8-49a2-9988-8d1625f03e94/", +`108-module-output` = "https://connect.posit.it/content/adb3e784-57e8-48f4-b872-8db5d2fbaea1/", +`109-render-table` = "https://connect.posit.it/content/77b32d1c-254d-499a-b995-8df3ffb14bef/", +`110-error-sanitization` = "https://connect.posit.it/content/71a1c1a9-7fb9-42f7-b23e-1da28e0f8672/", +`111-insert-ui` = "https://connect.posit.it/content/7dfb287f-867b-484e-88ac-6e13d05f3347/", +`112-generate-report` = "https://connect.posit.it/content/695cb00c-b378-4d68-bdbb-68a6d3e319f4/", +`114-modal-dialog` = "https://connect.posit.it/content/1bcb3abf-a9f7-4022-80fe-54b5593678b6/", +`115-remove-modal` = "https://connect.posit.it/content/d54de953-b099-4548-85dc-62ba195efcf0/", +`117-shinythemes` = "https://connect.posit.it/content/223b8f53-03c2-4f0c-afe3-708766496978/", +`118-highcharter-births` = "https://connect.posit.it/content/7072f470-4d8b-4cba-acff-e01d1405e74a/", +`119-namespaced-conditionalpanel-demo` = "https://connect.posit.it/content/a29af49c-a60d-4d38-9d57-ce32c2d29711/", +`121-async-timer` = "https://connect.posit.it/content/04db7fe0-175c-4005-90c4-bdb5cb969d78/", +`122-async-outputs` = "https://connect.posit.it/content/cf055040-8bfd-4c3c-9c81-41c2c520a944/", +`123-async-renderprint` = "https://connect.posit.it/content/ffee94f3-156a-414b-b11f-cfbe0b15113f/", +`124-async-download` = "https://connect.posit.it/content/4f1a5ab5-d8c4-4a35-ba5e-347e2fa8df6b/", +`125-async-req` = "https://connect.posit.it/content/a780a75e-ff79-4bde-9bda-6e695fa14d2f/", +`126-async-ticks` = "https://connect.posit.it/content/b09c676c-57f2-4299-821f-eb37140855be/", +`128-plot-dim-error` = "https://connect.posit.it/content/62e6002f-c0ba-4be4-9b48-78d4e3c68dc1/", +`129-async-perf` = "https://connect.posit.it/content/cf74bf3b-1cae-4579-9565-7de7c5e9e40a/", +`130-output-null` = "https://connect.posit.it/content/b141f346-39c1-40da-806c-f9ba12cfe20a/", +`131-renderplot-args` = "https://connect.posit.it/content/f74dee39-c35a-401e-a0ac-7e8e07dab805/", +`132-async-events` = "https://connect.posit.it/content/ec3ad1fc-a070-43c0-a351-ab23a90fbc4c/", +`133-async-hold-inputs` = "https://connect.posit.it/content/fc23d6ab-4ca2-4145-918e-975adf871463/", +`134-async-hold-timers` = "https://connect.posit.it/content/a2c8c329-04dc-4348-a38b-11c34e60b65f/", +`135-bookmark-uioutput` = "https://connect.posit.it/content/aecada0c-45ba-4d50-9d03-35f1b2b6d372/", +`136-plot-cache` = "https://connect.posit.it/content/0db610dd-6172-4e79-8e39-b02fa49f02a1/", +`137-plot-cache-key` = "https://connect.posit.it/content/77e7e4b9-7617-439e-83fc-96a9697c13c6/", +`138-icon-fontawesome` = "https://connect.posit.it/content/12986a29-d776-4e6f-8e3c-d38162f685fa/", +`140-selectize-inputs` = "https://connect.posit.it/content/2dcf6d68-fb65-444a-8493-7ca2a29391cf/", +`142-reactive-timer` = "https://connect.posit.it/content/0a22b07c-9f13-427e-b25d-2dadca85f3b5/", +`143-async-plot-caching` = "https://connect.posit.it/content/da4d9caf-8222-499e-b98d-8fac8d78b6c4/", +`145-dt-replacedata` = "https://connect.posit.it/content/e7212a07-7dc0-4258-a20c-3ce8c1b73fb1/", +`147-websocket` = "https://connect.posit.it/content/7730ad19-e464-4645-9695-a0c545f18a09/", +`148-addresourcepath-deleted` = "https://connect.posit.it/content/75ae55f6-bd96-4f48-9f81-4eef5a45ebe3/", +`149-onRender` = "https://connect.posit.it/content/b45ff844-4084-4e29-8ea0-a66eff3eddc7/", +`150-networkD3-sankey` = "https://connect.posit.it/content/1b2c096d-725d-490f-899c-7b9677220900/", +`151-reactr-input` = "https://connect.posit.it/content/72de9702-9306-4b19-8bcc-0f5a747e9206/", +`152-set-reactivevalue` = "https://connect.posit.it/content/af867de3-677f-49cd-a952-c7bb6601510f/", +`153-connection-header` = "https://connect.posit.it/content/e2ce6bdd-60bc-4335-93f0-e78c9735eea8/", +`154-index-html-server-r` = "https://connect.posit.it/content/1c2641ee-4924-442b-a432-cf828789659f/", +`155-index-html-app-r` = "https://connect.posit.it/content/203d0340-4454-4049-a004-0d3b4d3d744b/", +`156-subapps` = "https://connect.posit.it/content/da5c3c2c-89fd-46de-a6ba-e6391c67319a/", +`157-date-format` = "https://connect.posit.it/content/77dc70d0-4954-46de-b642-969e78d077fe/", +`158-input-labels` = "https://connect.posit.it/content/56341f03-8110-487e-a8fe-9dc9bd56ff88/", +`159-rate-policy` = "https://connect.posit.it/content/4634f7ec-c947-474e-976a-8f5157054915/", +`160-select-input` = "https://connect.posit.it/content/f8077c0a-d7d1-466e-86a9-29070e9ef76f/", +`161-discrete-limits` = "https://connect.posit.it/content/179d462e-48cb-4bbe-9bc8-ae18044172c6/", +`162-plot-dragging` = "https://connect.posit.it/content/6c0abb94-4700-42bf-92cb-446a6ee9c6c2/", +`163-select-factor` = "https://connect.posit.it/content/eeceaac7-52b7-4757-971d-a33250eb5f9c/", +`164-no-whitespace` = "https://connect.posit.it/content/e3c0e189-7244-4400-944f-491c732be720/", +`165-trailing-comma` = "https://connect.posit.it/content/04467ebe-192c-4bf2-bb67-1d0034618bc1/", +`166-dynamic-hosted-tab` = "https://connect.posit.it/content/82cfdfb2-f969-4787-8708-e398bd746f10/", +`167-resource-warnings` = "https://connect.posit.it/content/6c49732c-0cbc-4f55-afb5-8920e6c0a7f7/", +`168-supporting-r-dir` = "https://connect.posit.it/content/ed9f7f55-1275-4fbf-bf5f-7a863bdc9de0/", +`170-date-range-max` = "https://connect.posit.it/content/e9d2bc2b-b068-47da-a78d-9f5057a68afa/", +`171-path-traversal` = "https://connect.posit.it/content/ce1ca7e3-23c2-46f2-8660-1287c2576765/", +`173-invalidatelater-leak` = "https://connect.posit.it/content/86c7acb9-33f3-4c46-8c67-17b74028ef79/", +`174-throttle-debounce` = "https://connect.posit.it/content/a3f44c37-802d-4c66-bc95-2354eeb9db1c/", +`175-setInputValue` = "https://connect.posit.it/content/2315fd6a-dcb8-4fbb-8fcf-ddb18f9b579f/", +`178-delayed-widget` = "https://connect.posit.it/content/b53ad45c-0d1f-4b7a-bbfe-c9c49bb6b3d3/", +`179-nondelayed-widget` = "https://connect.posit.it/content/55424f6b-b030-420d-923c-52434e8a7af2/", +`180-delayed-staticwidget` = "https://connect.posit.it/content/965b44dc-4811-43d0-83b7-47250ffe2b42/", +`181-report-image` = "https://connect.posit.it/content/0f087dc5-6dc1-4b1a-9bac-b173772ef460/", +`182-report-png` = "https://connect.posit.it/content/a871a2f2-bb64-4d48-8de3-a2e0eb138868/", +`183-report-cairo` = "https://connect.posit.it/content/9c98ed87-0848-4e32-bef1-c3d9d9715a7e/", +`184-report-ragg` = "https://connect.posit.it/content/4a5c40b2-1029-4174-819c-cf47205ccb9e/", +`185-report-theme` = "https://connect.posit.it/content/86c87ea4-6417-48b0-88e6-2ce61322e4cc/", +`186-rdir-sortc` = "https://connect.posit.it/content/83ef02b2-69dc-417a-8158-6ce1e3c118ee/", +`187-navbar-collapse` = "https://connect.posit.it/content/06922119-81aa-45cb-b5a5-79169f7bd095/", +`188-encoding` = "https://connect.posit.it/content/0604c5fc-05d1-4de7-bdc8-95343a50a11f/", +`189-ui-http-response` = "https://connect.posit.it/content/0dccefa1-696a-49ff-9963-4fbc836cba03/", +`190-reactlog-module-ex1` = "https://connect.posit.it/content/12592b95-7b3a-4aa5-babb-5162b67b382e/", +`191-reactlog-pythagoras` = "https://connect.posit.it/content/6f4cdc36-f352-4233-b223-732284074fba/", +`192-reactlog-hello` = "https://connect.posit.it/content/5535e14a-3a82-4d4c-ad65-e89adbc2b87c/", +`193-reactlog-dynamic-ui` = "https://connect.posit.it/content/681258fb-442d-499e-a956-b4edbb36eaf7/", +`194-reactlog-plot-cache-key` = "https://connect.posit.it/content/d6444a6e-40f1-4019-9025-d9982855fa24/", +`195-radio-empty` = "https://connect.posit.it/content/87ee286a-2694-45cf-a591-d16c6011e558/", +`200-flexdashboard-render-text` = "https://connect.posit.it/content/dcbecfb1-fd5e-42ad-9204-939c0a59693e/", +`205-dynamic-tabs-compat` = "https://connect.posit.it/content/8841081f-24aa-4a9a-ba27-8ae7f1a3b671/", +`206-freeze-thaw` = "https://connect.posit.it/content/3895793a-330b-4b5c-bb8c-bf379d6e7496/", +`207-freeze-invalidate` = "https://connect.posit.it/content/6954bfa4-dfd8-429b-b245-5414a095cb87/", +`208-bind-cache-event` = "https://connect.posit.it/content/d6979414-d725-4cf6-8ccb-8a67c145d84a/", +`209-datepicker` = "https://connect.posit.it/content/307300db-b89d-48a9-88bd-4d7c4f71221d/", +`210-future_promise` = "https://connect.posit.it/content/9577603e-2d24-4bb8-9beb-a5c4c179b7c1/", +`211-sv-custom-inputs` = "https://connect.posit.it/content/2d9d79bf-2399-4a9f-9aaf-f07d1d5b499e/", +`212-daterangepicker` = "https://connect.posit.it/content/de612038-b07f-489e-a894-63f7861f0bf9/", +`213-tab-panels` = "https://connect.posit.it/content/8a3b7d64-0f35-4bd4-8bbd-d75a5d705857/", +`214-render-script-attrs` = "https://connect.posit.it/content/67e09fa8-09be-42f5-8218-efbf4a4ff4b8/", +`215-bslib-nav` = "https://connect.posit.it/content/b2130453-0cb4-4f48-bff7-07f612566fde/", +`216-quosures` = "https://connect.posit.it/content/88e24861-d740-498b-99fe-bbc15bbbd477/", +`218-insert-ui-jquery` = "https://connect.posit.it/content/bc0d4b8b-1696-4c6f-bc01-37065bee5377/", +`219-sliders-date` = "https://connect.posit.it/content/e0f28daf-891f-490a-9960-b91a310f7868/", +`220-execute-hidden-plot` = "https://connect.posit.it/content/a999cbac-a18d-4282-920f-f40d29fe701c/", +`221-async-script-dynamic-ui` = "https://connect.posit.it/content/42014904-ca4e-4aca-aa8d-ff5343a4534c/", +`222-shinyoptions` = "https://connect.posit.it/content/4b443d78-3347-4c37-8cc9-c6773119f3d5/", +`223-set-current-theme` = "https://connect.posit.it/content/c0e358d9-f992-4a6f-8abd-07a54746e4da/", +`224-shinymeta` = "https://connect.posit.it/content/854930a5-9f89-46cb-a633-fbba25fa1f53/", +`225-snapshot-info-option` = "https://connect.posit.it/content/5936bca6-4d86-4038-b094-1079bfa08099/", +`226-snapshot-info-url` = "https://connect.posit.it/content/d6fabe84-2816-46d3-96ef-d65bb1f659a8/", +`300-bs-themer` = "https://connect.posit.it/content/6ad66496-6b8c-4674-a69e-b9e5e1c0853a/", +`301-bs-themes` = "https://connect.posit.it/content/013bbc1b-6e62-43fc-8379-e3f44a53612e/", +`302-bootswatch-themes` = "https://connect.posit.it/content/bb3086de-e614-47d1-b770-5feb8033d9f6/", +`303-bslib-html-template` = "https://connect.posit.it/content/57db853c-d2ed-4041-907e-971ee36f4142/", +`304-bslib-card` = "https://connect.posit.it/content/025764a3-2903-45d9-952c-ebfc980008c6/", +`305-bslib-value-box` = "https://connect.posit.it/content/be516619-b5d7-4696-b606-ad12c4e7c5ec/", +`306-accordion-add-remove` = "https://connect.posit.it/content/eb32df41-40a0-4667-a6db-1b7afe6ad37a/", +`307-accordion-replace` = "https://connect.posit.it/content/6e170c7e-35e1-4da5-8d44-b405a4a913c7/", +`308-sidebar-kitchen-sink` = "https://connect.posit.it/content/73cf4634-0151-4b1a-bbfe-0c777fff7916/", +`309-flexdashboard-tabs-navs` = "https://connect.posit.it/content/af69d633-176e-44be-a42b-38e0a24589cc/", +`310-bslib-sidebar-dynamic` = "https://connect.posit.it/content/d716b61a-aa67-463e-a64b-0edfce2334b9/", +`311-bslib-sidebar-toggle-methods` = "https://connect.posit.it/content/dc20e4b8-10a8-4261-a2cb-8ea9f1900314/", +`313-bslib-card-tab-focus` = "https://connect.posit.it/content/502365aa-d050-48ed-a8f5-76324b3adb6e/", +`314-bslib-tooltips` = "https://connect.posit.it/content/85ed37f1-b999-452d-b5a3-d3e6b0ba08f2/", +`315-bslib-input-switch` = "https://connect.posit.it/content/052b5bd4-fe56-496c-a96e-a05b40be03a9/", +`900-text-jster` = "https://connect.posit.it/content/c1cdd3f7-bce0-4c79-8c81-542ddb1e897d/", +`901-button-jster` = "https://connect.posit.it/content/23b31b98-7760-496b-a9af-e55042371ace/" +), account = "carson", server = "connect.posit.it") diff --git a/R/deploy-connect-urls.R b/R/deploy-connect-urls.R index c6e8e7d175..485f29dd6d 100644 --- a/R/deploy-connect-urls.R +++ b/R/deploy-connect-urls.R @@ -1,4 +1,4 @@ -# testShinyExamples::set_public("barret", "beta.rstudioconnect.com", "APIKEY") +# shinycoreci::connect_set_public("barret", "connect.posit.it", "APIKEY") #' Make Connect Shiny applications publically available @@ -19,7 +19,7 @@ connect_set_public <- function( apps = apps_shiny, account = "barret", - server = "beta.rstudioconnect.com" + server = "connect.posit.it" ) { apps <- vapply(apps, resolve_app_name, character(1)) @@ -43,7 +43,7 @@ connect_set_public <- function( paste0("/applications/", app$id), list( id = app$id, - access_type = "all" + access_type = "logged_in" ) ) } @@ -73,7 +73,7 @@ connect_set_public <- function( connect_urls <- function( apps = apps_deploy, account = "barret", - server = "beta.rstudioconnect.com" + server = "connect.posit.it" ) { # apps_dirs <- file.path(dir, apps) apps <- vapply(apps, resolve_app_name, character(1)) diff --git a/README.Rmd b/README.Rmd index 0ad655d0fa..83ad44a6dc 100644 --- a/README.Rmd +++ b/README.Rmd @@ -74,7 +74,7 @@ Commands used to test in different situations: * R Terminal / R GUI - `shinycoreci::test_in_browser()` * (Any) Web Browser - `shinycoreci::test_in_browser()` * [shinyapps.io](http://shinyapps.io) - `shinycoreci::test_in_shinyappsio()` -* [RStudio Connect](http://beta.rstudioconnect.com) - `shinycoreci::test_in_connect()` +* [RStudio Connect](http://connect.posit.it) - `shinycoreci::test_in_connect()` * SSO - `shinycoreci::test_in_sso(release = "focal")` > Requires `Docker` application to be running * SSP - `shinycoreci::test_in_ssp(release = "centos7")` @@ -153,7 +153,7 @@ This repo contains several [GitHub Actions](https://github.com/features/actions) * [**Test apps:**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-test-matrix.yml) Run all automated tests (via `shiny::runTests()`). If on `main` branch, test results will be saved to `_test_results` branch. * [**Docker:**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-docker.yml) Create all SSO and SSP docker images. Docker images are hosted on [`rstudio/shinycoreci` via GitHub Packages](https://github.com/rstudio/shinycoreci/pkgs/container/shinycoreci). -* [**Deploy**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-deploy.yml): Deploy all testing apps to [shinyapps.io](shinyapps.io) and [beta.rstudioconnect.com](https://beta.rstudioconnect.com) +* [**Deploy**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-deploy.yml): Deploy all testing apps to [shinyapps.io](shinyapps.io) and [connect.posit.it](https://connect.posit.it) * [**Build results website**](https://github.com/rstudio/shinycoreci/actions/workflows/build-results.yml): Builds results for **Test apps** workflow. This workflow is called from within **Test apps**. After all tests have completed, this workflow will process all results in `_test_results` branch into static files, storing the results in `gh-pages` branch. Final website location of results: https://rstudio.github.io/shinycoreci/results/ * [**Package checks**](https://github.com/rstudio/shinycoreci/actions/workflows/R-CMD-check.yaml): There are three main tasks that this workflow achieves: 1. Creates the `website` via `{pkgdown}` diff --git a/README.md b/README.md index 2cb36c37fc..5644fbb121 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ - ## Installation @@ -27,36 +26,36 @@ pak::pkg_install("rstudio/shinycoreci") These GitHub packages will be installed to make sure the latest package development is working as expected: - - [r-lib/cachem](http://github.com/r-lib/cachem) - - [r-lib/fastmap](http://github.com/r-lib/fastmap) - - [r-lib/later](http://github.com/r-lib/later) - - [rstudio/bslib](http://github.com/rstudio/bslib) - - [rstudio/bsicons](http://github.com/rstudio/bsicons) - - [ramnathv/htmlwidgets](http://github.com/ramnathv/htmlwidgets) - - [rstudio/crosstalk](http://github.com/rstudio/crosstalk) - - [rstudio/gt](http://github.com/rstudio/gt) - - [rstudio/DT](http://github.com/rstudio/DT) - - [rstudio/dygraphs](http://github.com/rstudio/dygraphs) - - [rstudio/flexdashboard](http://github.com/rstudio/flexdashboard) - - [rstudio/fontawesome](http://github.com/rstudio/fontawesome) - - [rstudio/htmltools](http://github.com/rstudio/htmltools) - - [rstudio/httpuv](http://github.com/rstudio/httpuv) - - [rstudio/leaflet](http://github.com/rstudio/leaflet) - - [rstudio/pool](http://github.com/rstudio/pool) - - [rstudio/promises](http://github.com/rstudio/promises) - - [rstudio/reactlog](http://github.com/rstudio/reactlog) - - [rstudio/sass](http://github.com/rstudio/sass) - - [rstudio/shiny](http://github.com/rstudio/shiny) - - [rstudio/shinymeta](http://github.com/rstudio/shinymeta) - - [rstudio/shinytest](http://github.com/rstudio/shinytest) - - [rstudio/shinytest2](http://github.com/rstudio/shinytest2) - - [rstudio/shinythemes](http://github.com/rstudio/shinythemes) - - [rstudio/shinyvalidate](http://github.com/rstudio/shinyvalidate) - - [rstudio/thematic](http://github.com/rstudio/thematic) - - [rstudio/webdriver](http://github.com/rstudio/webdriver) - - [rstudio/websocket](http://github.com/rstudio/websocket) - - [ropensci/plotly](http://github.com/ropensci/plotly) - - [schloerke/shinyjster](http://github.com/schloerke/shinyjster) +- [r-lib/cachem](http://github.com/r-lib/cachem) +- [r-lib/fastmap](http://github.com/r-lib/fastmap) +- [r-lib/later](http://github.com/r-lib/later) +- [rstudio/bslib](http://github.com/rstudio/bslib) +- [rstudio/bsicons](http://github.com/rstudio/bsicons) +- [ramnathv/htmlwidgets](http://github.com/ramnathv/htmlwidgets) +- [rstudio/crosstalk](http://github.com/rstudio/crosstalk) +- [rstudio/gt](http://github.com/rstudio/gt) +- [rstudio/DT](http://github.com/rstudio/DT) +- [rstudio/dygraphs](http://github.com/rstudio/dygraphs) +- [rstudio/flexdashboard](http://github.com/rstudio/flexdashboard) +- [rstudio/fontawesome](http://github.com/rstudio/fontawesome) +- [rstudio/htmltools](http://github.com/rstudio/htmltools) +- [rstudio/httpuv](http://github.com/rstudio/httpuv) +- [rstudio/leaflet](http://github.com/rstudio/leaflet) +- [rstudio/pool](http://github.com/rstudio/pool) +- [rstudio/promises](http://github.com/rstudio/promises) +- [rstudio/reactlog](http://github.com/rstudio/reactlog) +- [rstudio/sass](http://github.com/rstudio/sass) +- [rstudio/shiny](http://github.com/rstudio/shiny) +- [rstudio/shinymeta](http://github.com/rstudio/shinymeta) +- [rstudio/shinytest](http://github.com/rstudio/shinytest) +- [rstudio/shinytest2](http://github.com/rstudio/shinytest2) +- [rstudio/shinythemes](http://github.com/rstudio/shinythemes) +- [rstudio/shinyvalidate](http://github.com/rstudio/shinyvalidate) +- [rstudio/thematic](http://github.com/rstudio/thematic) +- [rstudio/webdriver](http://github.com/rstudio/webdriver) +- [rstudio/websocket](http://github.com/rstudio/websocket) +- [ropensci/plotly](http://github.com/ropensci/plotly) +- [schloerke/shinyjster](http://github.com/schloerke/shinyjster) Tools for manual and automated testing of shiny apps. @@ -66,17 +65,17 @@ First, install the `{shinycoreci}` repo via {pak} (from instructions above). Bef Commands used to test in different situations: - - [RStudio IDE](https://rstudio.com/products/rstudio/download/#download) - `shinycoreci::test_in_ide()` - - [RStudio Cloud](http://rstudio.cloud) - `shinycoreci::test_in_ide()` - - [RStudio Server Pro](https://colorado.rstudio.com) - `shinycoreci::test_in_ide()` - - R Terminal / R GUI - `shinycoreci::test_in_browser()` - - (Any) Web Browser - `shinycoreci::test_in_browser()` - - [shinyapps.io](http://shinyapps.io) - `shinycoreci::test_in_shinyappsio()` - - [RStudio Connect](http://beta.rstudioconnect.com) - `shinycoreci::test_in_connect()` - - SSO - `shinycoreci::test_in_sso(release = "focal")` - \> Requires `Docker` application to be running - - SSP - `shinycoreci::test_in_ssp(release = "centos7")` - \> Requires `Docker` application to be running +- [RStudio IDE](https://rstudio.com/products/rstudio/download/#download) - `shinycoreci::test_in_ide()` +- [RStudio Cloud](http://rstudio.cloud) - `shinycoreci::test_in_ide()` +- [RStudio Server Pro](https://colorado.rstudio.com) - `shinycoreci::test_in_ide()` +- R Terminal / R GUI - `shinycoreci::test_in_browser()` +- (Any) Web Browser - `shinycoreci::test_in_browser()` +- [shinyapps.io](http://shinyapps.io) - `shinycoreci::test_in_shinyappsio()` +- [RStudio Connect](http://connect.posit.it) - `shinycoreci::test_in_connect()` +- SSO - `shinycoreci::test_in_sso(release = "focal")` + \> Requires `Docker` application to be running +- SSP - `shinycoreci::test_in_ssp(release = "centos7")` + \> Requires `Docker` application to be running All testing functions may be run from within the IDE (except for R Terminal / R GUI). @@ -121,10 +120,10 @@ When Windows virtual images update on GitHub Actions, the graphics device may be When contributing a testing app, try to do the following: - - Capture all the functionality with automated tests. - - Also, where possible, write “light-weight” tests (that is, try and avoid **shinytest2** `$expect_screenshot()` where possible since they are prone to false positive differences and thus have a maintenance cost). - - If the app does need manual testing, flag the testing app for manual testing with `shinycoreci::use_manual_app()`. - - Add a description to the app’s UI that makes it clear what the app is testing for. +- Capture all the functionality with automated tests. + - Also, where possible, write “light-weight” tests (that is, try and avoid **shinytest2** `$expect_screenshot()` where possible since they are prone to false positive differences and thus have a maintenance cost). + - If the app does need manual testing, flag the testing app for manual testing with `shinycoreci::use_manual_app()`. +- Add a description to the app’s UI that makes it clear what the app is testing for. Note that **shinycoreci** only supports `{testthat}` testing framework. Call `shinytest2::use_shinytest2(APP_DIR)` to use `{shinytest2}` and `{testthat}` @@ -134,9 +133,7 @@ Note that **shinycoreci** only supports `{testthat}` testing framework. Call `sh 3. **testthat**: primarily useful in combination with `shiny::testServer()` to test server-side reactive logic of the application. - - - - [See here](https://github.com/rstudio/shinycoreci-apps/blob/5691d1f4/apps/001-hello/tests/testthat/tests.R#L4) for an example. +- [See here](https://github.com/rstudio/shinycoreci-apps/blob/5691d1f4/apps/001-hello/tests/testthat/tests.R#L4) for an example. ## Pruning old git branches @@ -150,26 +147,26 @@ git fetch --prune This repo contains several [GitHub Actions](https://github.com/features/actions) workflows: - - [**Test apps:**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-test-matrix.yml) Run all automated tests (via `shiny::runTests()`). If on `main` branch, test results will be saved to `_test_results` branch. - - [**Docker:**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-docker.yml) Create all SSO and SSP docker images. Docker images are hosted on [`rstudio/shinycoreci` via GitHub Packages](https://github.com/rstudio/shinycoreci/pkgs/container/shinycoreci). - - [**Deploy**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-deploy.yml): Deploy all testing apps to [shinyapps.io](shinyapps.io) and [beta.rstudioconnect.com](https://beta.rstudioconnect.com) - - [**Build results website**](https://github.com/rstudio/shinycoreci/actions/workflows/build-results.yml): Builds results for **Test apps** workflow. This workflow is called from within **Test apps**. After all tests have completed, this workflow will process all results in `_test_results` branch into static files, storing the results in `gh-pages` branch. Final website location of results: - - [**Package checks**](https://github.com/rstudio/shinycoreci/actions/workflows/R-CMD-check.yaml): There are three main tasks that this workflow achieves: - 1. Creates the `website` via `{pkgdown}` - 2. Performs `routine` procedures like making sure all documentation and README.md is up to date - 3. Performs `R CMD check` on `{shinycoreci}`, across macOS, Windows, and Ubuntu (multiple R versions). - - [**Update app deps**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-deps.yml): Updates known dependencies of all Shiny applications in `./inst/apps`. - - [**Trim old branches**](https://github.com/rstudio/shinycoreci/actions/workflows/trim-old-branches.yml): The current data model of **Test apps** workflow is to create many `gha-**` branches containing the changes of each test run on `main`. `gha-**` branches that have been stale for more than a week are removed. +- [**Test apps:**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-test-matrix.yml) Run all automated tests (via `shiny::runTests()`). If on `main` branch, test results will be saved to `_test_results` branch. +- [**Docker:**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-docker.yml) Create all SSO and SSP docker images. Docker images are hosted on [`rstudio/shinycoreci` via GitHub Packages](https://github.com/rstudio/shinycoreci/pkgs/container/shinycoreci). +- [**Deploy**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-deploy.yml): Deploy all testing apps to [shinyapps.io](shinyapps.io) and [connect.posit.it](https://connect.posit.it) +- [**Build results website**](https://github.com/rstudio/shinycoreci/actions/workflows/build-results.yml): Builds results for **Test apps** workflow. This workflow is called from within **Test apps**. After all tests have completed, this workflow will process all results in `_test_results` branch into static files, storing the results in `gh-pages` branch. Final website location of results: +- [**Package checks**](https://github.com/rstudio/shinycoreci/actions/workflows/R-CMD-check.yaml): There are three main tasks that this workflow achieves: + 1. Creates the `website` via `{pkgdown}` + 2. Performs `routine` procedures like making sure all documentation and README.md is up to date + 3. Performs `R CMD check` on `{shinycoreci}`, across macOS, Windows, and Ubuntu (multiple R versions). +- [**Update app deps**](https://github.com/rstudio/shinycoreci/actions/workflows/apps-deps.yml): Updates known dependencies of all Shiny applications in `./inst/apps`. +- [**Trim old branches**](https://github.com/rstudio/shinycoreci/actions/workflows/trim-old-branches.yml): The current data model of **Test apps** workflow is to create many `gha-**` branches containing the changes of each test run on `main`. `gha-**` branches that have been stale for more than a week are removed. ### Trigger There are a handful of methods that can be called to trigger the GHA actions. - - `shinycoreci::trigger_tests()`: Trigger the **Test apps** workflow. - - `shinycoreci::trigger_docker()`: Trigger the **Docker** workflow. - - `shinycoreci::trigger_deploy()`: Trigger the **Deploy** workflow. - - `shinycoreci::trigger_results()`: Trigger the **Build results website** workflow. - - `shinycoreci::trigger(event_type=)`: Sends a custom event to the GHA workflow. For example, this can be used to trigger **Trim old branches** with `shinycoreci::trigger("trim")`. +- `shinycoreci::trigger_tests()`: Trigger the **Test apps** workflow. +- `shinycoreci::trigger_docker()`: Trigger the **Docker** workflow. +- `shinycoreci::trigger_deploy()`: Trigger the **Deploy** workflow. +- `shinycoreci::trigger_results()`: Trigger the **Build results website** workflow. +- `shinycoreci::trigger(event_type=)`: Sends a custom event to the GHA workflow. For example, this can be used to trigger **Trim old branches** with `shinycoreci::trigger("trim")`. A triggered workflow will run without having to push to the repo. Anyone with repo write access can call this command. @@ -186,11 +183,11 @@ Example schedule where the workflow is run at 2am UTC Monday through Friday: Schedule of `rstudio/shinycoreci` workflows: - - 12am UTC, S-S: **Trim old branches**; \< 1 min - - 12am UTC, M-F: **Update app deps**; \< 5 mins - - 2am UTC, M-F: **Deploy apps**; \~ 2 hrs - - 3am UTC, M-F: **Docker**; \~ 1 hr - - 5am UTC, M-F: **Test apps** (Internally calls **Build results website**); \~ 4 hrs +- 12am UTC, S-S: **Trim old branches**; \< 1 min +- 12am UTC, M-F: **Update app deps**; \< 5 mins +- 2am UTC, M-F: **Deploy apps**; ~ 2 hrs +- 3am UTC, M-F: **Docker**; ~ 1 hr +- 5am UTC, M-F: **Test apps** (Internally calls **Build results website**); ~ 4 hrs ### `build-results.yml` @@ -198,29 +195,27 @@ Breakdown of what happens in the **Build results website** workflow: On completion of `apps-test-matrix.yml`… - - GHA will check out the latest `_test_results` branch into the local folder. - - GHA will check out the latest `gh-pages` branch into the `./_gh-pages` folder. - - GHA will install R and necessary package dependencies. - - Run `./build_site.R` - - Read the *modify times* of each file in `_test_results` and processing files - - Compare *modify times* to *modify times* of output files - - If any input file is newer than the output file, reprocess the documen - - If reprocessing, render `./render-results.Rmd` given proper subset of data - - Save output to \`./\_gh-pages/results/YEAR/MONTH/DAY/index.html - - Update `./_gh-pages/results/index.html` to redirect to the most recent results - - Within the `./_gh-pages` directory - - Add any files that have been altered - - Commit and push back any changes to the `gh-pages` website +- GHA will check out the latest `_test_results` branch into the local folder. +- GHA will check out the latest `gh-pages` branch into the `./_gh-pages` folder. +- GHA will install R and necessary package dependencies. +- Run `./build_site.R` + - Read the *modify times* of each file in `_test_results` and processing files + - Compare *modify times* to *modify times* of output files + - If any input file is newer than the output file, reprocess the documen + - If reprocessing, render `./render-results.Rmd` given proper subset of data + - Save output to \`./\_gh-pages/results/YEAR/MONTH/DAY/index.html + - Update `./_gh-pages/results/index.html` to redirect to the most recent results +- Within the `./_gh-pages` directory + - Add any files that have been altered + - Commit and push back any changes to the `gh-pages` website Final results are available at: # FAQ: - - If you run into an odd `{pak}` installation issue: - - Run `pak::cache_clean()` to clear the cache and try your original command again - - Installing on fresh linux? Run these commands before testing: - - +- If you run into an odd `{pak}` installation issue: + - Run `pak::cache_clean()` to clear the cache and try your original command again +- Installing on fresh linux? Run these commands before testing: ``` r pkgs <- c('base64enc', 'bslib', 'Cairo', 'clipr', 'curl', 'dbplyr', 'DiagrammeR', diff --git a/inst/apps/000-all/app.R b/inst/apps/000-all/app.R index 654a57c627..72c457bb43 100644 --- a/inst/apps/000-all/app.R +++ b/inst/apps/000-all/app.R @@ -12,7 +12,7 @@ # shinyApp(ui, server) # This app is very similar to 000-manual, any changes here should be made there -if (grepl("beta.rstudioconnect.com", Sys.getenv("CONNECT_SERVER", "not-found"), fixed = TRUE)) { +if (grepl("connect.posit.it", Sys.getenv("CONNECT_SERVER", "not-found"), fixed = TRUE)) { message("On Connect!") shinycoreci:::test_in_connect_app(app_name = "001-hello", apps = shinycoreci:::apps_deploy) } else if (grepl("shinyapps", Sys.getenv("R_CONFIG_ACTIVE", "not-found"))) { diff --git a/inst/apps/000-manual/app.R b/inst/apps/000-manual/app.R index 396d5b65be..97bacfe328 100644 --- a/inst/apps/000-manual/app.R +++ b/inst/apps/000-manual/app.R @@ -1,5 +1,5 @@ # This app is very similar to 001-all, any changes here should be made there -if (grepl("beta.rstudioconnect.com", Sys.getenv("CONNECT_SERVER", "not-found"), fixed = TRUE)) { +if (grepl("connect.posit.it", Sys.getenv("CONNECT_SERVER", "not-found"), fixed = TRUE)) { message("On Connect!") shinycoreci:::test_in_connect_app(app_name = "001-hello", apps = shinycoreci:::apps_manual) } else if (grepl("shinyapps", Sys.getenv("R_CONFIG_ACTIVE", "not-found"))) { diff --git a/inst/gha/data-connect-urls-update.R b/inst/gha/data-connect-urls-update.R index f9842ecfe0..bb20fadc75 100644 --- a/inst/gha/data-connect-urls-update.R +++ b/inst/gha/data-connect-urls-update.R @@ -1,7 +1,7 @@ update_connect_urls <- function( apps = shinycoreci:::apps_deploy, - account = "barret", - server = "beta.rstudioconnect.com", + account = "carson", + server = "connect.posit.it", repo_dir = "." ) { diff --git a/man/connect.Rd b/man/connect.Rd index 96fab327d9..a87941ba5b 100644 --- a/man/connect.Rd +++ b/man/connect.Rd @@ -8,13 +8,13 @@ connect_set_public( apps = apps_shiny, account = "barret", - server = "beta.rstudioconnect.com" + server = "connect.posit.it" ) connect_urls( apps = apps_deploy, account = "barret", - server = "beta.rstudioconnect.com" + server = "connect.posit.it" ) } \arguments{