17,009 questions
1
vote
0
answers
28
views
How to compute QNMs using KerrQuasinormalModes.jl?
I have downloaded the package KerrQuasinormalModes.jl. I have never used Julia before, and I tried to run this package using Visual Studio Code. However, I keep encountering error messages when ...
1
vote
0
answers
76
views
Package or namespace load failed for ‘ggExtra’
I recently changed my R version (4.5.2), and I use RStudio (lastest version available). I didn't have problems when installing ggExtra. However, when I try to load ggExtra, I receive this message:
>...
Advice
0
votes
3
replies
23
views
Importing local packages in PyCharm displays an an error, but works
I have a Python package locally installed via 'pip install -e .' I can call things from that library in other projects, everything works OK.
I am working with PyCharm, and each time I start with that ...
Best practices
0
votes
4
replies
100
views
Record global state variables in R
I am trying to write an R package that uses JuliaCall to connect to a julia instance, load a julia library and call it from R (the julia library is called MAGEMin).
I therefore need to record the ...
1
vote
1
answer
128
views
How can I programmatically determine the imports for an R function?
Suppose I have a function like the below in a large R script, and I am trying to refactor it into a package to make it re-usable in other scripts:
mymean <- function(x) {
assert_that(is.numeric(...
Advice
1
vote
2
replies
74
views
Unable to download package
I have issues with downloading "@stream-io/openai-realtime-api" package in NextJS project.
Error:
enter image description here
I tried to clear cash, change registry, used "--legacy-...
Best practices
0
votes
0
replies
45
views
When packaging a bash binary produced by Bazel, do I need to keep the rlocation/data location boilerplate?
I was trying to exercise with Bazel by packaging a deb package from a collection of scripts I'm writing to automate a few tasks at work. Right now, I keep them either in /usr/local/bin or \~/.local/...
Tooling
6
votes
1
replies
1k
views
IntelliCode extensions are deprecated
The popular package "IntelliCode" is now deprecated and the replacement is "GitHub Copilot Chat". I have used both packages, the Copilot chat is just annoying to use, most of the ...
1
vote
3
answers
124
views
Building a WAR package, that can be deployed under Tomcat and can be executed in the CLI as well
I would like to create a WAR package with maven, that can be deployed under Tomcat (9 or above) and also can be executed on the command line (= CLI). I already realised to make a package, that could ...
3
votes
1
answer
95
views
Unable to install Krona package in Anaconda
I'm having issues while trying to install Krona in Anaconda. When I run this line in Anaconda Prompt:
conda install -c bioconda krona
I get this error:
InvalidArchiveError('Error with archive C:\...
Best practices
0
votes
1
replies
28
views
Using stats link functions in Rcpp
How can I use C functions from the stats package in C++ code written with Rcpp?
I'd like to use the logit link-function and link-inverse from the stats package. Since it's just two simple functions, I ...
1
vote
0
answers
132
views
Importing pyannote.audio into collab
Installation of all the packages I'm using into the collab environment worked fine
However whenever I try to run the following code cell
from pyannote.audio.pipelines.speaker_verification import ...
1
vote
1
answer
118
views
How to download an R package including all dependencies from behind a proxy server
My R (and R Studio) cannot access either the CRAN repository or any of its mirrors due to the network's proxy configuration. Though it is not possible to install a package directly with install....
2
votes
0
answers
64
views
Python package to compute ekman velocities in the water column from observations? [closed]
Is there any python package to compute ekman velocities in the water column from wind data observations? I have wind direction and velocity on an specific location and I would like to obtain a ...
0
votes
3
answers
77
views
Relative Import With Parent Package
src
testing
test.py
utils_dataset
px_chol.py
another_file.py
test.py ---> is calling a class declared in px_chol.py. therefore, it has
from utils_dataset.px_chol import CLASS_NAME declaration
...