build_site_transects issue
- Dominant language
- R
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
This function is not being brought into memory when loading PEMsamplr. When I run the following code PEMsamplr::build_site_transects I get the following error:
"No documentation for ‘build_site_transects’ in specified packages and libraries"
I have been working around this by saving the code from git locally. Additionally, writing to layers within a geopackage gives an error on linux systems with shared memory. See this issue: https://github.com/r-spatial/sf/issues/628 this is a error on the GDAL/SQlite driver side of things. I could not find a way in specifying driver options to get around this issue - I tried several including removing locking on the database. The only work around I was able to use was to write to a temp file and copy this to the desired location.
Contributor guide
Research direction
Start by reproducing the PEMsamplr::build_site_transects lookup failure, then inspect the package entry point and the code path that writes layers to a GeoPackage. The issue also links to the sf issue about Linux shared-memory errors; compare that behavior with the reported temporary-file workaround. Done means the function is available after loading PEMsamplr and the reported GeoPackage writes work on Linux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, sqlite
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100