Skip to content

Commit

Permalink
Adds instructions for fatal error file too big
Browse files Browse the repository at this point in the history
to the README under a header labeled "Fixing Fatal Error".

Close #356
  • Loading branch information
kellijohnson-NOAA committed May 16, 2023
1 parent b9cfc13 commit 518ff1e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ remotes::install_github("NOAA-FIMS/FIMS")
library(FIMS)
```

#### Fixing Fatal Error

Users can expect to see some derivative of the following error message in their R session if they have not yet set some flags using {withr}.
```
Fatal error: can't write <xxx> bytes to section .text of FIMS.o: 'file too big
```
You can easily fix this by running
```
withr::local_options(pkg.build_extra_flags = FALSE)
```

## Getting Help
Please report bugs along with a minimal reproducible example on github [issues](https://github.com/NOAA-FIMS/FIMS/issues)

Expand Down

0 comments on commit 518ff1e

Please sign in to comment.