Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bringing Procrastination to Stata: new SSC commands chesspuzzle and chesspos

    [Installation does not work at the moment.]

    Dear All,

    I have written two ados, that are now up on the SSC (thanks to Kit Baum, as always). The first one, chesspos, will plot any position that is given in FEN notation (https://en.wikipedia.org/wiki/Forsyth–Edwards_Notation). The second one, chesspuzzle, will let you solve small chess puzzles (mate in two) from a set of historical games. Installing the latter will automatically install the former, but not the other way round.

    Any feedback is welcome!

    All best,
    Dominik
    Last edited by Dominik Fluegel; 05 Dec 2022, 03:15.

  • #2
    Code:
    . ssc install chesspuzzle
    checking chesspuzzle consistency and verifying not already installed...
    file http://fmwww.bc.edu/repec/bocode/c/chesspuzzle.ado not found
    could not copy http://fmwww.bc.edu/repec/bocode/c/chesspuzzle.ado
    (no action taken)
    
    ssc install: apparent error in package file for chesspuzzle; please notify [email protected], providing package name
    r(601);

    Comment


    • #3
      The error on REPEC has been fixed and installing via "ssc install ..." now works, thanks for pointing it out!

      Comment


      • #4
        Yes, I can confirm it installs now. But here is what happens next:
        Code:
        . chesspuzzle
        Siegen", "_", " invalid name
        r(198);
        . chesspuzzle
        Lucerne", "_", " invalid name
        r(198);
        . chesspuzzle
        Koszalin", "_", " invalid name
        r(198);
        Last edited by Hemanshu Kumar; 05 Dec 2022, 07:37.

        Comment


        • #5
          There is an = sign missing in line 249 of chesspuzzle.ado in front of subinstr().
          https://www.kripfganz.de/stata/

          Comment


          • #6
            Thank you, Hermanshu and Sebastian! The bug has been fixed and a new version of the package is available from the SSC.

            Comment

            Working...
            X