Comments (2)
It seems to be an OS thing indeed. On MacOS for example, file.remove()
has no problem deleting a file with an open database connection.
Based on the answer below on SO, running lsof
on the file could be one way to "manually" check for open connections on Unix systems before trying to remove the file.
https://stackoverflow.com/questions/12138260
from ukbschemas.
Going to close this - planning to migrate to GitHub Actions (per #34) and will see where that leaves us.
from ukbschemas.
Related Issues (20)
- Need examples for each of the API functions HOT 1
- ukbschemas() and load_db() return different list orders
- README issues HOT 2
- Should "recommended" table be folded into "fields" or "categories"? HOT 1
- Field properties like stability need a linked table
- After creation tables do not follow the CREATE TABLE HOT 1
- .get_schemas() shows progress bars when silent = TRUE
- Review Unix-specific file removal code (per #22)
- Tests require download of the actual schema files
- The ukbschemas_db function generates a parsing failure HOT 2
- Use on.exit() where needed to ensure connection closed HOT 1
- Error in guess_header_ HOT 6
- .tidy_schemas() does not handle missing tables
- Migrate to GitHub Actions
- Changes to data.table's fread function mean that date variables will now be imported as 'IDate' class, as opposed to 'character' class
- .tryRead() currently allows for 64-bit integers to be imported as class 'integer64', as opposed to class 'double'
- Fix singular/plural use of "schema[s]"
- Feature to load schemas without creating database HOT 2
- Category 119 is redundant
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ukbschemas.