Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to resolve the problem of running the package #1

Open
sima-njf opened this issue Dec 4, 2024 · 1 comment
Open

A way to resolve the problem of running the package #1

sima-njf opened this issue Dec 4, 2024 · 1 comment

Comments

@sima-njf
Copy link
Collaborator

sima-njf commented Dec 4, 2024

I first run these libraries:

library(tensorflow)
library(keras3)
library(reticulate)
reticulate::import("numpy")
library(epiworldR)
library(epiworldRcalibrate)
and then if you call each functions of the package it will work. I am working on how put these libraries inside the package that it doesn't need to be run by users.

@gvegayon
Copy link
Member

Interesting. We could explore the possibility of adding tensorflow and keras3 to Depends instead of Imports, in which case it has to load those packages before loading epiworldRcalibrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants