DOI-USGS / DOI-USGS/scipiper

locate an object .rds file in the remake storr

Open
#144 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
10
Forks
12
PR merge metrics
No merged PRs in 30d

Description

```r
target_name <- 'your_target_name'
obj <- remake:::remake('remake.yml', verbose = FALSE, load_sources = FALSE, allow_missing_packages = TRUE)
rds_file <- file.path('.remake/objects/data', paste0(obj$store$objects$get_hash(target_name, 'objects'), '.rds'))
readRDS(rds_file)
```

Would be nice if this were a function in scipiper.

Contributor guide

Open the contributing guide

Research direction

Start with the supplied remake.yml example and trace how remake's storr uses get_hash() to derive the path under .remake/objects/data. Define the scipiper function around that lookup, with completion meaning it can locate the requested target's .rds file consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.