Skip to content

Workflow for Windows #237

@vjodoin1

Description

@vjodoin1

Needed to make a workflow for my windows machine.

https://niehs.github.io/amadeus/articles/protected_datasets.html mentioned no current workflow but could be developed soon.

I did not see an open ticket for it. But the following seemed to allow files to download.

WD is C:\Users\User\Documents\R\NIEHS\amadeus and had it visible from WSL /mnt/c/Users/User/Documents/R/NIEHS/amadeus.

From here the CRAN source build of sf failed on me. Leading to the following domino effect:

ERROR: dependency 'sf' is not available for package 'hydroloom'
ERROR: dependency 'sf' is not available for package 'dataRetrieval'
ERROR: dependencies 'hydroloom', 'dataRetrieval', 'sf', 'maptiles', 'mapsf'
       are not available for package 'nhdplusTools'
ERROR: dependencies 'sf', 'sftime', 'exactextractr', 'testthat', 'stars',
       'nhdplusTools', 'archive' are not available for package 'amadeus'

I ended up falling back on the Ubuntu precompiled r-cran-* packages and ended up finding out that libarchive-dev was needed for archive.

Current set up where the bug appeared most recent:

  • amadeus: 1.3.2.1
  • R: 4.3.3
  • OS: Ubuntu 24.04.2 LTS (WSL2 on Windows 11)
  • sf: 1.0.15

Happy to share more of my notes from this if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions