Skip to content

Add test/tryCatch for connecting to network drives #5

Description

@jonbry

We have tryCatch for connecting to other databases, but nothing for connecting to network drives:

pwd_parcels_sf <- st_read(dsn = "\\\\pwdoows\\oows\\Watershed Sciences\\GSI Monitoring\\09 GIS Data\\PWD_PARCELS ", layer = "PWD_PARCELS")%>%

Since this can cause the script to fail, we should probably either test to make sure we can connect or wrap it in a tryCatch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions