using_nix_shell | R Documentation |
Nix
Shellusing_nix_shell()
checks whether code is running within an
environment defined by a Nix expression.
using_nix_shell(pure = NULL)
pure |
Whether or not the environment is pure, meaning most environment variables have been cleared before the shell started. |
A logical value
# Check for Nix
using_nix_shell()
# Check for Nix in a pure environment
using_nix_shell(pure = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.