Add comprehensive GitHub Copilot instructions for teal.modules.clinical #1418
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a comprehensive
.github/copilot-instructions.md
file that provides GitHub Copilot with detailed guidance for working with the teal.modules.clinical repository.Key Features
Firm Directive: The instructions begin with a clear directive to "Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here."
Validated Commands: All build and test commands have been validated where possible:
R CMD build . --no-build-vignettes
(tested, takes <1 second, creates 860KB package).github/workflows/
filesComprehensive Coverage: The instructions include:
Critical Timing Information: All long-running operations include explicit timeout values and "NEVER CANCEL" warnings:
Repository Context: Documents the complete structure of this clinical trial data analysis package:
The instructions enable any developer to work effectively with this R package from first clone through complete validation workflows, reducing the need for additional context gathering and ensuring consistent development practices.
Fixes #1417.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cloud.r-project.org
/usr/lib/R/bin/exec/R --no-restore --no-echo --args nextArgteal.modules.clinical_0.10.0.9019.tar.gznextArg--no-examplesnextArg--no-testsnextArg--no-vignettesnextArg--no-manual
(dns block)cran.r-project.org
/usr/lib/R/bin/exec/R --no-save --no-restore -e ~n~.libPaths(c('~/R/library',~+~.libPaths()))~n~#~+~Install~+~devtools~+~first~+~~n~install.packages('devtools',~+~repos~+~=~+~'REDACTED',~+~lib~+~=~+~'~/R/library')~n~
(dns block)curl -I REDACTED
(dns block)esm.ubuntu.com
/usr/lib/apt/methods/https
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.