Ancestors

Toot

Written by Joaquim Puig on 2024-12-12 at 09:05

I have a #rstats #terra question. I am bundling a package which needs to load some shapefiles (*.shp). Where is the preferred location for shapefiles in a package? extdata?

=> More informations about this toot | More toots from joaquimpuig@mathstodon.xyz

Descendants

Written by Bela Lugosi's Dad on 2024-12-12 at 11:15

@joaquimpuig would love to know the answer, I've been facing the same problem (although with Geopackages rather than Shapefiles)

=> More informations about this toot | More toots from jimbob@aus.social

Written by Olivier Leroy on 2024-12-12 at 11:48

@jimbob @joaquimpuig

If they are big why not s3 or any object storage?

=> More informations about this toot | More toots from defuneste@fosstodon.org

Written by Bela Lugosi's Dad on 2024-12-12 at 11:55

@defuneste @joaquimpuig is it normal to store R package data (eg. for examples) outside the package? I have to maintain that S3 storage so the package's examples still run if someone installs the archive in 10 years?

(In my case they aren't big, but I do get package build errors about invalid ASCII every time I include Geopackages, so I'm clearly doing it wrong).

=> More informations about this toot | More toots from jimbob@aus.social

Written by Ousmane Ouedraogo, Eng. on 2024-12-12 at 12:21

@jimbob @defuneste @joaquimpuig I bundled gpkg in this package and it's working. Maybe you should have a look. https://github.com/oousmane/afribat

=> More informations about this toot | More toots from oousmane@fosstodon.org

Written by Olivier Leroy on 2024-12-12 at 12:27

@jimbob @joaquimpuig yes same problem with package around API, this is a far from perfect solution but still a potential solution

=> More informations about this toot | More toots from defuneste@fosstodon.org

Written by Luke Pembleton on 2024-12-12 at 12:51

@defuneste @jimbob @joaquimpuig would something like #redivis work?

https://redivis.com

=> More informations about this toot | More toots from lwpembleton@genomic.social

Written by Joaquim Puig on 2024-12-12 at 12:57

@lwpembleton @defuneste @jimbob thanks! I will try zenodo where I already have some data.

=> More informations about this toot | More toots from joaquimpuig@mathstodon.xyz

Written by Olivier Leroy on 2024-12-12 at 13:04

@lwpembleton @jimbob @joaquimpuig yup good advice or any other academic platform that is allowing that

=> More informations about this toot | More toots from defuneste@fosstodon.org

Written by Adam H. Sparks :rstats: on 2024-12-12 at 13:23

@jimbob @defuneste @joaquimpuig that’s one I’ve struggled with too. I managed to strip out all the UTF8 chars causing it somehow….

=> More informations about this toot | More toots from adamhsparks@rstats.me

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113639053305803782
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
303.997349 milliseconds
Gemini-to-HTML Time
1.277102 milliseconds

This content has been proxied by September (3851b).