You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for your great work! Not sure if this is the right way how to suggest some future improvement in documentation. After setting up pharmpy and pharmr I tried to run a dummy example:
load_example_model('pheno') %>% fit()
Exception: "FileNotFoundError('No path to NONMEM configured in pharmpy.conf and nmfe not in PATH')"
According to the pharmpy docs ('It is possible to create an empty template configuration file using the create_default_config function.') there should be a function create_default_config which creates the config file in case it doesn't exist yet. In R however this function is named slightly different but I couldn't find a hint to that fact.
create_default_config()
Error in create_default_config() :
could not find function "create_default_config"
With the command create_config_template() it worked and I was able to run the dummy example.
I would suggest to either name the function in the pharmr environment also create_default_config() or to add a small hint in https://pharmpy.github.io/latest/configuration.html that the function in R is named create_config_template(). For me that would've helped. Thank you!
The text was updated successfully, but these errors were encountered:
Hi everyone,
thanks for your great work! Not sure if this is the right way how to suggest some future improvement in documentation. After setting up pharmpy and pharmr I tried to run a dummy example:
load_example_model('pheno') %>% fit()
Based on the docs in https://pharmpy.github.io/latest/configuration.html I tried to locate the config file.
get_config_path()
According to the pharmpy docs ('It is possible to create an empty template configuration file using the create_default_config function.') there should be a function create_default_config which creates the config file in case it doesn't exist yet. In R however this function is named slightly different but I couldn't find a hint to that fact.
create_default_config()
With the command create_config_template() it worked and I was able to run the dummy example.
create_config_template()
get_config_path()
I would suggest to either name the function in the pharmr environment also create_default_config() or to add a small hint in https://pharmpy.github.io/latest/configuration.html that the function in R is named create_config_template(). For me that would've helped. Thank you!
The text was updated successfully, but these errors were encountered: