Skip to content

A small change in S4Vectors breaks Structstrings #4

@hpages

Description

@hpages

Hi @FelixErnst,

I just made a small change in the devel branch of S4Vectors that breaks the devel branch of Structstrings, sorry!

The change is a very simple one: I replaced C callable new_DataFrame with new_DFrame. See Bioconductor/S4Vectors@f2afb3e

The fix to Structstrings is straightforward:

  1. Replace:
      PROTECT(ans = new_DataFrame("DotBracketDFrame", 
                                   vars,
                                   rownames, 
                                   nrows));
    
    with:
      PROTECT(ans = new_DFrame("DotBracketDFrame",
                               vars,
                               nrows,
                               rownames));
    
    in src/DotBracketDataFrame_class.c. Note the new order of the arguments!
  2. Replace:
        S4Vectors (>= 0.27.12),
    
    with:
        S4Vectors (>= 0.47.2),
    
    in DESCRIPTION.

I'm not submitting a PR because I noticed that Structstrings on GitHub is not in sync with Structstrings at git.bioconductor.org, so I was not sure what would happen after you merge the PR and try to push to git.bioconductor.org. May you were going to run into some conflicts?

Anyways, the fix is really simple. My advice is that you resync your GitHub repo with Structstrings at git.bioconductor.org before applying the fix. Happy to submit a PR after you've resynced. Just let me know.

Thanks,
H.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions