basilisk.R
needs to actually create the BasiliskEnvironment
objects
#66
Labels
bug
Something isn't working
When
BASILISK_USE_SYSTEM_DIR=1
, basilisk will attempt to provision the Conda environments in the R package's installation directory at install time. This is useful in shared installations, to avoid each user provisioning their own environments; it is also helpful in situations where the filesystem is to be considered read-only after all packages are installed.System installation relies on the package's
configure
callingconfigureBasiliskEnv()
, which in turn looks atR/basilisk.R
to find the definitions of theBasiliskEnvironment
s. These definitions are retrieved and used to provision the environments before the package itself is fully installled. However, as the latest version of zellkonverter does not create the environments insideR/basilisk.R
(instead defining a function to do so), this is breaking system installations.The simple fix is to evaluate the function twice for each version inside
basilisk.R
:So that
configureBasiliskEnv()
knows what to do.The text was updated successfully, but these errors were encountered: