Running examples in 'aMNLFA-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: write.inp.file
> ### Title: helper function for writing out Mplus inputs
> ### Aliases: write.inp.file
> ### Keywords: MNLFA
> 
> ### ** Examples
> 
>  wd <- tempdir()
>  first<-paste0(system.file(package='aMNLFA'),"/examplefiles")
>  somestring <- as.data.frame("This is some text which would be written to an Mplus file.")
>  write.inp.file(somestring, first)
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/aMNLFA/examplefiles': Read-only file system
Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
Calls: write.inp.file -> cat -> file
Execution halted
Running examples in ‘aMNLFA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: write.inp.file
> ### Title: helper function for writing out Mplus inputs
> ### Aliases: write.inp.file
> ### Keywords: MNLFA
> 
> ### ** Examples
> 
>  wd <- tempdir()
>  first<-paste0(system.file(package='aMNLFA'),"/examplefiles")
>  somestring <- as.data.frame("This is some text which would be written to an Mplus file.")
>  write.inp.file(somestring, first)
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/aMNLFA/examplefiles': Read-only file system
Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
Calls: write.inp.file -> cat -> file
Execution halted
Namespaces in Imports field not imported from:
  ‘devtools’ ‘dplyr’ ‘gridExtra’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘devtools’ ‘dplyr’ ‘gridExtra’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  'devtools' 'dplyr' 'gridExtra'
  All declared Imports should be used.
Running examples in ‘aMNLFA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: write.inp.file
> ### Title: helper function for writing out Mplus inputs
> ### Aliases: write.inp.file
> ### Keywords: MNLFA
> 
> ### ** Examples
> 
>  wd <- tempdir()
>  first<-paste0(system.file(package='aMNLFA'),"/examplefiles")
>  somestring <- as.data.frame("This is some text which would be written to an Mplus file.")
>  write.inp.file(somestring, first)
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/aMNLFA/examplefiles': Read-only file system
Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
Calls: write.inp.file -> cat -> file
Execution halted
Running examples in ‘aMNLFA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: write.inp.file
> ### Title: helper function for writing out Mplus inputs
> ### Aliases: write.inp.file
> ### Keywords: MNLFA
> 
> ### ** Examples
> 
>  wd <- tempdir()
>  first<-paste0(system.file(package='aMNLFA'),"/examplefiles")
>  somestring <- as.data.frame("This is some text which would be written to an Mplus file.")
>  write.inp.file(somestring, first)
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/aMNLFA/examplefiles': Read-only file system
Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
Calls: write.inp.file -> cat -> file
Execution halted
Namespaces in Imports field not imported from:
  ‘devtools’ ‘dplyr’ ‘gridExtra’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘devtools’ ‘dplyr’ ‘gridExtra’
  All declared Imports should be used.
Namespaces in Imports field not imported from:
  ‘devtools’ ‘dplyr’ ‘gridExtra’
  All declared Imports should be used.