-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abundance_year_compare does not save #23
Comments
Cannot reproduce error!? |
Works on osx, error on win10
From: Georg ***@***.***>
Reply to: ScientiaFelis/sebmsR ***@***.***>
Date: Monday, 30 October 2023 at 17:56
To: ScientiaFelis/sebmsR ***@***.***>
Cc: Lars Pettersson ***@***.***>, Author ***@***.***>
Subject: Re: [ScientiaFelis/sebmsR] abundance_year_compare does not save (Issue #23)
Cannot reproduce error!?
—
Reply to this email directly, view it on GitHub<#23 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEVQXZHWJ3WNCI4GWXDXA63YB7L4NAVCNFSM6AAAAAA6V6EA26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVGY3DCMJRGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Not sure how to fix the win10 error. Do you have any idea of what is causing it? The font error perhaps could be fixed by having Arial installed, which it should be, then import it in R with:
And perhaps
|
Will try again. Arial is there so that shouldn’t be the problem
31 okt. 2023 kl. 08:39 skrev Georg ***@***.***>:
Not sure how to fix the win10 error. Do you have any idea of what is causing it?
The font error perhaps could be fixed by having Arial installed, which it should be, then import it in R with:
extrafont::font_import()
And perhaps
extrafont::loadfonts(device = "pdf", quiet = TRUE)
extrafont::loadfonts(device = "postscript", quiet = TRUE)
extrafont::loadfonts(device = "win", quiet = TRUE)
—
Reply to this email directly, view it on GitHub<#23 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEVQXZHRUPHHF2SPENUCRADYCCTJRAVCNFSM6AAAAAA6V6EA26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGY2TINBSGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It didn't throw the font error messages now but I believe that was because I ran sebms_species_per_sitetype_plot(year=2022) first and got the errors (of the session) there. Or - maybe not. I restarted R now and ran sebms_abundance_year_compare_plot(year = 2021:2022) but didn't get any font errors. The fonts look ok too (which they don't in the sebms_species_per_sitetype_plot() . However, on my windows machine, it writes an empty "Butterflynumber_2021" (0kB) with no suffix. I think my Mac did write a proper graph yesterday. |
Unlikely that the save fail is a mac thing. I tried testing on my laptop now but Box Sync with my R files isn't up to date so that will take a while, But it is more likely that there is a bug in that function and that I was wrong when I thought I saw it being created on my mac at home ping @ScientiaFelis |
Ok, that is odd. |
I think that the empty file actually can result from missing fonts. I will check the weeks, seems to be one week off to the right? |
Ok, yes it looks so
From: Georg ***@***.***>
Sent: den 31 oktober 2023 17:44
To: ScientiaFelis/sebmsR ***@***.***>
Cc: Lars Pettersson ***@***.***>; Author ***@***.***>
Subject: Re: [ScientiaFelis/sebmsR] abundance_year_compare does not save (Issue #23)
I think that the empty file actually can result from missing fonts.
I will check the weeks, seems to be one week off to the right?
—
Reply to this email directly, view it on GitHub<#23 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEVQXZCG2YK742UH7IENPP3YCETG3AVCNFSM6AAAAAA6V6EA26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGU4TGOJVHE>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Is this still failing @larspett ? |
No font error thrown bit does not save |
The errors are still there, 11 + 18 of them There were 11 warnings (use warnings() to see them)
|
and the png is still 0 kB |
I think it is fixed in the latest push. |
Butterflynumber is still 0 kB in latest version (1.4.7) |
I cannot see why. |
Replace : to - in file names |
when using this for 2021:2022, it displays a correct image but throws an error instead of saving the graph
![image](https://private-user-images.githubusercontent.com/19598308/279057251-875f630b-aeea-47d3-a699-549c42297811.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU4MjA0NzEsIm5iZiI6MTcyNTgyMDE3MSwicGF0aCI6Ii8xOTU5ODMwOC8yNzkwNTcyNTEtODc1ZjYzMGItYWVlYS00N2QzLWE2OTktNTQ5YzQyMjk3ODExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA4VDE4MjkzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE2YzlhNTczMTc1N2YzYTE1NmI4YTAxNzNiMWNmMWFmYjllNmUwOGM2ODE5NWQ4OWU1ZTM5MjM5Y2U1YjI0OTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WON_uPJXYuhKseIo_45MJv4yM0Vzxi6zzH0uDhT0lkg)
The text was updated successfully, but these errors were encountered: