Giter Site home page Giter Site logo

public-health-scotland / technical-docs Goto Github PK

View Code? Open in Web Editor NEW
4.0 10.0 2.0 404 KB

Technical documentation, including guidance and best practice for Public Health Scotland (PHS)

Home Page: https://public-health-scotland.github.io/knowledge-base/docs

data-science documentation git github python r

technical-docs's Introduction

Technical Documentation and Guidance for Public Health Scotland (PHS)

An open-source repository of technical documentation for Public Health Scotland (PHS) staff in data and technical roles. This provides the back-end for the PHS Data Science Knowledge Base Documentation Pages. As a core utility for our data and technical teams, we have made this repository public to allow for collaboration and contributions from the wider community. Supporting tools and templates are available to support this, see the contributing guidance for more detail.

technical-docs's People

Contributors

rmccreath avatar r6lm avatar terrymclaughlin avatar jfix89 avatar moohan avatar elizabeth-richardson avatar mgannon99 avatar alasdairgm avatar clivewg avatar tina815 avatar

Stargazers

 avatar Cate Atkins avatar  avatar  avatar

Watchers

Bob Taylor avatar Jonathan Minton avatar  avatar David A McAllister avatar Kelvin Ezeh avatar Julian Augley avatar Beata Nowok avatar  avatar Evelyn Shiel avatar Bev Dodds avatar

Forkers

moohan oldslackey

technical-docs's Issues

REQ - Addition of new user process

Is your feature request related to a problem? Please describe.
The process to gain access to Posit Workbench for a new user is not documented, this has led to miscommunication and requests coming directly to the Data Science team.

Describe what you'd like
Documentation should be written that outlines the process for new users to gain access to Posit Workbench.

BUG - {qs} write minimum time is incorrect

Describe the Bug
The minimum time reported to write 1 million rows from the SMR01 dataset to the Stats server using the {qs} package is incorrect in the table at https://github.com/Public-Health-Scotland/technical-docs/blob/main/Posit%20Infrastructure/Recommended%20Data%20Flow%20with%20Stats.md#writing-to-stats

Link or Steps to Reproduce
https://github.com/Public-Health-Scotland/technical-docs/blob/main/Posit%20Infrastructure/Recommended%20Data%20Flow%20with%20Stats.md#writing-to-stats

Suggested Solution or Expected Behaviour
The time should be 46.9 seconds

Additional context
None required.

REQ - Further guidance for opening projects

Is your feature request related to a problem? Please describe.
The original guidance documentation does not include the issue with File > Recent Projects..

Describe what you'd like
A clear and concise description of this issue together with an image.

Describe alternatives you've considered
No alternatives.

File recent projects from main menu in Posit Workbench

REQ - Recommended packages for Excel

https://github.com/Public-Health-Scotland/technical-docs/blob/7bfaa04e28cc9bdeba61f1b181f99c463e8544e4/R/Recommended%20R%20Packages.md?plain=1#LL15

The current recommendation openxlsx has lots of great features but really isn't the easiest to use, not least because the functions are quite inconsistent and the documentation is sometimes misleading.

I think better recommendations would be readxl for reading Excel files a writexl for writing. These are both much smaller, simpler packages and part of well respected ecosystems (tidyverse and R Open Sci) respectively.

I would only recommend using openxl when wanting to format the output. I think it's worth keeping an eye one openxlsx2 which isn't currently stable but aims to replicate the functionality but using programming flows like pipes - which would obviously fit much better with the PHS code style (tidyverse).

REQ - Simplify Geospatial install + updating

Is your feature request related to a problem? Please describe.
The geospacial guidance is great but suggests installing specific versions of packages which may not be necessary. Related, there is no guidance on how to update packages (for those where we don't have to stick to a specific version.

Describe what you'd like
Simplify the Geospacial guidance by:

  1. Check which packages can just install the latest versions and simplify the code accordingly. - I just tested raster and the latest version seems fine but with terra it isn't...
  2. Make the ncpus code optional. Rather than having Ncpus = ncpus in every install chunk, include options(Ncpus = as.numeric(parallelly::availableCores())) in guidance (could be added to Rprofile).
  3. Confirm that the additional configure.args and INSTALL_opts are strictly necessary for each install and remove them to simplify the code if not.

Add a section on updating geospacial packages. This might be: packages x and y can't be updated as you have to use version x.x but reuse the code for z to update it to the latest version...

Additional context
I'd be happy to come back to this and do a PR at some point but don't have time to do the required testing just now!

FAQ - Why can't I install {xlsx}?

What technology is the question related to?
Posit Workbench

Question:
Why can't I install {xlsx}?

Answer:
Point to existing content about packages that use Java and suggest {openxlsx} as a viable alternative.

Additional context
Imported from legacy FAQs in Teams channel.

FAQ - How do I install the {ranger} package?

What technology is the question related to?
R

Question:
How do I install the {ranger} package?

Answer:
The default configurations in R do not allow the {ranger} package to compile and install successfully. The developers of the {ranger} package switched the project to using C++14 in version 0.14.2 of the package.  R itself should default to C++14 from version 4.1.0 onwards (we have 4.1.2), unless the package specifies C++11.  It turns out the makevars for {ranger} specify C++11, even though it's meant to be compiled with C++14.  The fix is to add the line

CXX = g++ -std=gnu++14

to the file ~/.R/Makevars which then overrides the C++11 that {ranger} specifies.

Additional context
There's an issue open for this at compilation failed for package ‘ranger’ · Issue #669 · imbs-hl/ranger (github.com)

REQ - Guidance on writing R code that will run in parallel

For example:

  • Explain single-threaded vs multi-threaded and what parallel processing is
  • Explore the futureverse! 🚀
    • Correctly identifying the number of CPUs available to use the session with {parallelly}
    • Write functions and interate using the {furrr} package, rather than {purrr}
  • Use the {multidplyr} backend with {dplyr}

Other useful links:

REQ - Guidance on using passwords in scripts with keyring

Is your feature request related to a problem? Please describe.
Guidance was previously provided in the FAQs in the PHS Data and Intelligence Forum Teams channel but the script 'how_to_set_keyring.R' is no longer available.

Describe what you'd like
If the missing script can be tracked down, the contents should be copied into a new document in the Knowledge Base to make this guidance available.

FAQ - Where are all my packages?

What technology is the question related to?
Infrastructure / R

Question:
Where are all my packages?

Additional context
With the new infrastructure, the mental model some have may cause issues when understanding how packages work across systems. As such, people may not understand where their previously installed packages now are.

REQ - Using METACRAN to find the most recent version of a package compatible with the R version that you are using

Is your feature request related to a problem? Please describe.
I am regularly contacted by R users who are stuck when they receive an error message such as package ‘RODBC’ is not available (for R version 3.6.1) and don't know how to resolve this error.

Describe what you'd like
Documentation that sets out a process to follow to identify the most recent version of a package compatible with the R version that you are using (using the METACRAN website at https://github.com/cran/RODBC/blame/master/DESCRIPTION - replace "RODBC" with the name of the package that is needed), and how to then install this version.

Describe alternatives you've considered
I'm not aware of any alternatives.

Additional context
None.

FAQ - Prevent sessions from going to sleep

What technology is the question related to?
Posit Workbench

Question:
How do I prevent my browser from causing my session to pause / go to sleep.

Answer:
Change settings in browser.

Additional context
Add any other context.

REQ - Archive content from old FAQs on Teams in case needed in the future

Relevant content from old FAQs below:

devtools (and usethis)

Current versions will not install, root cause seems to be to be libgit2 not being installed on server. Some discussion on Teams here and here. Workaround is to install usethis 1.6.3 (to avoid problematic dependency on gert) then devtools 2.3.2 (to stay compatible with usethis 1.6.3):
usethis_url = "https://cran.r-project.org/src/contrib/Archive/usethis/usethis_1.6.3.tar.gz"
install.packages(usethis_url, repos = NULL, type="source")

devtools_url = "https://cran.r-project.org/src/contrib/Archive/devtools/devtools_2.3.2.tar.gz"
install.packages(devtools_url, repos = NULL, type="source")

Other dependencies will not be installed automatically, but these can be installed normally if needed (I had to install git2r and covr).

Creating shared folders with correct group permissions

The current advice from Chin Seran (DAS) is that R is not accepting the system wide umask setting so if one team member creates a sub-folder using R it will not inherit the correct permissions from the folder above, which may prevent others in the team using the contents or writing to it.
In order to fix this, before creating the new folder set
Sys.umask("002")

To view all folder permissions:

library(dplyr)
library(tibble)

folders <- as_tibble(list.dirs(".", full.names = TRUE, recursive = TRUE)) %>%
mutate(mode = file.info(value)$mode)

View(folders)

To view all file permissions:
files <- as_tibble(list.files(".", all.files = TRUE, full.names = TRUE, recursive = TRUE)) %>%
mutate(mode = file.info(value)$mode)

View(files)

Example – used to create a sub-folder with permissions drwxrws---

library(dplyr)

Sys.umask("002") # used to ensure directory permissions are correct

cut_off_date <- as.Date("2022-01-01") # latest published date

#set output folder for charts

chart_path <- paste0("./charts/", cut_off_date)

#create new output folder (if folder already exists don't do anything)

if (!dir.exists(chart_path)) {
dir.create(chart_path, showWarnings = TRUE, recursive = FALSE, mode = "770")
}

#to check individual folder permissions

file.info(chart_path)$mode

Note: this does not change any other folder permissions. This involves the Sys.chmod command, proceed with caution.
For more information regarding chmod values see https://chmodcommand.com/

BUG - Process to open a "NIGHT" project

Describe the Bug
Including the word "NIGHT" in a project's name is not required to override the automated process that closes sessions in Posit Workbench at 9pm every evening.

Link or Steps to Reproduce
@r6lm has investigated and realised that when you follow the instructions on opening projects which is currently in the guidance of the NIGHT tag, you still have to choose the name of the session. Therefore, it is there where you can set the NIGHT tag on the name. Hence, there is no need of the NIGHT tag on the name of the Project

Suggested Solution or Expected Behaviour
Remove the section entitled 'Process to open a "NIGHT" project'.

Additional context
None.

BUG - Geospatial advice is out of date

The Geospatial packages installation advice is out of date, as it references {rgdal} which has now been retired from CRAN. This doc needs to be reviewed to remove instructions for the obsolete/unavailable packages and make sure the other instructions work (e.g. leaflet >= 2.2.0 is needed as older versions depend on rgdal etc.)

If keeping instructions so that the packages can be installed to run legacy code, the doc at least needs restructuring to make it clear that the older packages / versions should only be installed in exceptional circumstances.

REQ - How do I find out the Session ID of my Posit Workbench session?

Is your feature request related to a problem? Please describe.
The Posit Programme would like to capture greater detail about the issues that users are experiencing with Posit Workbench. One such detail is the Session ID of the user's Posit Workbench session. It is not obvious to the user how to find out the Session ID.

Describe what you'd like
Clear and concise, step-by-step instructions that a Posit Workbench user can follow to find out the Session ID of their session.

Describe alternatives you've considered
There are no alternatives.

Additional context
None.

REQ - Documentation on the use of 'renv' for reproducible environments in R

Is your feature request related to a problem? Please describe.
Documentation is required on the use of 'renv' for reproducible environments in R

Describe what you'd like
Guidance, best practice and links to documentation on Reproducible Analytics, environments, 'renv'.

Describe alternatives you've considered
None

Additional context
Requested via the Posit Technical Group

FAQ - How can I schedule R scripts with cron in Posit Workbench?

What technology is the question related to?
Infrastructure

Question:
How can I schedule R scripts with cron in Posit Workbench?

Answer:
Cron is not supported in the Posit Workbench environment. The Data Science team are currently testing an alternative scheduling solution, and in the future, Posit Connect will also provide scheduling functionality.

Additional context
A large number of users are asking how they can schedule R scripts to run at specific points in the day or during the night.

REQ - add FAQ contents and links

Is your feature request related to a problem? Please describe.
FAQs are useful for short-form guidance and sharing of requirements, however, as more questions and answers are added, the harder it is to find the related question (or if it exists).

Describe what you'd like

  • Add a contents list with linkage to document sections at the top of the document. This will allow users to quickly scan the questions that are available and then immediately direct themselves to the answer. Additionally, this won't interfere with any existing methods users have, such as Ctrl/Cmd + F.

Describe alternatives you've considered
Alternatives considered introduce significantly more technical complexity, e.g. adding in focussed search, or rely on human intervention, e.g. a support desk.

BUG - Change wording on using RDS file format as not for R only

Describe the Bug
In the #pick-good-file-formats-for-storing-data section, using .RDS files are stated to only work within R. This isn't the case as this link explains it can also be used within Tableau: https://help.tableau.com/current/pro/desktop/en-us/examples_statfile.htm

Originally identified by @oldSlackey

Link or Steps to Reproduce
https://github.com/Public-Health-Scotland/technical-docs/blob/main/Posit%20Infrastructure/Best%20Practice%20with%20R%20in%20Posit%20Workbench.md#pick-good-file-formats-for-storing-data

Suggested Solution or Expected Behaviour
Change the text to better explain the use of .RDS files across other technologies.

REQ - Advice on migrating geospatial projects / code due to rgdal being retired

A doc that will be a counterpart to the geospatial install advice that essentially reproduces this blog - https://www.r-bloggers.com/2023/06/upcoming-changes-to-popular-r-packages-for-spatial-data-what-you-need-to-do/

  • Short background of the issue
  • How to swap code i.e. like for like function / package replacements
  • New packages (and versions) that should be used / packages (or older versions of packages) that shouldn't be used.

FAQ - Can a folder on the stats area be accessed from the server?

What technology is the question related to?
Posit Workbench

Question:
Can a folder on the stats area be accessed from the server?

Answer:
New directories on stats need to be mounted in order for Posit to access them. Point users towards Service Now and suggest that they raise a call to have this done.

Additional context
Imported from legacy FAQs in Teams channel.

FAQ - Update geospatial package installation guidance RE leaflet

What technology is the question related to?
Posit Workbench - geospatial packages

Question:
Installation of leaflet geospatial package failing.

Answer:
Update guidance on geospatial package installation and signpost these new changes. I've noticed that some analysts are working with out-of-date guidance, and an updated version of the the leaflet package has been released since the guidance was last revised, meaning that installation is failing in many cases without a workaround.

Additional context
Add any other context.

REQ - Update geospatial package installation documentation

Is your feature request related to a problem? Please describe.
Existing guidance and code for installing geospatial packages causing installation to fail

Describe what you'd like
Update guidance on geospatial package installation and signpost these new changes. I've noticed that some analysts are working with out-of-date guidance, and an updated version of the the leaflet package has been released since the guidance published on the Knowledge Base was last revised, meaning that installation is failing in many cases without a workaround.

Describe alternatives you've considered

Additional context

FAQ - Why can't I install any packages?

What technology is the question related to?
Posit Workbench

Question:
Why can't I install any packages?

Answer:
Point users towards Service Now and suggest that they raise a ticket to have their cache cleared.

Additional context
Imported from legacy FAQs in Teams channel.

REQ - Guidance on the browser refresh button

Is your feature request related to a problem? Please describe.

I'm always frustrated when I request a new Posit Workbench session, and after 2 minutes of waiting for my session to start, I get a Status code 502/504 error e.g.

image

I click the OK button, nothing happens and I have to start over.

Describe what you'd like
A clear and concise description of a workaround to this problem and a high-level, easy to understand explanation of why I get these errors.

Describe alternatives you've considered
NSS DaS are investigating whether there are configuration changes that can be made to the Posit Workbench environment so that this doesn't happen, but until a solution is found, the browser refresh button workaround is needed.

Additional context
This was raised by colleagues on the Posit Technical Group as a significant pain point for users, and that many people are not aware of the workaround.

REQ - Collect existing documentation

Is your feature request related to a problem? Please describe.
Documentation related to data science and broader technical guidance has been developed and submitted across repositories on the PHS GitHub organisation, and potentially in other places entirely. As the documentation page on the PHS Data Science Knowledge Base requires a single source, this repo has been identified as that.

Describe what you'd like
Having multiple sources of the same documentation is not maintainable. Therefore, a requirement to collect these files and submit them in one place is required. This repo has been identified as that place and with appropriate supporting mechanisms can ensure a sustainable process for maintaining existing and developing new guidance.

It is not feasible to maintain individual document history, however. As such, this point will see a fresh start for these documents but unfortunately lose information as part of the process. Additionally, during the transition phase, the documentation won't be removed as existing links would break, causing problems for users. As such, as part of this process, the existing repos should be locked from having further changes, any issues transferred, and a note on the documentation and repo added to state what change has occurred.

FAQ - Why can't I access databases from Posit Workbench?

What technology is the question related to?
Posit Workbench

Question:
Why can't I access databases from Posit Workbench?

Answer:
Include high-level troubleshooting list (e.g. has access to data already been requested and approved?). Suggest Service Now as a last resort.

Additional context
Imported from legacy FAQs in Teams channel

REQ - Add Shiny deployment guidance

Describe what you'd like
Shiny deployment guidance already exists but was stored using Microsoft Teams Wiki functionality. As this is now no longer available, the need for another place to reference this is urgent. Shiny deployment guidance is required for existing and new users to understand the process, ensuring governance is followed, for deploying Shiny apps on shinyapps.io.

REQ - Dashboard accessibility guidance

Describe what you'd like
The web and publications team have developed guidance for developing accessible dashboards. This is relevant guidance that makes sense to share alongside other technical documentation including direct development tools and requirements, such as testing tools, regulatory requirements, coding tips, and other development guidance. After checking with the team, they're happy for the format of this document to be changed to allow it to be shared here.

Describe alternatives you've considered
The guidance will also be shared on the Spark, however, being transparent and utilising an open forum where other technical documentation exists will benefit both internal developers of dashboards and also the wider community and general transparency principles put forward by the Code of Practice.

REQ - Guidance on suspending sessions with VSCode and Jupyter sessions in Posit Workbench

Is your feature request related to a problem? Please describe.
VSCode and Jupyter sessions in Posit Workbench do not suspend automatically.

Describe what you'd like
Guidance is required for users on how to ensure these sessions are closed when they are no longer required, and the reasons why this is important.

Describe alternatives you've considered
Considered changing settings on the infrastructure but this isn't feasible.

REQ - Guidance on the use of RStudio profiler (`profvis`)

On the Best Practice with R in Posit Workbench document, there is a lot of content on memory efficiency. I believe this can be better tackled if staff are encouraged to use the RStudio integrated profiler, profvis.

I would like to submit a pull request modifying the mentioned document, adding succinct guidance, and the link above to profvis documentation.

An alternative would be to create a separate document explaining how to use the integration of profvis in RStudio, but I believe with the content available in the package documentation, it is enough.

REQ - Guidance on preventing overnight sessions being automatically closed

Is your feature request related to a problem? Please describe.
An automated process has been put in place to close sessions in Posit Workbench at 9pm every evening. This can be prevented by including the word "NIGHT" in the session name.

Describe what you'd like
Guidance is required on how to name sessions such that they are not automatically closed at 9pm.

Describe alternatives you've considered
There are no alternatives.

Additional context
The guidance needs to include detail on how this impacts on Projects in Posit Workbench i.e. that the Project itself must have the word "NIGHT" in its name in order for a session with an open Project is not closed at 9pm.

REQ - Guidance on when to use GitHub and when to use PHS Gitea for code repositories

Is your feature request related to a problem? Please describe.

There is currently no good practiice guidance on when PHS analysts should host code in repositories on GitHub and when they should use the internally hosted repositories on the Gitea for PHS platform.

Describe what you'd like

The good practice guidance could be either within existing PHS documentation on using Git and version control, or could be as a separate document.

Guidance can explain the difference between Gitea for PHS and Github and strengths and weaknesses of both.

Guidance can set out a preference for using Github, and why this is important from a transparency and open data perspective (some of this is in existing guidance) - some additional guidance would be helpful

Guidance can provide examples of when use of Gitea may be appropriate.

Guidance can be provided on how to migrate code from PHS Gitea to Github, for example where a new publication is being produced or a section is being added to a publication, how code can be migrated to Github and made public once data is published.

Guidance should not be proscriptive, but can hopefully encourage PHS analysts currently reluctant to use version control hosted on GitHub or PHS Gitea, to start using version control and hosting code on at least one of these platforms..

Guidance can enhance existing good practice; where teams are already sharing code for publications on GitHub, the guidance should not conflict with existing good practice.

Describe alternatives you've considered

Analysts use their best guess of when it is appropriate to use GitHub or Gitea for PHS.
Argument against:- This leads to inconsistency in which some PHS code is hosted on Github and some on PHS Gitea with some teams using one, and some using another. Some code is placed on the PHS Gitea and not on GitHub, and is not publicly accessible when it should be.

Analysts don't use version control at all, for code related to sensitive analysis or publications, because of concerns about hosting this code on a non-secure platform.
Argument against:- We want to encourage use of version control for all coding within PHS, without guidance on when PHS Gitea can be used, and it's advantages for more sensitive data and projects, there is a risk that analysts will choose not to use version control at all as the project is deemed 'too sensitive to go on a public platform'.

Additional context
Some PHS analysis involves analysing data related to very sensitive topics, where analyses are only published internally or only released as management information and are not published in the public domain.
In other cases initial coding work may be to create a new publication or a new section of the publication where no data is currently published in the public domain.
In these cases although, no data will be included in the code, the code itself potentially may reveal information about data held which may be sensitive, either commercially sensitive, or sensitive for various GDPR related, confidentiality and / or Information Governance reasons.

Whilst it may be possible to partition off sections of code that hold 'sensitive' material and not publish them on GitHub, this is not always practical in the initial development phase of coding, and may not be possible or practical at all, depending on the information and data analysed by code for a project or publication.

Whilst there is already some discussion of the value of publicly hosting code and making it open and transparent in existing PHS GitHub documentation, making this more explicit and emphasising the value of this further, could be helpful in encouraging all analysts, whatever project they are working on, to make code public on GitHub where possible.

Suggested example workflows for working on code on more 'sensitive' projects or for more management information or new publications, where analysts may be reluctant to host code as a public repository on GitHub could be useful.

An example could be where code is initially worked on and pushed to a repository in the internal Gitea for PHS, then either all the code (e.g. once data is published for the first time) , or some of the code - where sections of code are deemed too sensitive to share, are migrated to GitHub within an agreed time scale.

More than one example of a workflow will likely be helpful.

FAQ - Why does the {rmapshaper} package not install?

What technology is the question related to?
Infrastructure / R

Question:
Why does the {rmapshaper} package not install?

Answer:
{rmapshaper} has the dependencies {V8} and {geojsonio}, which neither NSS DaS or Jumping Rivers have been able to install successfully on the CentOS 7 container image that Posit Workbench runs in. As these dependencies cannot be installed, {rmapshaper} also fails to install. As it stands, there is no immediate solution to resolve this.

Additional context
{rmapshaper} is a geospatial package for R.

REQ - Create an RStudio directory

The Posit Infrastructure directory has some files which would suit better into an RStudio directory.

I would suggest moving "Recommendations on Global Options in Posit Workbench RStudio" and "How to Use the RStudio Profiling Tool" to a new "RStudio" directory.

Another alternative would be to rename the Posit Infrastructure to Posit Workbench. Currently, I believe there are no documents relating to Posit Package Manager or to Posit Connect.

REQ - How do I install the {gt} package?

Is your feature request related to a problem? Please describe.
When trying to use gtsave() to save a table to cl-out I get the error:
"google-chrome and chromium-browser were not found. Try setting the CHROMOTE_CHROME environment variable or adding one of these executables to your PATH."

Describe what you'd like
I'd like instructions on how to install the {gt} package successfully in Posit Workbench.

Describe alternatives you've considered
This is required for pre-existing scripts that produce routine outputs.

Additional context
I'm using R version 3.6.1; {gt} version 0.8.0 and {webshot2} 0.1.0

I didn't have this problem when using RStudio.

BUG - Service Now process for K8s profile change

Describe the Bug
The Posit Support page doesn't contain guidance on where/how to raise the profile change within Service Now.

Link or Steps to Reproduce
See https://github.com/Public-Health-Scotland/technical-docs/blob/main/Posit%20Infrastructure/Posit%20Support.md#requesting-a-change-to-your-posit-workbench-kubernetes-profile

Suggested Solution or Expected Behaviour
Add description of location and process to upload on Service Now: https://nhsnss.service-now.com/phs/

FAQ - Test

What technology is the question related to?
Infrastructure / Python / R / Version Control / Other (delete as appropriate)

Question:
Provide the high-level question that needs to be answered.

Answer:
If known, provide as much detail as possible, including external links for additional context.

Additional context
Add any other context.

FAQ - How do I stop {shiny} apps timing out prematurely?

Is your feature request related to a problem? Please describe.
Documentation is needed to advise users on how to stop Shiny apps from timing out (currently within 30s in certain cases) when run locally in Posit Workbench.

Describe what you'd like
Guidance on lines of code to add to Shiny app scripts in order to prevent this from happening (as a workaround).

Describe alternatives you've considered
None.

Additional context
There is currently a viable solution being shared among colleagues in various teams but this is yet to be documented on the Knowledge Base.

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.